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

#include "sipAPIQtWidgets.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 59 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 86 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 98 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 618 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 303 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 146 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 59 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 127 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 65 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 46 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 45 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollerproperties.sip"
#include <qscrollerproperties.h>
#line 522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstylefactory.sip"
#include <qstylefactory.h>
#line 531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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', '_', 'M', 'e', 'n', 'u', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'R', 'e', 's', 'e', 't', 'W', 'h', 'e', 'n', 'R', 'e', 'e', 'n', 't', 'e', 'r', 'i', 'n', 'g', 'P', 'a', 'r', 'e', 'n', 't', 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', 'n', 'u', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'S', 'l', 'o', 'p', 'p', 'y', 'S', 'e', 'l', 'e', 'c', 't', 'O', 't', 'h', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', 's', 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', '_', 'M', 'e', 'n', 'u', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'D', 'o', 'n', 't', 'S', 't', 'a', 'r', 't', 'S', 'l', 'o', 'p', 'p', 'y', 'O', 'n', 'L', 'e', 'a', 'v', 'e', 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,
    'P', 'M', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 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', '_', 'M', 'e', 'n', 'u', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'U', 'n', 'i', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'F', 'a', 'i', 'l', 'C', 'o', 'u', 'n', 't', 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,
    'P', 'M', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 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', '_', 'M', 'e', 'n', 'u', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'S', 'l', 'o', 'p', 'p', 'y', 'C', 'l', 'o', 's', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', 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', 'O', 'p', 'e', 'n', 'G', 'L', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'U', 'p', 'd', 'a', 't', 'e', 'B', 'e', 'h', 'a', 'v', 'i', '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,
    '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', '_', 'M', 'e', 'n', 'u', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'U', 'n', 'i', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 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,
    'S', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'e', 'a', 'r', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'R', '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,
    't', 'a', 'b', 'i', 'f', 'i', 'e', 'd', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 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,
    'S', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'S', 'c', 'r', 'o', 'l', 'l', 'R', 'i', 'g', 'h', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'e', 'a', 'r', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'L', 'e', 'f', 't', 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', ':', ':', 'T', 'a', 'k', 'e', 'R', 'o', 'w', 'R', 'e', 's', 'u', 'l', 't', 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', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'I', 'c', 'o', 'n', 'S', 'i', 'z', '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', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'S', 'c', 'r', 'o', 'l', 'l', 'L', 'e', 'f', 't', 'B', 'u', 't', 't', 'o', 'n', 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,
    'r', 'e', 's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'o', 'd', 'e', 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', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'T', 'a', 'b', 'T', 'e', 'a', 'r', 'R', 'i', 'g', 'h', 't', 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', 'T', 'a', 'b', 'T', 'e', 'a', 'r', 'L', 'e', 'f', 't', 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', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', '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,
    'r', 'e', 's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', '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', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'o', 'd', 'e', 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', 'l', 'e', 'c', 't', 'e', 'd', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'i', 'l', 't', 'e', 'r', 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', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'S', 'i', 'z', 'e', 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', '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,
    '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', 'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'T', 'a', 'b', 'N', 'a', 'm', 'e', 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,
    'p', 'r', 'i', 'm', 'a', 'r', 'y', 'S', 'c', 'r', 'e', 'e', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 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,
    's', 'e', 't', 'S', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 'S', 'c', 'h', 'e', 'm', 'e', 's', 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,
    'h', 'a', 's', 'T', 'a', 'b', 'l', 'e', 't', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    's', 'e', 't', 'T', 'a', 'b', 'l', 'e', 't', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 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,
    'a', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'T', 'a', 'b', 'N', 'a', 'm', 'e', 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', 'U', 'p', 'd', 'a', 't', 'e', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 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', '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,
    's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 'S', 'c', 'h', 'e', '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,
    '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,
    'w', 'h', 'e', 'e', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'L', 'i', 'n', 'e', 's', 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', '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,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'a', 'l', 'e', 't', 't', '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,
    's', 'h', 'o', 'w', 'T', 'e', 'a', 'r', 'O', 'f', 'f', 'M', 'e', 'n', 'u', 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,
    'G', 'r', 'o', 'u', 'p', 'e', 'd', 'D', 'r', 'a', 'g', 'g', 'i', 'n', 'g', 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,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 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,
    'i', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 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,
    'N', 'o', 'P', 'a', 'r', 't', 'i', 'a', 'l', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'f', 'o', 'r', 'm', 'a', 't', 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,
    '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,
    'i', 't', 'e', 'm', 'P', 'i', 'x', 'm', 'a', 'p', 'R', 'e', 'c', 't', 0,
    'd', 'r', 'a', 'w', 'I', 't', 'e', 'm', 'P', 'i', 'x', 'm', 'a', 'p', 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,
    'u', 'p', 'd', 'a', 't', 'e', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 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', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'l', 'a', 'g', 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,
    '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,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'U', 'p', 'd', 'a', 't', 'e', 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,
    '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,
    'i', 't', 'e', 'm', 'T', 'e', 'x', 't', 'R', 'e', 'c', 't', 0,
    'd', 'r', 'a', 'w', 'I', 't', 'e', 'm', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'B', 'a', 's', 'e', 'S', 't', 'y', 'l', 'e', 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,
    's', 'e', 't', 'O', 'b', 's', 'o', 'l', 'e', 't', 'e', 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,
    'Q', 'P', 'r', 'o', 'x', 'y', 'S', 't', 'y', 'l', 'e', 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,
    'r', 'e', 's', 'i', 'z', 'e', 'D', 'o', 'c', 'k', 's', 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,
    'r', 'e', 's', 'e', 't', 'C', 'l', 'e', 'a', 'n', 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,
    'i', 's', 'O', 'b', 's', 'o', 'l', 'e', 't', 'e', 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,
    'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'O', 'p', 'a', 'c', 'i', 't', 'y', 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,
    't', 'r', 'a', 'n', 's', 'p', 'o', 's', '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,
    'b', 'a', 's', 'e', 'S', 't', 'y', 'l', 'e', 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,
    '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,
    'f', 'i', 'e', 'l', 'd', 'I', 't', 'e', 'm', 0,
    'l', 'a', 'b', 'e', 'l', 'I', 't', 'e', 'm', 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,
    's', 'e', 't', 'H', 'i', 'd', 'd', 'e', 'n', 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,
    '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,
    '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,
    's', 'h', 'o', 'w', 'M', 'e', 'n', 'u', 0,
    't', 'e', 'x', 't', 'R', 'o', 'l', 'e', 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,
    '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,
    '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,
    '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,
    '_', '_', 'i', 's', 'u', 'b', '_', '_', 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,
    's', 'e', 't', 'F', 'l', 'a', 'g', 's', 0,
    'i', 's', 'H', 'i', 'd', 'd', 'e', 'n', 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,
    '_', '_', 'h', 'a', 's', 'h', '_', '_', 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,
    '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,
    't', 'a', 'k', 'e', 'R', 'o', 'w', 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,
    'p', 'i', 'c', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'M', 'o', 'd', 'e', 0,
    'p', 'a', 'i', 'n', 't', 'G', 'L', 0,
    'o', 'p', 'a', 'c', 'i', 't', 'y', 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,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 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,
    '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,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 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,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 0,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 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,
    '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,
    '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,
    '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,
    'o', 'r', 'i', 'g', 'i', 'n', 0,
    'l', 'a', 'y', 'e', 'r', 's', 0,
    's', 't', 'r', 'i', 'd', 'e', 0,
    'r', 'o', 't', 'a', 't', 'e', 0,
    'C', 'a', 'n', 'c', 'e', 'l', 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,
    'c', 'a', 'n', 'c', 'e', 'l', 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,
    'p', 'r', 'i', 'n', 't', 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,
    'N', 'o', 'n', 'e', '_', 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,
    'm', 'a', 's', 'k', 0,
    's', 'e', 't', 'Y', 0,
    's', 'e', 't', 'X', 0,
    'k', 'e', 'y', 's', 0,
    'r', 'e', 'a', 'd', 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,
    'e', 'x', 'e', 'c', 0,
    'm', 'o', 'd', '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,
    '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 346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
#include "qpywidgets_api.h"

// 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_signal_signature_t pyqt5_qtwidgets_get_signal_signature;
pyqt5_qtwidgets_update_argv_list_t pyqt5_qtwidgets_update_argv_list;
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdrawutil.sip"
#include <qdrawutil.h>
#line 730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
// These are needed by the %ConvertToSubClassCode.
#include <qgraphicsproxywidget.h>
#include <qgraphicswidget.h>
#line 4806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

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

bool sipVH_QtWidgets_214(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_213(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_212(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_211(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,const  ::QVariant& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "iiN", a0, a1, new  ::QVariant(a2), sipType_QVariant, NULL);
}

 ::QVariant sipVH_QtWidgets_210(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_209(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_208(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QRect& a1,const  ::QModelIndex& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DNN", a0, sipType_QPainter, NULL, new  ::QRect(a1), sipType_QRect, NULL, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);
}

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

bool sipVH_QtWidgets_206(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_205(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_204(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;
}

 ::QTableWidgetItem* sipVH_QtWidgets_203(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;
}

void sipVH_QtWidgets_202(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QStyleOptionViewItem*a0,const  ::QModelIndex& a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DN", a0, sipType_QStyleOptionViewItem, NULL, new  ::QModelIndex(a1), sipType_QModelIndex, NULL);
}

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

 ::QSplitterHandle* sipVH_QtWidgets_200(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_199(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_198(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_197(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_196(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;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_194(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QAbstractTextDocumentLayout::PaintContext& a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DN", a0, sipType_QPainter, NULL, new  ::QAbstractTextDocumentLayout::PaintContext(a1), sipType_QAbstractTextDocumentLayout_PaintContext, NULL);
}

int sipVH_QtWidgets_193(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QPointF& a0, ::Qt::HitTestAccuracy a1)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NF", new  ::QPointF(a0), sipType_QPointF, NULL, a1, sipType_Qt_HitTestAccuracy);

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::QRectF sipVH_QtWidgets_191(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTextFrame*a0)
{
     ::QRectF sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", a0, sipType_QTextFrame, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_189(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,int a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "iii", a0, a1, a2);
}

void sipVH_QtWidgets_188(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTextInlineObject a0,int a1,const  ::QTextFormat& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NiN", new  ::QTextInlineObject(a0), sipType_QTextInlineObject, NULL, a1, new  ::QTextFormat(a2), sipType_QTextFormat, NULL);
}

void sipVH_QtWidgets_187(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QRectF& a1, ::QTextInlineObject a2,int a3,const  ::QTextFormat& a4)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DNNiN", a0, sipType_QPainter, NULL, new  ::QRectF(a1), sipType_QRectF, NULL, new  ::QTextInlineObject(a2), sipType_QTextInlineObject, NULL, a3, new  ::QTextFormat(a4), sipType_QTextFormat, NULL);
}

void sipVH_QtWidgets_186(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QMimeData*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", const_cast< ::QMimeData *>(a0), sipType_QMimeData, NULL);
}

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

 ::QVariant sipVH_QtWidgets_183(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,const  ::QUrl& a1)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iN", a0, new  ::QUrl(a1), sipType_QUrl, NULL);

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

    return sipRes;
}

 ::QMenu* sipVH_QtWidgets_182(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_181(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_180(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;
}

void sipVH_QtWidgets_179(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDataStream& a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", &a0, sipType_QDataStream, NULL);
}

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

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

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

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

    return sipRes;
}

 ::QListWidgetItem* sipVH_QtWidgets_175(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;
}

 ::QByteArray sipVH_QtWidgets_174(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_173(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;
}

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

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

    return sipRes;
}

 ::QWidget* sipVH_QtWidgets_171(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_170(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QStyleOptionViewItem& a1,const  ::QRect& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DDN", a0, sipType_QPainter, NULL, const_cast< ::QStyleOptionViewItem *>(&a1), sipType_QStyleOptionViewItem, NULL, new  ::QRect(a2), sipType_QRect, NULL);
}

void sipVH_QtWidgets_169(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QStyleOptionViewItem& a1,const  ::QRect& a2,const  ::QString& a3)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, 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);
}

void sipVH_QtWidgets_168(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QStyleOptionViewItem& a1,const  ::QRect& a2,const  ::QPixmap& a3)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, 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);
}

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

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

void sipVH_QtWidgets_165(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QRect& a1,int a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DNi", a0, sipType_QPainter, NULL, new  ::QRect(a1), sipType_QRect, NULL, a2);
}

void sipVH_QtWidgets_164(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QMatrix4x4*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QMatrix4x4, NULL);
}

void sipVH_QtWidgets_163(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QRectF& a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DN", a0, sipType_QPainter, NULL, new  ::QRectF(a1), sipType_QRectF, NULL);
}

void sipVH_QtWidgets_162(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneHelpEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneHelpEvent, NULL);
}

void sipVH_QtWidgets_161(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneResizeEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneResizeEvent, NULL);
}

void sipVH_QtWidgets_160(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneMoveEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneMoveEvent, NULL);
}

 ::Qt::WindowFrameSection sipVH_QtWidgets_159(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;
}

void sipVH_QtWidgets_158(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QStyleOption*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QStyleOption, NULL);
}

void sipVH_QtWidgets_157(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneWheelEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneWheelEvent, NULL);
}

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

void sipVH_QtWidgets_155(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneMouseEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneMouseEvent, NULL);
}

 ::QVariant sipVH_QtWidgets_154(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;
}

void sipVH_QtWidgets_153(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneHoverEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneHoverEvent, NULL);
}

void sipVH_QtWidgets_152(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneDragDropEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneDragDropEvent, NULL);
}

void sipVH_QtWidgets_151(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsSceneContextMenuEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGraphicsSceneContextMenuEvent, NULL);
}

void sipVH_QtWidgets_150(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DDD", a0, sipType_QPainter, NULL, const_cast< ::QStyleOptionGraphicsItem *>(a1), sipType_QStyleOptionGraphicsItem, NULL, a2, sipType_QWidget, NULL);
}

bool sipVH_QtWidgets_149(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_148(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_147(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;
}

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

 ::QPainterPath sipVH_QtWidgets_145(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_144(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_143(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGraphicsEffect::ChangeFlags a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "N", new  ::QGraphicsEffect::ChangeFlags(a0), sipType_QGraphicsEffect_ChangeFlags, NULL);
}

 ::QRectF sipVH_QtWidgets_142(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;
}

 ::QGraphicsLayoutItem* sipVH_QtWidgets_141(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;
}

 ::QSizeF sipVH_QtWidgets_140(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_139(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::qreal*a0, ::qreal*a1, ::qreal*a2, ::qreal*a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

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

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

void sipVH_QtWidgets_137(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QGesture*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QGesture, NULL);
}

 ::QGestureRecognizer::Result sipVH_QtWidgets_136(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_135(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;
}

 ::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_133(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_132(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;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::QString sipVH_QtWidgets_111(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_110(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_109(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_108(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;
}

int sipVH_QtWidgets_107(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_106(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_105(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_104(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_103(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_102(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_101(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_100(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_99(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_98(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QStyle::ComplexControl a0,const  ::QStyleOptionComplex*a1, ::QPainter*a2,const  ::QWidget*a3)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "FDDD", a0, sipType_QStyle_ComplexControl, const_cast< ::QStyleOptionComplex *>(a1), sipType_QStyleOptionComplex, NULL, a2, sipType_QPainter, NULL, const_cast< ::QWidget *>(a3), sipType_QWidget, NULL);
}

 ::QRect sipVH_QtWidgets_97(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_96(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QStyle::ControlElement a0,const  ::QStyleOption*a1, ::QPainter*a2,const  ::QWidget*a3)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "FDDD", a0, sipType_QStyle_ControlElement, const_cast< ::QStyleOption *>(a1), sipType_QStyleOption, NULL, a2, sipType_QPainter, NULL, const_cast< ::QWidget *>(a3), sipType_QWidget, NULL);
}

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

 ::QPalette sipVH_QtWidgets_94(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_93(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QRect& a1,int a2,const  ::QPixmap& a3)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DNiN", a0, sipType_QPainter, NULL, new  ::QRect(a1), sipType_QRect, NULL, a2, new  ::QPixmap(a3), sipType_QPixmap, NULL);
}

void sipVH_QtWidgets_92(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)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, 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);
}

 ::QRect sipVH_QtWidgets_91(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_90(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_89(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_88(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QApplication*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QApplication, NULL);
}

 ::QAbstractItemView* sipVH_QtWidgets_87(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_86(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QRect& a1,const  ::QDate& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DNN", a0, sipType_QPainter, NULL, new  ::QRect(a1), sipType_QRect, NULL, new  ::QDate(a2), sipType_QDate, NULL);
}

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

 ::QLayoutItem* sipVH_QtWidgets_84(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_83(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_82(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QLayoutItem*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QLayoutItem, NULL);
}

 ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(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;
}

 ::QSpacerItem* sipVH_QtWidgets_80(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_79(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;
}

 ::QWidget* sipVH_QtWidgets_78(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;
}

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

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

    return sipRes;
}

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

 ::Qt::Orientations sipVH_QtWidgets_75(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;
}

 ::QAbstractSpinBox::StepEnabled sipVH_QtWidgets_74(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;
}

void sipVH_QtWidgets_73(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QString& a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", &a0, sipType_QString, NULL);

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

 ::QValidator::State sipVH_QtWidgets_72(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QString& a0,int& a1)
{
     ::QValidator::State sipRes = ( ::QValidator::State)0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "Di", &a0, sipType_QString, NULL, a1);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(FH5i)", sipType_QValidator_State, &sipRes, sipType_QString, &a0, &a1);

    return sipRes;
}

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

 ::QStyleOptionViewItem sipVH_QtWidgets_70(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;
}

void sipVH_QtWidgets_69(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::Qt::DropActions a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "N", new  ::Qt::DropActions(a0), sipType_Qt_DropActions, NULL);
}

 ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(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_67(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;
}

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

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

    return sipRes;
}

 ::QRegion sipVH_QtWidgets_65(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_64(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NN", new  ::QRect(a0), sipType_QRect, NULL, new  ::QItemSelectionModel::SelectionFlags(a1), sipType_QItemSelectionModel_SelectionFlags, NULL);
}

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

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

    return sipRes;
}

 ::QModelIndex sipVH_QtWidgets_62(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_61(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QObject*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QObject, NULL);
}

void sipVH_QtWidgets_60(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DF", a0, sipType_QWidget, NULL, a1, sipType_QAbstractItemDelegate_EndEditHint);
}

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

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

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

void sipVH_QtWidgets_56(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,int a1,int a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "Nii", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, a1, a2);
}

void sipVH_QtWidgets_55(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NNN", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, new  ::QModelIndex(a1), sipType_QModelIndex, NULL, new  ::QVector<int>(a2), sipType_QVector_1800, NULL);
}

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

 ::QModelIndex sipVH_QtWidgets_53(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_52(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NF", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, a1, sipType_QAbstractItemView_ScrollHint);
}

 ::QRect sipVH_QtWidgets_51(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;
}

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

void sipVH_QtWidgets_49(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QItemSelectionModel*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QItemSelectionModel, NULL);
}

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

void sipVH_QtWidgets_47(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWidget*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QWidget, NULL);
}

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

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

bool sipVH_QtWidgets_44(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_43(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWidget*a0,const  ::QStyleOptionViewItem& a1,const  ::QModelIndex& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DDN", a0, sipType_QWidget, NULL, const_cast< ::QStyleOptionViewItem *>(&a1), sipType_QStyleOptionViewItem, NULL, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);
}

void sipVH_QtWidgets_42(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWidget*a0, ::QAbstractItemModel*a1,const  ::QModelIndex& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DDN", a0, sipType_QWidget, NULL, a1, sipType_QAbstractItemModel, NULL, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);
}

void sipVH_QtWidgets_41(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWidget*a0,const  ::QModelIndex& a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DN", a0, sipType_QWidget, NULL, new  ::QModelIndex(a1), sipType_QModelIndex, NULL);
}

 ::QWidget* sipVH_QtWidgets_40(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_39(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;
}

void sipVH_QtWidgets_38(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0,const  ::QStyleOptionViewItem& a1,const  ::QModelIndex& a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "DDN", a0, sipType_QPainter, NULL, const_cast< ::QStyleOptionViewItem *>(&a1), sipType_QStyleOptionViewItem, NULL, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);
}

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

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_35(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QPainter, NULL);
}

 ::QPainter* sipVH_QtWidgets_34(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_33(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QByteArray& a0,void*a1,long*a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NV", new  ::QByteArray(a0), sipType_QByteArray, NULL, a1);

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtWidgets_31(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_30(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_29(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QInputMethodEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QInputMethodEvent, NULL);
}

void sipVH_QtWidgets_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QHideEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QHideEvent, NULL);
}

void sipVH_QtWidgets_27(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QShowEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QShowEvent, NULL);
}

void sipVH_QtWidgets_26(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDropEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDropEvent, NULL);
}

void sipVH_QtWidgets_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDragLeaveEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDragLeaveEvent, NULL);
}

void sipVH_QtWidgets_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDragMoveEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDragMoveEvent, NULL);
}

void sipVH_QtWidgets_23(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDragEnterEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDragEnterEvent, NULL);
}

void sipVH_QtWidgets_22(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QActionEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QActionEvent, NULL);
}

void sipVH_QtWidgets_21(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTabletEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QTabletEvent, NULL);
}

void sipVH_QtWidgets_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QContextMenuEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QContextMenuEvent, NULL);
}

void sipVH_QtWidgets_19(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QCloseEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QCloseEvent, NULL);
}

void sipVH_QtWidgets_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QResizeEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QResizeEvent, NULL);
}

void sipVH_QtWidgets_17(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QMoveEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QMoveEvent, NULL);
}

void sipVH_QtWidgets_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPaintEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QPaintEvent, NULL);
}

void sipVH_QtWidgets_15(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QFocusEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QFocusEvent, NULL);
}

void sipVH_QtWidgets_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QKeyEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QKeyEvent, NULL);
}

void sipVH_QtWidgets_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWheelEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QWheelEvent, NULL);
}

void sipVH_QtWidgets_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QMouseEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QMouseEvent, NULL);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, bool a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "b", a0);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

int sipVH_QtWidgets_6(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPaintDevice::PaintDeviceMetric a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F", a0, sipType_QPaintDevice_PaintDeviceMetric);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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


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

    {
         ::QDataStream* a0;
         ::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, Union[QColor, Qt.GlobalColor], lineWidth: int = 1, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = None)\n"
    "qDrawPlainRect(QPainter, QRect, Union[QColor, Qt.GlobalColor, QGradient], lineWidth: int = 1, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, sunken: bool = False, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = None)\n"
    "qDrawWinPanel(QPainter, QRect, QPalette, sunken: bool = False, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, sunken: bool = False, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = None)\n"
    "qDrawWinButton(QPainter, QRect, QPalette, sunken: bool = False, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, sunken: bool = False, lineWidth: int = 1, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = None)\n"
    "qDrawShadePanel(QPainter, QRect, QPalette, sunken: bool = False, lineWidth: int = 1, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, sunken: bool = False, lineWidth: int = 1, midLineWidth: int = 0, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = None)\n"
    "qDrawShadeRect(QPainter, QRect, QPalette, sunken: bool = False, lineWidth: int = 1, midLineWidth: int = 0, fill: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, sunken: bool = True, lineWidth: int = 1, midLineWidth: int = 0)\n"
    "qDrawShadeLine(QPainter, QPoint, QPoint, QPalette, sunken: bool = True, lineWidth: int = 1, midLineWidth: int = 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.9-1.i686/build/py3/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 7195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QKeyEventTransition, &sipType_QKeyEventTransition, -1, 1},
        {sipName_QUndoStack, &sipType_QUndoStack, -1, 2},
        {sipName_QAbstractItemDelegate, &sipType_QAbstractItemDelegate, 26, 3},
        {sipName_QGraphicsTransform, &sipType_QGraphicsTransform, 28, 4},
        {sipName_QCompleter, &sipType_QCompleter, -1, 5},
        {sipName_QActionGroup, &sipType_QActionGroup, -1, 6},
        {sipName_QShortcut, &sipType_QShortcut, -1, 7},
        {sipName_QButtonGroup, &sipType_QButtonGroup, -1, 8},
        {sipName_QPlainTextDocumentLayout, &sipType_QPlainTextDocumentLayout, -1, 9},
        {sipName_QGraphicsAnchor, &sipType_QGraphicsAnchor, -1, 10},
        {sipName_QFileSystemModel, &sipType_QFileSystemModel, -1, 11},
        {sipName_QGesture, &sipType_QGesture, 30, 12},
        {sipName_QApplication, &sipType_QApplication, -1, 13},
        {sipName_QLayout, &sipType_QLayout, 35, 14},
        {sipName_QDirModel, &sipType_QDirModel, -1, 15},
        {sipName_QDataWidgetMapper, &sipType_QDataWidgetMapper, -1, 16},
        {sipName_QGraphicsObject, &sipType_QGraphicsObject, 41, 17},
        {sipName_QScroller, &sipType_QScroller, -1, 18},
        {sipName_QGraphicsScene, &sipType_QGraphicsScene, -1, 19},
        {sipName_QUndoGroup, &sipType_QUndoGroup, -1, 20},
        {sipName_QMouseEventTransition, &sipType_QMouseEventTransition, -1, 21},
        {sipName_QGraphicsEffect, &sipType_QGraphicsEffect, 44, 22},
        {sipName_QWidget, &sipType_QWidget, 48, 23},
        {sipName_QStyle, &sipType_QStyle, 122, 24},
        {sipName_QAction, &sipType_QAction, 124, 25},
        {sipName_QSystemTrayIcon, &sipType_QSystemTrayIcon, -1, -1},
        {sipName_QStyledItemDelegate, &sipType_QStyledItemDelegate, -1, 27},
        {sipName_QItemDelegate, &sipType_QItemDelegate, -1, -1},
        {sipName_QGraphicsRotation, &sipType_QGraphicsRotation, -1, 29},
        {sipName_QGraphicsScale, &sipType_QGraphicsScale, -1, -1},
        {sipName_QSwipeGesture, &sipType_QSwipeGesture, -1, 31},
        {sipName_QTapGesture, &sipType_QTapGesture, -1, 32},
        {sipName_QPanGesture, &sipType_QPanGesture, -1, 33},
        {sipName_QPinchGesture, &sipType_QPinchGesture, -1, 34},
        {sipName_QTapAndHoldGesture, &sipType_QTapAndHoldGesture, -1, -1},
        {sipName_QStackedLayout, &sipType_QStackedLayout, -1, 36},
        {sipName_QFormLayout, &sipType_QFormLayout, -1, 37},
        {sipName_QBoxLayout, &sipType_QBoxLayout, 39, 38},
        {sipName_QGridLayout, &sipType_QGridLayout, -1, -1},
        {sipName_QVBoxLayout, &sipType_QVBoxLayout, -1, 40},
        {sipName_QHBoxLayout, &sipType_QHBoxLayout, -1, -1},
        {sipName_QGraphicsWidget, &sipType_QGraphicsWidget, 43, 42},
        {sipName_QGraphicsTextItem, &sipType_QGraphicsTextItem, -1, -1},
        {sipName_QGraphicsProxyWidget, &sipType_QGraphicsProxyWidget, -1, -1},
        {sipName_QGraphicsBlurEffect, &sipType_QGraphicsBlurEffect, -1, 45},
        {sipName_QGraphicsColorizeEffect, &sipType_QGraphicsColorizeEffect, -1, 46},
        {sipName_QGraphicsDropShadowEffect, &sipType_QGraphicsDropShadowEffect, -1, 47},
        {sipName_QGraphicsOpacityEffect, &sipType_QGraphicsOpacityEffect, -1, -1},
        {sipName_QDockWidget, &sipType_QDockWidget, -1, 49},
        {sipName_QProgressBar, &sipType_QProgressBar, -1, 50},
    #if QT_VERSION >= 0x050400 && defined(SIP_FEATURE_PyQt_OpenGL)
        {sipName_QOpenGLWidget, &sipType_QOpenGLWidget, -1, 51},
    #else
        {0, 0, -1, 51},
    #endif
        {sipName_QAbstractButton, &sipType_QAbstractButton, 78, 52},
        {sipName_QSplashScreen, &sipType_QSplashScreen, -1, 53},
        {sipName_QMenuBar, &sipType_QMenuBar, -1, 54},
        {sipName_QStatusBar, &sipType_QStatusBar, -1, 55},
        {sipName_QMenu, &sipType_QMenu, -1, 56},
        {sipName_QMdiSubWindow, &sipType_QMdiSubWindow, -1, 57},
        {sipName_QTabWidget, &sipType_QTabWidget, -1, 58},
    #if defined(Q_OS_MAC) && defined(SIP_FEATURE_PyQt_MacOSXOnly)
        {sipName_QMacCocoaViewContainer, &sipType_QMacCocoaViewContainer, -1, 59},
    #else
        {0, 0, -1, 59},
    #endif
        {sipName_QLineEdit, &sipType_QLineEdit, -1, 60},
        {sipName_QFrame, &sipType_QFrame, 83, 61},
        {sipName_QComboBox, &sipType_QComboBox, 105, 62},
        {sipName_QRubberBand, &sipType_QRubberBand, -1, 63},
        {sipName_QAbstractSpinBox, &sipType_QAbstractSpinBox, 106, 64},
        {sipName_QDialog, &sipType_QDialog, 111, 65},
    #if QT_VERSION >= 0x050200
        {sipName_QKeySequenceEdit, &sipType_QKeySequenceEdit, -1, 66},
    #else
        {0, 0, -1, 66},
    #endif
        {sipName_QAbstractSlider, &sipType_QAbstractSlider, 119, 67},
        {sipName_QWizardPage, &sipType_QWizardPage, -1, 68},
        {sipName_QDesktopWidget, &sipType_QDesktopWidget, -1, 69},
        {sipName_QDialogButtonBox, &sipType_QDialogButtonBox, -1, 70},
        {sipName_QToolBar, &sipType_QToolBar, -1, 71},
        {sipName_QSizeGrip, &sipType_QSizeGrip, -1, 72},
        {sipName_QSplitterHandle, &sipType_QSplitterHandle, -1, 73},
        {sipName_QTabBar, &sipType_QTabBar, -1, 74},
        {sipName_QGroupBox, &sipType_QGroupBox, -1, 75},
        {sipName_QMainWindow, &sipType_QMainWindow, -1, 76},
        {sipName_QCalendarWidget, &sipType_QCalendarWidget, -1, 77},
        {sipName_QFocusFrame, &sipType_QFocusFrame, -1, -1},
        {sipName_QCheckBox, &sipType_QCheckBox, -1, 79},
        {sipName_QRadioButton, &sipType_QRadioButton, -1, 80},
        {sipName_QPushButton, &sipType_QPushButton, 82, 81},
        {sipName_QToolButton, &sipType_QToolButton, -1, -1},
        {sipName_QCommandLinkButton, &sipType_QCommandLinkButton, -1, -1},
        {sipName_QAbstractScrollArea, &sipType_QAbstractScrollArea, 89, 84},
        {sipName_QToolBox, &sipType_QToolBox, -1, 85},
        {sipName_QSplitter, &sipType_QSplitter, -1, 86},
        {sipName_QStackedWidget, &sipType_QStackedWidget, -1, 87},
        {sipName_QLabel, &sipType_QLabel, -1, 88},
        {sipName_QLCDNumber, &sipType_QLCDNumber, -1, -1},
        {sipName_QScrollArea, &sipType_QScrollArea, -1, 90},
        {sipName_QPlainTextEdit, &sipType_QPlainTextEdit, -1, 91},
        {sipName_QGraphicsView, &sipType_QGraphicsView, -1, 92},
        {sipName_QAbstractItemView, &sipType_QAbstractItemView, 95, 93},
        {sipName_QTextEdit, &sipType_QTextEdit, 104, 94},
        {sipName_QMdiArea, &sipType_QMdiArea, -1, -1},
        {sipName_QHeaderView, &sipType_QHeaderView, -1, 96},
        {sipName_QTableView, &sipType_QTableView, 100, 97},
        {sipName_QListView, &sipType_QListView, 101, 98},
        {sipName_QTreeView, &sipType_QTreeView, 103, 99},
        {sipName_QColumnView, &sipType_QColumnView, -1, -1},
        {sipName_QTableWidget, &sipType_QTableWidget, -1, -1},
        {sipName_QListWidget, &sipType_QListWidget, -1, 102},
        {sipName_QUndoView, &sipType_QUndoView, -1, -1},
        {sipName_QTreeWidget, &sipType_QTreeWidget, -1, -1},
        {sipName_QTextBrowser, &sipType_QTextBrowser, -1, -1},
        {sipName_QFontComboBox, &sipType_QFontComboBox, -1, -1},
        {sipName_QDateTimeEdit, &sipType_QDateTimeEdit, 109, 107},
        {sipName_QSpinBox, &sipType_QSpinBox, -1, 108},
        {sipName_QDoubleSpinBox, &sipType_QDoubleSpinBox, -1, -1},
        {sipName_QDateEdit, &sipType_QDateEdit, -1, 110},
        {sipName_QTimeEdit, &sipType_QTimeEdit, -1, -1},
        {sipName_QFontDialog, &sipType_QFontDialog, -1, 112},
        {sipName_QErrorMessage, &sipType_QErrorMessage, -1, 113},
        {sipName_QMessageBox, &sipType_QMessageBox, -1, 114},
        {sipName_QProgressDialog, &sipType_QProgressDialog, -1, 115},
        {sipName_QColorDialog, &sipType_QColorDialog, -1, 116},
        {sipName_QFileDialog, &sipType_QFileDialog, -1, 117},
        {sipName_QInputDialog, &sipType_QInputDialog, -1, 118},
        {sipName_QWizard, &sipType_QWizard, -1, -1},
        {sipName_QDial, &sipType_QDial, -1, 120},
        {sipName_QScrollBar, &sipType_QScrollBar, -1, 121},
        {sipName_QSlider, &sipType_QSlider, -1, -1},
        {sipName_QCommonStyle, &sipType_QCommonStyle, 123, -1},
        {sipName_QProxyStyle, &sipType_QProxyStyle, -1, -1},
        {sipName_QWidgetAction, &sipType_QWidgetAction, -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 7368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/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 7396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
    sipType = ((sipCpp->type() == QEvent::Gesture) ? sipType_QGestureEvent : 0);
#line 7411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 7480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/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 7539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 7649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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}, 0}, sipNameNr_WizardOption, 462, slots_QWizard_WizardOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWizard__WizardStyle, {0}, 0}, sipNameNr_WizardStyle, 462, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWizard__WizardPixmap, {0}, 0}, sipNameNr_WizardPixmap, 462, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWizard__WizardButton, {0}, 0}, sipNameNr_WizardButton, 462, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWidget__RenderFlag, {0}, 0}, sipNameNr_RenderFlag, 457, slots_QWidget_RenderFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTreeWidgetItemIterator__IteratorFlag, {0}, 0}, sipNameNr_IteratorFlag, 448, slots_QTreeWidgetItemIterator_IteratorFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTreeWidgetItem__ChildIndicatorPolicy, {0}, 0}, sipNameNr_ChildIndicatorPolicy, 445, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTreeWidgetItem__ItemType, {0}, 0}, sipNameNr_ItemType, 445, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QToolButton__ToolButtonPopupMode, {0}, 0}, sipNameNr_ToolButtonPopupMode, 440, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextEdit__AutoFormattingFlag, {0}, 0}, sipNameNr_AutoFormattingFlag, 432, slots_QTextEdit_AutoFormattingFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextEdit__LineWrapMode, {0}, 0}, sipNameNr_LineWrapMode, 432, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabWidget__TabShape, {0}, 0}, sipNameNr_TabShape, 421, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabWidget__TabPosition, {0}, 0}, sipNameNr_TabPosition, 421, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTableWidgetItem__ItemType, {0}, 0}, sipNameNr_ItemType, 426, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabBar__SelectionBehavior, {0}, 0}, sipNameNr_SelectionBehavior, 417, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabBar__ButtonPosition, {0}, 0}, sipNameNr_ButtonPosition, 417, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabBar__Shape, {0}, 0}, sipNameNr_Shape, 417, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemTrayIcon__MessageIcon, {0}, 0}, sipNameNr_MessageIcon, 414, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemTrayIcon__ActivationReason, {0}, 0}, sipNameNr_ActivationReason, 414, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnVariant__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 308, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnVariant__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 308, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGraphicsItem__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 337, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGraphicsItem__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 337, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSizeGrip__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 360, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSizeGrip__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 360, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGroupBox__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 340, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGroupBox__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 340, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__ToolBarFeature, {0}, 0}, sipNameNr_ToolBarFeature, 387, slots_QStyleOptionToolBar_ToolBarFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__ToolBarPosition, {0}, 0}, sipNameNr_ToolBarPosition, 387, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 387, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 387, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnMask__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 305, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnMask__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 305, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturn__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 301, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturn__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 301, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturn__HintReturnType, {0}, 0}, sipNameNr_HintReturnType, 301, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTitleBar__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 384, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTitleBar__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 384, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComboBox__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComboBox__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolButton__ToolButtonFeature, {0}, 0}, sipNameNr_ToolButtonFeature, 398, slots_QStyleOptionToolButton_ToolButtonFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolButton__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 398, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolButton__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 398, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSpinBox__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 366, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSpinBox__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 366, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSlider__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 363, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSlider__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 363, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComplex__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 323, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComplex__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 323, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionRubberBand__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 357, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionRubberBand__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 357, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__SelectedPosition, {0}, 0}, sipNameNr_SelectedPosition, 393, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__TabPosition, {0}, 0}, sipNameNr_TabPosition, 393, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 393, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 393, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__ViewItemPosition, {0}, 0}, sipNameNr_ViewItemPosition, 403, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__ViewItemFeature, {0}, 0}, sipNameNr_ViewItemFeature, 403, slots_QStyleOptionViewItem_ViewItemFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__Position, {0}, 0}, sipNameNr_Position, 403, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 403, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 403, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionDockWidget__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 326, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionDockWidget__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 326, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__CheckType, {0}, 0}, sipNameNr_CheckType, 349, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__MenuItemType, {0}, 0}, sipNameNr_MenuItemType, 349, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 349, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 349, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionProgressBar__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 354, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionProgressBar__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 354, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__TabFeature, {0}, 0}, sipNameNr_TabFeature, 369, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__CornerWidget, {0}, 0}, sipNameNr_CornerWidget, 369, slots_QStyleOptionTab_CornerWidget},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__SelectedPosition, {0}, 0}, sipNameNr_SelectedPosition, 369, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__TabPosition, {0}, 0}, sipNameNr_TabPosition, 369, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 369, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 369, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionButton__ButtonFeature, {0}, 0}, sipNameNr_ButtonFeature, 315, slots_QStyleOptionButton_ButtonFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionButton__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 315, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionButton__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 315, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__SortIndicator, {0}, 0}, sipNameNr_SortIndicator, 343, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__SelectedPosition, {0}, 0}, sipNameNr_SelectedPosition, 343, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__SectionPosition, {0}, 0}, sipNameNr_SectionPosition, 343, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 343, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 343, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabBarBase__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 378, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabBarBase__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 378, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabWidgetFrame__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 381, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabWidgetFrame__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 381, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFrame__FrameFeature, {0}, 0}, sipNameNr_FrameFeature, 332, slots_QStyleOptionFrame_FrameFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFrame__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 332, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFrame__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 332, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFocusRect__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 329, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFocusRect__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 329, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOption__StyleOptionVersion, {0}, 0}, sipNameNr_StyleOptionVersion, 311, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOption__StyleOptionType, {0}, 0}, sipNameNr_StyleOptionType, 311, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOption__OptionType, {0}, 0}, sipNameNr_OptionType, 311, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__RequestSoftwareInputPanel, {0}, 0}, sipNameNr_RequestSoftwareInputPanel, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__StandardPixmap, {0}, 0}, sipNameNr_StandardPixmap, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__StyleHint, {0}, 0}, sipNameNr_StyleHint, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__ContentsType, {0}, 0}, sipNameNr_ContentsType, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__PixelMetric, {0}, 0}, sipNameNr_PixelMetric, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__SubControl, {0}, 0}, sipNameNr_SubControl, 286, slots_QStyle_SubControl},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__ComplexControl, {0}, 0}, sipNameNr_ComplexControl, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__SubElement, {0}, 0}, sipNameNr_SubElement, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__ControlElement, {0}, 0}, sipNameNr_ControlElement, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__PrimitiveElement, {0}, 0}, sipNameNr_PrimitiveElement, 286, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__StateFlag, {0}, 0}, sipNameNr_StateFlag, 286, slots_QStyle_StateFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStackedLayout__StackingMode, {0}, 0}, sipNameNr_StackingMode, 282, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSlider__TickPosition, {0}, 0}, sipNameNr_TickPosition, 275, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSizePolicy__ControlType, {0}, 0}, sipNameNr_ControlType, 270, slots_QSizePolicy_ControlType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSizePolicy__Policy, {0}, 0}, sipNameNr_Policy, 270, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSizePolicy__PolicyFlag, {0}, 0}, sipNameNr_PolicyFlag, 270, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScrollerProperties__ScrollMetric, {0}, 0}, sipNameNr_ScrollMetric, 264, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScrollerProperties__FrameRates, {0}, 0}, sipNameNr_FrameRates, 264, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScrollerProperties__OvershootPolicy, {0}, 0}, sipNameNr_OvershootPolicy, 264, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScroller__Input, {0}, 0}, sipNameNr_Input, 260, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScroller__ScrollerGestureType, {0}, 0}, sipNameNr_ScrollerGestureType, 260, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScroller__State, {0}, 0}, sipNameNr_State, 260, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRubberBand__Shape, {0}, 0}, sipNameNr_Shape, 256, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProgressBar__Direction, {0}, 0}, sipNameNr_Direction, 250, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QPlainTextEdit__LineWrapMode, {0}, 0}, sipNameNr_LineWrapMode, 248, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QOpenGLWidget__UpdateBehavior, {0}, 0}, sipNameNr_UpdateBehavior, 241, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMessageBox__StandardButton, {0}, 0}, sipNameNr_StandardButton, 235, slots_QMessageBox_StandardButton},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMessageBox__Icon, {0}, 0}, sipNameNr_Icon, 235, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMessageBox__ButtonRole, {0}, 0}, sipNameNr_ButtonRole, 235, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiSubWindow__SubWindowOption, {0}, 0}, sipNameNr_SubWindowOption, 230, slots_QMdiSubWindow_SubWindowOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiArea__WindowOrder, {0}, 0}, sipNameNr_WindowOrder, 225, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiArea__ViewMode, {0}, 0}, sipNameNr_ViewMode, 225, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiArea__AreaOption, {0}, 0}, sipNameNr_AreaOption, 225, slots_QMdiArea_AreaOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMainWindow__DockOption, {0}, 0}, sipNameNr_DockOption, 221, slots_QMainWindow_DockOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListWidgetItem__ItemType, {0}, 0}, sipNameNr_ItemType, 219, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__ViewMode, {0}, 0}, sipNameNr_ViewMode, 212, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__LayoutMode, {0}, 0}, sipNameNr_LayoutMode, 212, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__ResizeMode, {0}, 0}, sipNameNr_ResizeMode, 212, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__Flow, {0}, 0}, sipNameNr_Flow, 212, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__Movement, {0}, 0}, sipNameNr_Movement, 212, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLineEdit__ActionPosition, {0}, 0}, sipNameNr_ActionPosition, 190, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLineEdit__EchoMode, {0}, 0}, sipNameNr_EchoMode, 190, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLCDNumber__SegmentStyle, {0}, 0}, sipNameNr_SegmentStyle, 183, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLCDNumber__Mode, {0}, 0}, sipNameNr_Mode, 183, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLayout__SizeConstraint, {0}, 0}, sipNameNr_SizeConstraint, 187, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QInputDialog__InputMode, {0}, 0}, sipNameNr_InputMode, 174, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QInputDialog__InputDialogOption, {0}, 0}, sipNameNr_InputDialogOption, 174, slots_QInputDialog_InputDialogOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QHeaderView__ResizeMode, {0}, 0}, sipNameNr_ResizeMode, 172, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__OptimizationFlag, {0}, 0}, sipNameNr_OptimizationFlag, 160, slots_QGraphicsView_OptimizationFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__ViewportUpdateMode, {0}, 0}, sipNameNr_ViewportUpdateMode, 160, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__ViewportAnchor, {0}, 0}, sipNameNr_ViewportAnchor, 160, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__DragMode, {0}, 0}, sipNameNr_DragMode, 160, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__CacheModeFlag, {0}, 0}, sipNameNr_CacheModeFlag, 160, slots_QGraphicsView_CacheModeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsSceneContextMenuEvent__Reason, {0}, 0}, sipNameNr_Reason, 147, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsScene__SceneLayer, {0}, 0}, sipNameNr_SceneLayer, 143, slots_QGraphicsScene_SceneLayer},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsScene__ItemIndexMethod, {0}, 0}, sipNameNr_ItemIndexMethod, 143, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsPixmapItem__ShapeMode, {0}, 0}, sipNameNr_ShapeMode, 136, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__PanelModality, {0}, 0}, sipNameNr_PanelModality, 122, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__GraphicsItemFlag, {0}, 0}, sipNameNr_GraphicsItemFlag, 122, slots_QGraphicsItem_GraphicsItemFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__GraphicsItemChange, {0}, 0}, sipNameNr_GraphicsItemChange, 122, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__CacheMode, {0}, 0}, sipNameNr_CacheMode, 122, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsBlurEffect__BlurHint, {0}, 0}, sipNameNr_BlurHint, 111, slots_QGraphicsBlurEffect_BlurHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsEffect__PixmapPadMode, {0}, 0}, sipNameNr_PixmapPadMode, 116, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsEffect__ChangeFlag, {0}, 0}, sipNameNr_ChangeFlag, 116, slots_QGraphicsEffect_ChangeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGestureRecognizer__ResultFlag, {0}, 0}, sipNameNr_ResultFlag, 106, slots_QGestureRecognizer_ResultFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSwipeGesture__SwipeDirection, {0}, 0}, sipNameNr_SwipeDirection, 412, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QPinchGesture__ChangeFlag, {0}, 0}, sipNameNr_ChangeFlag, 244, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGesture__GestureCancelPolicy, {0}, 0}, sipNameNr_GestureCancelPolicy, 103, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFrame__StyleMask, {0}, 0}, sipNameNr_StyleMask, 99, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFrame__Shape, {0}, 0}, sipNameNr_Shape, 99, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFrame__Shadow, {0}, 0}, sipNameNr_Shadow, 99, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFormLayout__ItemRole, {0}, 0}, sipNameNr_ItemRole, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFormLayout__RowWrapPolicy, {0}, 0}, sipNameNr_RowWrapPolicy, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFormLayout__FieldGrowthPolicy, {0}, 0}, sipNameNr_FieldGrowthPolicy, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFontDialog__FontDialogOption, {0}, 0}, sipNameNr_FontDialogOption, 91, slots_QFontDialog_FontDialogOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFontComboBox__FontFilter, {0}, 0}, sipNameNr_FontFilter, 88, slots_QFontComboBox_FontFilter},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileSystemModel__Roles, {0}, 0}, sipNameNr_Roles, 85, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileIconProvider__Option, {0}, 0}, sipNameNr_Option, 81, slots_QFileIconProvider_Option},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileIconProvider__IconType, {0}, 0}, sipNameNr_IconType, 81, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__Option, {0}, 0}, sipNameNr_Option, 74, slots_QFileDialog_Option},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__DialogLabel, {0}, 0}, sipNameNr_DialogLabel, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__AcceptMode, {0}, 0}, sipNameNr_AcceptMode, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__FileMode, {0}, 0}, sipNameNr_FileMode, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__ViewMode, {0}, 0}, sipNameNr_ViewMode, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDockWidget__DockWidgetFeature, {0}, 0}, sipNameNr_DockWidgetFeature, 69, slots_QDockWidget_DockWidgetFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDirModel__Roles, {0}, 0}, sipNameNr_Roles, 67, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialogButtonBox__StandardButton, {0}, 0}, sipNameNr_StandardButton, 62, slots_QDialogButtonBox_StandardButton},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialogButtonBox__ButtonRole, {0}, 0}, sipNameNr_ButtonRole, 62, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialogButtonBox__ButtonLayout, {0}, 0}, sipNameNr_ButtonLayout, 62, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialog__DialogCode, {0}, 0}, sipNameNr_DialogCode, 60, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDateTimeEdit__Section, {0}, 0}, sipNameNr_Section, 55, slots_QDateTimeEdit_Section},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataWidgetMapper__SubmitPolicy, {0}, 0}, sipNameNr_SubmitPolicy, 52, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCompleter__ModelSorting, {0}, 0}, sipNameNr_ModelSorting, 49, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCompleter__CompletionMode, {0}, 0}, sipNameNr_CompletionMode, 49, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QComboBox__SizeAdjustPolicy, {0}, 0}, sipNameNr_SizeAdjustPolicy, 44, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QComboBox__InsertPolicy, {0}, 0}, sipNameNr_InsertPolicy, 44, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QColorDialog__ColorDialogOption, {0}, 0}, sipNameNr_ColorDialogOption, 40, slots_QColorDialog_ColorDialogOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCalendarWidget__SelectionMode, {0}, 0}, sipNameNr_SelectionMode, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCalendarWidget__VerticalHeaderFormat, {0}, 0}, sipNameNr_VerticalHeaderFormat, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCalendarWidget__HorizontalHeaderFormat, {0}, 0}, sipNameNr_HorizontalHeaderFormat, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QBoxLayout__Direction, {0}, 0}, sipNameNr_Direction, 32, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QApplication__ColorSpec, {0}, 0}, sipNameNr_ColorSpec, 30, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAction__Priority, {0}, 0}, sipNameNr_Priority, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAction__MenuRole, {0}, 0}, sipNameNr_MenuRole, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAction__ActionEvent, {0}, 0}, sipNameNr_ActionEvent, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSpinBox__CorrectionMode, {0}, 0}, sipNameNr_CorrectionMode, 20, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSpinBox__ButtonSymbols, {0}, 0}, sipNameNr_ButtonSymbols, 20, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSpinBox__StepEnabledFlag, {0}, 0}, sipNameNr_StepEnabledFlag, 20, slots_QAbstractSpinBox_StepEnabledFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSlider__SliderChange, {0}, 0}, sipNameNr_SliderChange, 17, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSlider__SliderAction, {0}, 0}, sipNameNr_SliderAction, 17, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractScrollArea__SizeAdjustPolicy, {0}, 0}, sipNameNr_SizeAdjustPolicy, 15, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__DropIndicatorPosition, {0}, 0}, sipNameNr_DropIndicatorPosition, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__State, {0}, 0}, sipNameNr_State, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__CursorAction, {0}, 0}, sipNameNr_CursorAction, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__SelectionMode, {0}, 0}, sipNameNr_SelectionMode, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__SelectionBehavior, {0}, 0}, sipNameNr_SelectionBehavior, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__ScrollMode, {0}, 0}, sipNameNr_ScrollMode, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__ScrollHint, {0}, 0}, sipNameNr_ScrollHint, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__EditTrigger, {0}, 0}, sipNameNr_EditTrigger, 4, slots_QAbstractItemView_EditTrigger},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__DragDropMode, {0}, 0}, sipNameNr_DragDropMode, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemDelegate__EndEditHint, {0}, 0}, sipNameNr_EndEditHint, 2, NULL},
};


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


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


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtWidgets_QtCore[] = {
    {"QAbstractItemModel"},
    {"QAbstractProxyModel"},
    {"QAbstractTransition"},
    {"QByteArray"},
    {"QChildEvent"},
    {"QCoreApplication"},
    {"QDataStream"},
    {"QDate"},
    {"QDateTime"},
    {"QDir"},
    {"QDir::Filters"},
    {"QDir::SortFlags"},
    {"QEvent"},
    {"QEvent::Type"},
    {"QEventTransition"},
    {"QFileDevice::Permissions"},
    {"QFileInfo"},
    {"QHash<int,QByteArray>"},
    {"QItemSelection"},
    {"QItemSelectionModel"},
    {"QItemSelectionModel::SelectionFlags"},
    {"QLineF"},
    {"QList<QModelIndex>"},
    {"QList<QUrl>"},
    {"QList<int>"},
    {"QList<qreal>"},
    {"QLocale"},
    {"QMap<int,QVariant>"},
    {"QMargins"},
    {"QMetaMethod"},
    {"QMimeData"},
    {"QModelIndex"},
    {"QObject"},
    {"QPoint"},
    {"QPointF"},
    {"QRect"},
    {"QRectF"},
    {"QRegExp"},
    {"QSize"},
    {"QSizeF"},
    {"QState"},
    {"QString"},
    {"QStringList"},
    {"QTime"},
    {"QTimerEvent"},
    {"QUrl"},
    {"QVariant"},
    {"QVector<int>"},
    {"Qt::Alignment"},
    {"Qt::AnchorPoint"},
    {"Qt::ArrowType"},
    {"Qt::AspectRatioMode"},
    {"Qt::Axis"},
    {"Qt::CaseSensitivity"},
    {"Qt::CheckState"},
    {"Qt::ContextMenuPolicy"},
    {"Qt::CoordinateSystem"},
    {"Qt::Corner"},
    {"Qt::CursorMoveStyle"},
    {"Qt::DayOfWeek"},
    {"Qt::DockWidgetArea"},
    {"Qt::DockWidgetAreas"},
    {"Qt::DropAction"},
    {"Qt::DropActions"},
    {"Qt::FillRule"},
    {"Qt::FindChildOptions"},
    {"Qt::FocusPolicy"},
    {"Qt::FocusReason"},
    {"Qt::GestureFlags"},
    {"Qt::GestureState"},
    {"Qt::GestureType"},
    {"Qt::HitTestAccuracy"},
    {"Qt::InputMethodHints"},
    {"Qt::InputMethodQuery"},
    {"Qt::ItemFlags"},
    {"Qt::ItemSelectionMode"},
    {"Qt::ItemSelectionOperation"},
    {"Qt::KeyboardModifiers"},
    {"Qt::LayoutDirection"},
    {"Qt::MatchFlags"},
    {"Qt::MouseButton"},
    {"Qt::MouseButtons"},
    {"Qt::MouseEventFlags"},
    {"Qt::MouseEventSource"},
    {"Qt::Orientation"},
    {"Qt::Orientations"},
    {"Qt::PenStyle"},
    {"Qt::ScrollBarPolicy"},
    {"Qt::ShortcutContext"},
    {"Qt::SizeHint"},
    {"Qt::SortOrder"},
    {"Qt::TextElideMode"},
    {"Qt::TextFormat"},
    {"Qt::TextInteractionFlags"},
    {"Qt::TimeSpec"},
    {"Qt::ToolBarArea"},
    {"Qt::ToolBarAreas"},
    {"Qt::ToolButtonStyle"},
    {"Qt::TransformationMode"},
    {"Qt::UIEffect"},
    {"Qt::WidgetAttribute"},
    {"Qt::WindowFlags"},
    {"Qt::WindowFrameSection"},
    {"Qt::WindowModality"},
    {"Qt::WindowStates"},
    {"Qt::WindowType"},
    {"quintptr"},
    {NULL}
};


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


/* This defines the types that this module needs to import from QtGui. */
sipImportedTypeDef sipImportedTypes_QtWidgets_QtGui[] = {
    {"QAbstractTextDocumentLayout"},
    {"QAbstractTextDocumentLayout::PaintContext"},
    {"QActionEvent"},
    {"QBitmap"},
    {"QBrush"},
    {"QCloseEvent"},
    {"QColor"},
    {"QContextMenuEvent"},
    {"QCursor"},
    {"QDragEnterEvent"},
    {"QDragLeaveEvent"},
    {"QDragMoveEvent"},
    {"QDropEvent"},
    {"QFocusEvent"},
    {"QFont"},
    {"QFontDatabase::WritingSystem"},
    {"QFontInfo"},
    {"QFontMetrics"},
    {"QGuiApplication"},
    {"QHelpEvent"},
    {"QHideEvent"},
    {"QIcon"},
    {"QIcon::Mode"},
    {"QImage"},
    {"QInputMethodEvent"},
    {"QKeyEvent"},
    {"QKeySequence"},
    {"QKeySequence::StandardKey"},
    {"QList<QKeySequence>"},
    {"QMatrix4x4"},
    {"QMouseEvent"},
    {"QMoveEvent"},
    {"QMovie"},
    {"QOpenGLContext"},
    {"QPagedPaintDevice"},
    {"QPaintDevice"},
    {"QPaintDevice::PaintDeviceMetric"},
    {"QPaintEngine"},
    {"QPaintEvent"},
    {"QPainter"},
    {"QPainter::RenderHint"},
    {"QPainter::RenderHints"},
    {"QPainterPath"},
    {"QPalette"},
    {"QPalette::ColorRole"},
    {"QPen"},
    {"QPicture"},
    {"QPixmap"},
    {"QPolygon"},
    {"QPolygonF"},
    {"QRegion"},
    {"QResizeEvent"},
    {"QShowEvent"},
    {"QSurfaceFormat"},
    {"QTabletEvent"},
    {"QTextBlock"},
    {"QTextCharFormat"},
    {"QTextCursor"},
    {"QTextCursor::MoveMode"},
    {"QTextCursor::MoveOperation"},
    {"QTextDocument"},
    {"QTextDocument::FindFlags"},
    {"QTextFormat"},
    {"QTextFrame"},
    {"QTextInlineObject"},
    {"QTextOption::WrapMode"},
    {"QTransform"},
    {"QValidator"},
    {"QValidator::State"},
    {"QVector3D"},
    {"QWheelEvent"},
    {"QWindow"},
    {NULL}
};


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


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QApplication, {32, 0, 0}, NULL},
    {sipSubClass_QLayoutItem, {189, 255, 0}, NULL},
    {sipSubClass_QGestureEvent, {12, 0, 0}, NULL},
    {sipSubClass_QGraphicsItem, {122, 255, 0}, NULL},
    {sipSubClass_QGraphicsSceneEvent, {12, 0, 0}, NULL},
    {sipSubClass_QStyleOption, {311, 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,
    sipStrings_QtWidgets,
    importsTable,
    NULL,
    469,
    sipExportedTypes_QtWidgets,
    NULL,
    0,
    NULL,
    2,
    typedefsTable,
    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;

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);
    }
#line 356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
// Imports from QtCore.
pyqt5_qtwidgets_from_argv_list = (pyqt5_qtwidgets_from_argv_list_t)sipImportSymbol("pyqt5_from_argv_list");
Q_ASSERT(pyqt5_qtwidgets_from_argv_list);

pyqt5_qtwidgets_get_connection_parts = (pyqt5_qtwidgets_get_connection_parts_t)sipImportSymbol("pyqt5_get_connection_parts");
Q_ASSERT(pyqt5_qtwidgets_get_connection_parts);

pyqt5_qtwidgets_get_signal_signature = (pyqt5_qtwidgets_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
Q_ASSERT(pyqt5_qtwidgets_get_signal_signature);

pyqt5_qtwidgets_update_argv_list = (pyqt5_qtwidgets_update_argv_list_t)sipImportSymbol("pyqt5_update_argv_list");
Q_ASSERT(pyqt5_qtwidgets_update_argv_list);

qpywidgets_post_init();
#line 10061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 10072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 10217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QUndoStack = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_26364,     /* QList<QUndoStack*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 10253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 10398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QTreeWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13763,     /* QList<QTreeWidgetItem*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 45 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 10434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 10579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QTableWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_12238,     /* QList<QTableWidgetItem*> */
        {0},
        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 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 10615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

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

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

            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 10724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 42 "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_SetItem(l, i, tobj);
    }

    return l;
#line 10757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QTableWidgetSelectionRange = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4097,     /* QList<QTableWidgetSelectionRange> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscroller.sip"
#include <qscroller.h>
#line 10793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 10938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QScroller = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_29955,     /* QList<QScroller*> */
        {0},
        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 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 10976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        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 %zd has type '%s' but 'QTextEdit::ExtraSelection' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            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 11085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 42 "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_SetItem(l, i, tobj);
    }

    return l;
#line 11118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QTextEdit_ExtraSelection = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4709,     /* QList<QTextEdit::ExtraSelection> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 11154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 11299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QMdiSubWindow = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17598,     /* QList<QMdiSubWindow*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 11335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 11480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QDockWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_23264,     /* QList<QDockWidget*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 11516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QListWidgetItem *t = reinterpret_cast<QListWidgetItem *>(
                sipForceConvertToType(itm, sipType_QListWidgetItem, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QListWidgetItem' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 11661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QListWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13787,     /* QList<QListWidgetItem*> */
        {0},
        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 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 11697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

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

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

            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 11806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 42 "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_SetItem(l, i, tobj);
    }

    return l;
#line 11839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QRectF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_45849,     /* QList<QRectF> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 11875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QGraphicsView *t = reinterpret_cast<QGraphicsView *>(
                sipForceConvertToType(itm, sipType_QGraphicsView, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QGraphicsView' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 12020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17620,     /* QList<QGraphicsView*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 12056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QGraphicsTransform *t = reinterpret_cast<QGraphicsTransform *>(
                sipForceConvertToType(itm, sipType_QGraphicsTransform, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QGraphicsTransform' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 12201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsTransform = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_9570,     /* QList<QGraphicsTransform*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QGraphicsItem *t = reinterpret_cast<QGraphicsItem *>(
                sipForceConvertToType(itm, sipType_QGraphicsItem, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QGraphicsItem' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 12382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17642,     /* QList<QGraphicsItem*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 12418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QGesture *t = reinterpret_cast<QGesture *>(
                sipForceConvertToType(itm, sipType_QGesture, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QGesture' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 12563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_33735,     /* QList<QGesture*> */
        {0},
        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 27 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 12595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 12599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 249 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 12602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 85 "sip/QtCore/qpycore_qmap.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QMap<QDate, QTextCharFormat> *qm = new QMap<QDate, QTextCharFormat>;

    Py_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 dict key has type '%s' but 'QDate' is expected",
                    sipPyTypeName(Py_TYPE(kobj)));

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

            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 12693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 31 "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 12754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QMap_0100QDate_0100QTextCharFormat = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8674,     /* QMap<QDate,QTextCharFormat> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 12790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QAbstractButton *t = reinterpret_cast<QAbstractButton *>(
                sipForceConvertToType(itm, sipType_QAbstractButton, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAbstractButton' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 12935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QAbstractButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13811,     /* QList<QAbstractButton*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 12971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QGraphicsWidget *t = reinterpret_cast<QGraphicsWidget *>(
                sipForceConvertToType(itm, sipType_QGraphicsWidget, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QGraphicsWidget' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 13116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13835,     /* QList<QGraphicsWidget*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 13152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QAction *t = reinterpret_cast<QAction *>(
                sipForceConvertToType(itm, sipType_QAction, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAction' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 13297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_37628,     /* QList<QAction*> */
        {0},
        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 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 13333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 183 "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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QWidget *t = reinterpret_cast<QWidget *>(
                sipForceConvertToType(itm, sipType_QWidget, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWidget' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            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);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 13478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_37644,     /* QList<QWidget*> */
        {0},
        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 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qpywidgets_qlist.sip"
#include <qwizard.h>
#line 13510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 13514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        if (!sipCanConvertToEnum(itm, sipType_QWizard_WizardButton))
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWizard.WizardButton' is expected",
                    i, sipPyTypeName(Py_TYPE(itm)));

            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 13618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_SetItem(l, i, eobj);
    }

    return l;
#line 13649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QWizard_WizardButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7775,     /* QList<QWizard::WizardButton> */
        {0},
        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 170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 13681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 13685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 13688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 13697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 13703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 13706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 13712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 13718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 13724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 13730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 13733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 13736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 13742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 13748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 13751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 13754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 13757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 13760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 13763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 13823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 13829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 13832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 13835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 13841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 13844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 13847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 13850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 13853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 13856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 13883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    int nextId() const;
    bool isComplete() const;
    bool validatePage();
    void cleanupPage();
    void initializePage();
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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

const QMetaObject *sipQWizardPage::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWizardPage);

    return  ::QWizardPage::metaObject();
}

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

int sipQWizardPage::nextId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::nextId();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWizardPage::isComplete() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::isComplete();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWizardPage::validatePage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::validatePage();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizardPage::cleanupPage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizardPage::cleanupPage();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizardPage::initializePage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizardPage::initializePage();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWizardPage::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  ::QWizardPage::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQWizardPage::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQWizardPage::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizardPage::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QWizardPage::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQWizardPage::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQWizardPage::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQWizardPage::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  ::QWizardPage::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QWizardPage::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QWizardPage::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QWizardPage::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QWizardPage::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QWizardPage::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QWizardPage::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QWizardPage::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QWizardPage::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QWizardPage::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QWizardPage::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QWizardPage::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QWizardPage::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QWizardPage::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QWizardPage::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QWizardPage::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QWizardPage::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QWizardPage::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QWizardPage::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QWizardPage::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QWizardPage::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QWizardPage::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QWizardPage::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QWizardPage::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QWizardPage::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QWizardPage::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizardPage::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QWizardPage::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQWizardPage::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQWizardPage::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QWizardPage::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQWizardPage::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWizardPage::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QWizardPage::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

 ::QPainter* sipQWizardPage::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizardPage::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizardPage::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizardPage::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 15220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 15280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setTitle(self, 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, "title(self) -> 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, "setSubTitle(self, 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, "subTitle(self) -> 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, "setPixmap(self, 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, "pixmap(self, 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, "setFinalPage(self, 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, "isFinalPage(self) -> 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, "setCommitPage(self, 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, "isCommitPage(self) -> 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, "setButtonText(self, 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, "buttonText(self, 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, "initializePage(self)");

extern "C" {static PyObject *meth_QWizardPage_initializePage(PyObject *, PyObject *);}
static PyObject *meth_QWizardPage_initializePage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "cleanupPage(self)");

extern "C" {static PyObject *meth_QWizardPage_cleanupPage(PyObject *, PyObject *);}
static PyObject *meth_QWizardPage_cleanupPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "validatePage(self) -> 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 || sipIsDerivedClass((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, "isComplete(self) -> 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 || sipIsDerivedClass((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, "nextId(self) -> 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 || sipIsDerivedClass((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, "setField(self, str, Any)");

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, "field(self, str) -> Any");

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, "registerField(self, str, QWidget, property: str = None, changedSignal: PYQT_SIGNAL = 0)");

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 *a2Keep = 0;
        PyObject * a3 = 0;
        sipQWizardPage *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J8|AAP0", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QString,&a0, &a0State, sipType_QWidget, &a1, &a2Keep, &a2, &a3))
        {
            sipErrorState sipError = sipErrorNone;

#line 202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, QObject *, QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
        const char *signal = 0;
        
        if (a3 && a3 != Py_None)
        {
            if ((sipError = pyqt5_get_signal_signature(a3, a1, signal_signature)) == sipErrorNone)
            {
                signal = signal_signature.constData();
            }
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(3, a3);
            }
        }
        
        if (sipError == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipCpp->registerField(*a0, a1, a2, signal);
        #else
            sipCpp->sipProtect_registerField(*a0, a1, a2, signal);
        #endif
            Py_END_ALLOW_THREADS
        }
#line 17212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            Py_XDECREF(a2Keep);

            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_QWizardPage, sipName_registerField, doc_QWizardPage_registerField);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_wizard, "wizard(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QWizardPage(void *, const sipTypeDef *);}
static void *cast_QWizardPage(void *sipCppV, const sipTypeDef *targetType)
{
     ::QWizardPage *sipCpp = reinterpret_cast< ::QWizardPage *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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

PyDoc_STRVAR(doc_QWizardPage, "\1QWizardPage(parent: QWidget = None)");


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


static pyqt5ClassPluginDef plugin_QWizardPage = {
    & ::QWizardPage::staticMetaObject,
    0,
    signals_QWizardPage,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QWizardPage = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWizardPage,
        {0},
        &plugin_QWizardPage
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 17479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 17483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QWizard_WizardOptions___hash__(PyObject *);}
static long slot_QWizard_WizardOptions___hash__(PyObject *sipSelf)
{
     ::QWizard::WizardOptions *sipCpp = reinterpret_cast< ::QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QWizard::WizardOptions::Int();
#line 17501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWizard::WizardOptions::Int() != 0);
#line 17526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWizard::WizardOptions::Int() != a0->operator QWizard::WizardOptions::Int());
#line 17556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWizard::WizardOptions::Int() == a0->operator QWizard::WizardOptions::Int());
#line 17592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QWizard::WizardOptions(*sipCpp ^ a0);
#line 17631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QWizard::WizardOptions(*sipCpp | a0);
#line 17703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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


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


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

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

    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 121 "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 17971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWizard_WizardOptions[] = {
    {(void *)slot_QWizard_WizardOptions___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QWizard_WizardOptions___xor__, xor_slot},
    {(void *)slot_QWizard_WizardOptions___ior__, ior_slot},
    {(void *)slot_QWizard_WizardOptions___or__, or_slot},
    {(void *)slot_QWizard_WizardOptions___iand__, iand_slot},
    {(void *)slot_QWizard_WizardOptions___and__, and_slot},
    {(void *)slot_QWizard_WizardOptions___invert__, invert_slot},
    {(void *)slot_QWizard_WizardOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QWizard_WizardOptions, "\1QWizard.WizardOptions()\n"
    "QWizard.WizardOptions(Union[QWizard.WizardOptions, QWizard.WizardOption])\n"
    "QWizard.WizardOptions(QWizard.WizardOptions)");


static pyqt5ClassPluginDef plugin_QWizard_WizardOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QWizard_WizardOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWizard__WizardOptions,
        {0},
        &plugin_QWizard_WizardOptions
    },
    {
        sipNameNr_WizardOptions,
        {462, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWizard_WizardOptions,
    -1,
    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,
    0,
    convertTo_QWizard_WizardOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 18057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 18061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 18067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 18079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 18082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 18088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qpywidgets_qlist.sip"
#include <qwizard.h>
#line 18091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 18097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 18103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 18121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 18130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 18133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 18139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 18145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 18148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 18151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 18154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 18157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 18163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 18166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 18169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 18172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 18175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 18214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 18217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 18220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 18223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 18226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 18232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 18235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 18238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 18241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 18244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 18247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 18256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 18259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 18262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 18271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 cleanupPage(int);
    void initializePage(int);
    int nextId() const;
    bool validateCurrentPage();
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[56];
};

sipQWizard::sipQWizard( ::QWidget*a0, ::Qt::WindowFlags a1):  ::QWizard(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQWizard::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWizard);

    return  ::QWizard::metaObject();
}

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::cleanupPage(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizard::cleanupPage(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::initializePage(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizard::initializePage(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWizard::nextId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::nextId();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWizard::validateCurrentPage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::validateCurrentPage();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizard::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizard::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQWizard::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWizard::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  ::QWizard::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

bool sipQWizard::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWizard::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQWizard::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  ::QWizard::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizard::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWizard::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QWizard::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QWizard::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QWizard::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QWizard::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QWizard::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QWizard::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QWizard::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QWizard::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QWizard::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QWizard::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QWizard::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QWizard::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QWizard::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QWizard::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QWizard::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QWizard::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QWizard::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QWizard::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QWizard::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QWizard::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QWizard::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QWizard::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QWizard::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QWizard::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWizard::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  ::QWizard::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQWizard::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQWizard::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizard::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QWizard::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWizard::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQWizard::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWizard::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQWizard::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  ::QWizard::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWizard::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QWizard::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizard::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QWizard::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWizard::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QWizard::accept();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizard::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QWizard::reject();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWizard::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QWizard::open();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 19684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 19744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "addPage(self, 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, "setPage(self, 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, "page(self, 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, "hasVisitedPage(self, 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, "visitedPages(self) -> List[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, "setStartId(self, 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, "startId(self) -> 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, "currentPage(self) -> 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, "currentId(self) -> 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, "validateCurrentPage(self) -> 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 || sipIsDerivedClass((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, "nextId(self) -> 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 || sipIsDerivedClass((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, "setField(self, str, Any)");

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, "field(self, str) -> Any");

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, "setWizardStyle(self, 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, "wizardStyle(self) -> 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, "setOption(self, QWizard.WizardOption, on: bool = 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, "testOption(self, 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, "setOptions(self, Union[QWizard.WizardOptions, QWizard.WizardOption])");

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, "options(self) -> 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, "setButtonText(self, 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, "buttonText(self, 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, "setButtonLayout(self, Iterable[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, "setButton(self, 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, "button(self, 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, "setTitleFormat(self, 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, "titleFormat(self) -> 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, "setSubTitleFormat(self, 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, "subTitleFormat(self) -> 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, "setPixmap(self, 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, "pixmap(self, 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, "setDefaultProperty(self, str, str, PYQT_SIGNAL)");

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

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        PyObject * a2;
         ::QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAP0", &sipSelf, sipType_QWizard, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2))
        {
            sipErrorState sipError = sipErrorNone;

#line 118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwizard.sip"
        QByteArray signal_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_signal_signature(a2, 0, signal_signature)) == sipErrorNone)
        {
            sipCpp->setDefaultProperty(a0, a1, signal_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 21906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);

            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_QWizard, sipName_setDefaultProperty, doc_QWizard_setDefaultProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setVisible, "setVisible(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "back(self)");

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

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

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, "event(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "done(self, 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 || sipIsDerivedClass((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, "initializePage(self, 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 || sipIsDerivedClass((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, "cleanupPage(self, 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 || sipIsDerivedClass((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, "removePage(self, 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, "pageIds(self) -> List[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, "setSideWidget(self, 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, "sideWidget(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QWizard(void *, const sipTypeDef *);}
static void *cast_QWizard(void *sipCppV, const sipTypeDef *targetType)
{
     ::QWizard *sipCpp = reinterpret_cast< ::QWizard *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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 = Qt::WindowFlags();
         ::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), 467},
    {sipName_BackButton, static_cast<int>( ::QWizard::BackButton), 463},
    {sipName_BackgroundPixmap, static_cast<int>( ::QWizard::BackgroundPixmap), 466},
    {sipName_BannerPixmap, static_cast<int>( ::QWizard::BannerPixmap), 466},
    {sipName_CancelButton, static_cast<int>( ::QWizard::CancelButton), 463},
    {sipName_CancelButtonOnLeft, static_cast<int>( ::QWizard::CancelButtonOnLeft), 464},
    {sipName_ClassicStyle, static_cast<int>( ::QWizard::ClassicStyle), 467},
    {sipName_CommitButton, static_cast<int>( ::QWizard::CommitButton), 463},
    {sipName_CustomButton1, static_cast<int>( ::QWizard::CustomButton1), 463},
    {sipName_CustomButton2, static_cast<int>( ::QWizard::CustomButton2), 463},
    {sipName_CustomButton3, static_cast<int>( ::QWizard::CustomButton3), 463},
    {sipName_DisabledBackButtonOnLastPage, static_cast<int>( ::QWizard::DisabledBackButtonOnLastPage), 464},
    {sipName_ExtendedWatermarkPixmap, static_cast<int>( ::QWizard::ExtendedWatermarkPixmap), 464},
    {sipName_FinishButton, static_cast<int>( ::QWizard::FinishButton), 463},
    {sipName_HaveCustomButton1, static_cast<int>( ::QWizard::HaveCustomButton1), 464},
    {sipName_HaveCustomButton2, static_cast<int>( ::QWizard::HaveCustomButton2), 464},
    {sipName_HaveCustomButton3, static_cast<int>( ::QWizard::HaveCustomButton3), 464},
    {sipName_HaveFinishButtonOnEarlyPages, static_cast<int>( ::QWizard::HaveFinishButtonOnEarlyPages), 464},
    {sipName_HaveHelpButton, static_cast<int>( ::QWizard::HaveHelpButton), 464},
    {sipName_HaveNextButtonOnLastPage, static_cast<int>( ::QWizard::HaveNextButtonOnLastPage), 464},
    {sipName_HelpButton, static_cast<int>( ::QWizard::HelpButton), 463},
    {sipName_HelpButtonOnRight, static_cast<int>( ::QWizard::HelpButtonOnRight), 464},
    {sipName_IgnoreSubTitles, static_cast<int>( ::QWizard::IgnoreSubTitles), 464},
    {sipName_IndependentPages, static_cast<int>( ::QWizard::IndependentPages), 464},
    {sipName_LogoPixmap, static_cast<int>( ::QWizard::LogoPixmap), 466},
    {sipName_MacStyle, static_cast<int>( ::QWizard::MacStyle), 467},
    {sipName_ModernStyle, static_cast<int>( ::QWizard::ModernStyle), 467},
    {sipName_NextButton, static_cast<int>( ::QWizard::NextButton), 463},
    {sipName_NoBackButtonOnLastPage, static_cast<int>( ::QWizard::NoBackButtonOnLastPage), 464},
    {sipName_NoBackButtonOnStartPage, static_cast<int>( ::QWizard::NoBackButtonOnStartPage), 464},
    {sipName_NoCancelButton, static_cast<int>( ::QWizard::NoCancelButton), 464},
    {sipName_NoCancelButtonOnLastPage, static_cast<int>( ::QWizard::NoCancelButtonOnLastPage), 464},
    {sipName_NoDefaultButton, static_cast<int>( ::QWizard::NoDefaultButton), 464},
    {sipName_Stretch, static_cast<int>( ::QWizard::Stretch), 463},
    {sipName_WatermarkPixmap, static_cast<int>( ::QWizard::WatermarkPixmap), 466},
};

PyDoc_STRVAR(doc_QWizard, "\1QWizard(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QWizard[] = {
    {"pageRemoved(int)", "\1pageRemoved(self, int)", 0, 0},
    {"pageAdded(int)", "\1pageAdded(self, int)", 0, 0},
    {"customButtonClicked(int)", "\1customButtonClicked(self, int)", 0, 0},
    {"helpRequested()", "\1helpRequested(self)", 0, 0},
    {"currentIdChanged(int)", "\1currentIdChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QWizard = {
    & ::QWizard::staticMetaObject,
    0,
    signals_QWizard,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QWizard = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWizard,
        {0},
        &plugin_QWizard
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidgetaction.sip"
#include <qwidgetaction.h>
#line 22644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 22648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 22651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 22654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 22660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 22663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 22666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 22669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 22678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 22684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 22690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qactiongroup.sip"
#include <qactiongroup.h>
#line 22693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 22696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 22705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 22711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 22714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 22723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 deleteWidget( ::QWidget*);
     ::QWidget* createWidget( ::QWidget*);
    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:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQWidgetAction::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWidgetAction);

    return  ::QWidgetAction::metaObject();
}

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::deleteWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWidgetAction::deleteWidget(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QWidget* sipQWidgetAction::createWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWidgetAction::createWidget(a0);

    extern  ::QWidget* sipVH_QtWidgets_171(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_171(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

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

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 23085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 23145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "setDefaultWidget(self, 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, "defaultWidget(self) -> 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, "requestWidget(self, 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, "releaseWidget(self, 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, "event(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "createWidget(self, 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 || sipIsDerivedClass((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, "deleteWidget(self, 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 || sipIsDerivedClass((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, "createdWidgets(self) -> List[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 inheritance hierarchy. */
extern "C" {static void *cast_QWidgetAction(void *, const sipTypeDef *);}
static void *cast_QWidgetAction(void *sipCppV, const sipTypeDef *targetType)
{
     ::QWidgetAction *sipCpp = reinterpret_cast< ::QWidgetAction *>(sipCppV);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

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

    return sipCppV;
}


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

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


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


static pyqt5ClassPluginDef plugin_QWidgetAction = {
    & ::QWidgetAction::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QWidgetAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWidgetAction,
        {0},
        &plugin_QWidgetAction
    },
    {
        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
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 23783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 23787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QWidget_RenderFlags___hash__(PyObject *);}
static long slot_QWidget_RenderFlags___hash__(PyObject *sipSelf)
{
     ::QWidget::RenderFlags *sipCpp = reinterpret_cast< ::QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QWidget::RenderFlags::Int();
#line 23805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWidget::RenderFlags::Int() != 0);
#line 23830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWidget::RenderFlags::Int() != a0->operator QWidget::RenderFlags::Int());
#line 23860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWidget::RenderFlags::Int() == a0->operator QWidget::RenderFlags::Int());
#line 23896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QWidget::RenderFlags(*sipCpp ^ a0);
#line 23935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QWidget::RenderFlags(*sipCpp | a0);
#line 24007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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


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


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

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

    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 121 "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 24275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWidget_RenderFlags[] = {
    {(void *)slot_QWidget_RenderFlags___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QWidget_RenderFlags___xor__, xor_slot},
    {(void *)slot_QWidget_RenderFlags___ior__, ior_slot},
    {(void *)slot_QWidget_RenderFlags___or__, or_slot},
    {(void *)slot_QWidget_RenderFlags___iand__, iand_slot},
    {(void *)slot_QWidget_RenderFlags___and__, and_slot},
    {(void *)slot_QWidget_RenderFlags___invert__, invert_slot},
    {(void *)slot_QWidget_RenderFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QWidget_RenderFlags, "\1QWidget.RenderFlags()\n"
    "QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag])\n"
    "QWidget.RenderFlags(QWidget.RenderFlags)");


static pyqt5ClassPluginDef plugin_QWidget_RenderFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QWidget_RenderFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWidget__RenderFlags,
        {0},
        &plugin_QWidget_RenderFlags
    },
    {
        sipNameNr_RenderFlags,
        {457, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWidget_RenderFlags,
    -1,
    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,
    0,
    convertTo_QWidget_RenderFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwhatsthis.sip"
#include <qwhatsthis.h>
#line 24361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 24365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 24368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 24374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 24377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QWhatsThis_enterWhatsThisMode, "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, "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, "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, "showText(QPoint, str, widget: QWidget = 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, "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, "createAction(parent: QObject = 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;
}


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


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

    {
        const  ::QWhatsThis* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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

PyDoc_STRVAR(doc_QWhatsThis, "\1QWhatsThis(QWhatsThis)");


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


sipClassTypeDef sipTypeDef_QtWidgets_QWhatsThis = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWhatsThis,
        {0},
        &plugin_QWhatsThis
    },
    {
        sipNameNr_QWhatsThis,
        {0, 0, 1},
        6, methods_QWhatsThis,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWhatsThis,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWhatsThis,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWhatsThis,
    0,
    0,
    0,
    release_QWhatsThis,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundoview.sip"
#include <qundoview.h>
#line 24661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 24665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 24668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundogroup.sip"
#include <qundogroup.h>
#line 24671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 24674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 24677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 24680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 24683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 24686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 24692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 24695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 24698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 24704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 24713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 24743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistview.sip"
#include <qlistview.h>
#line 24746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 24758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 24770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 24773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 24776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 24779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 24782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 24791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 24800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 24806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 24812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 24818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 24830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 24833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 24839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 24842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 24845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 24851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 24878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 24881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 24896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 24902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 24905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 24917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 24926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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_wheelEvent(bool, ::QWheelEvent*);
    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:
     ::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*);
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

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

const QMetaObject *sipQUndoView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QUndoView);

    return  ::QUndoView::metaObject();
}

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

 ::QStyleOptionViewItem sipQUndoView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQUndoView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QUndoView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QUndoView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[3],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QUndoView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

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

 ::QModelIndexList sipQUndoView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRegion sipQUndoView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QUndoView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQUndoView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQUndoView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQUndoView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QModelIndex sipQUndoView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

void sipQUndoView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QUndoView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QUndoView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QUndoView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QUndoView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QUndoView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QUndoView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QUndoView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QUndoView::updateGeometries();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQUndoView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QUndoView::updateEditorGeometries();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQUndoView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QUndoView::updateEditorData();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQUndoView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QUndoView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QUndoView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QUndoView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[24],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QUndoView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[25],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QUndoView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQUndoView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QUndoView::selectAll();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQUndoView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QUndoView::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QUndoView::reset();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQUndoView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQUndoView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQUndoView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QUndoView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRect sipQUndoView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QUndoView::keyboardSearch(a0);
        return;
    }

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

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QUndoView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::QUndoView::setModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQUndoView::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQUndoView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQUndoView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQUndoView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QUndoView::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQUndoView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQUndoView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQUndoView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QUndoView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QUndoView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QUndoView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QUndoView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QUndoView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QUndoView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QUndoView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QUndoView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QUndoView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QUndoView::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QUndoView::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QUndoView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QUndoView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QUndoView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QUndoView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QUndoView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QUndoView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QUndoView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QUndoView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QUndoView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QUndoView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QUndoView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QUndoView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QUndoView::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QUndoView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQUndoView::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQUndoView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QUndoView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQUndoView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQUndoView::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QUndoView::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

 ::QPainter* sipQUndoView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQUndoView::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QUndoView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQUndoView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QUndoView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQUndoView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QUndoView::viewportEvent(a0);

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQUndoView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QUndoView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QUndoView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQUndoView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QListView::wheelEvent(a0) : wheelEvent(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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 27202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 27262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

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

    {
         ::QStyleOptionFrame* a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &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_QUndoView, sipName_initStyleOption, doc_QUndoView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

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

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_viewportMargins, doc_QUndoView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_contextMenuEvent, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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_startDrag, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "rectForIndex(self, 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, "setPositionForIndex(self, 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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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, "stack(self) -> 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, "group(self) -> 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, "setEmptyLabel(self, 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, "emptyLabel(self) -> 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, "setCleanIcon(self, 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, "cleanIcon(self) -> 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, "setStack(self, 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, "setGroup(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QUndoView(void *, const sipTypeDef *);}
static void *cast_QUndoView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QUndoView *sipCpp = reinterpret_cast< ::QUndoView *>(sipCppV);

    if (targetType == sipType_QListView)
        return static_cast< ::QListView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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[] = {{212, 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_initStyleOption), (PyCFunction)meth_QUndoView_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QUndoView_viewportMargins, 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(parent: QWidget = None)\n"
    "QUndoView(QUndoStack, parent: QWidget = None)\n"
    "QUndoView(QUndoGroup, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QUndoView = {
    & ::QUndoView::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QUndoView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUndoView,
        {0},
        &plugin_QUndoView
    },
    {
        sipNameNr_QUndoView,
        {0, 0, 1},
        98, 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
};

#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 30436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 30440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 30443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 30449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 30452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 30467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 30473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 30479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 30488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQUndoStack::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QUndoStack);

    return  ::QUndoStack::metaObject();
}

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

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 30785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 30845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "clear(self)");

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, "push(self, 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, "canUndo(self) -> 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, "canRedo(self) -> 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, "undoText(self) -> 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, "redoText(self) -> 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, "count(self) -> 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, "index(self) -> 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, "text(self, 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, "createUndoAction(self, QObject, prefix: str = '') -> 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, "createRedoAction(self, QObject, prefix: str = '') -> 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, "isActive(self) -> 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, "isClean(self) -> 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, "cleanIndex(self) -> 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, "beginMacro(self, 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, "endMacro(self)");

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

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, "setActive(self, active: bool = 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, "setClean(self)");

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, "setIndex(self, 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, "undo(self)");

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_resetClean, "resetClean(self)");

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

    {
         ::QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            sipCpp->resetClean();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_resetClean, doc_QUndoStack_resetClean);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_setUndoLimit, "setUndoLimit(self, 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, "undoLimit(self) -> 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, "command(self, 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 31807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

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

    return sipCppV;
}


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

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


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[] = {{32, 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_resetClean), meth_QUndoStack_resetClean, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_resetClean)},
    {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)}
};

PyDoc_STRVAR(doc_QUndoStack, "\1QUndoStack(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QUndoStack[] = {
    {"undoTextChanged(QString)", "\1undoTextChanged(self, str)", 0, 0},
    {"redoTextChanged(QString)", "\1redoTextChanged(self, str)", 0, 0},
    {"indexChanged(int)", "\1indexChanged(self, int)", 0, 0},
    {"cleanChanged(bool)", "\1cleanChanged(self, bool)", 0, 0},
    {"canUndoChanged(bool)", "\1canUndoChanged(self, bool)", 0, 0},
    {"canRedoChanged(bool)", "\1canRedoChanged(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QUndoStack = {
    & ::QUndoStack::staticMetaObject,
    0,
    signals_QUndoStack,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QUndoStack = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUndoStack,
        {0},
        &plugin_QUndoStack
    },
    {
        sipNameNr_QUndoStack,
        {0, 0, 1},
        34, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 32005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 32009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQUndoCommand::undo()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QUndoCommand::undo();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_215(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QUndoCommand*);

    return sipVH_QtWidgets_215(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QUndoCommand_id, "id(self) -> 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 || sipIsDerivedClass((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, "mergeWith(self, 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 || sipIsDerivedClass((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, "redo(self)");

extern "C" {static PyObject *meth_QUndoCommand_redo(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_redo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setText(self, 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, "text(self) -> 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, "undo(self)");

extern "C" {static PyObject *meth_QUndoCommand_undo(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_undo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "childCount(self) -> 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, "child(self, 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, "actionText(self) -> 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;
}


PyDoc_STRVAR(doc_QUndoCommand_isObsolete, "isObsolete(self) -> bool");

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

    {
        const  ::QUndoCommand *sipCpp;

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

            sipRes = sipCpp->isObsolete();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_isObsolete, doc_QUndoCommand_isObsolete);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_setObsolete, "setObsolete(self, bool)");

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

    {
        bool a0;
         ::QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QUndoCommand, &sipCpp, &a0))
        {
            sipCpp->setObsolete(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_setObsolete, doc_QUndoCommand_setObsolete);

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

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


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_isObsolete), meth_QUndoCommand_isObsolete, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_isObsolete)},
    {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_setObsolete), meth_QUndoCommand_setObsolete, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_setObsolete)},
    {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(parent: QUndoCommand = None)\n"
    "QUndoCommand(str, parent: QUndoCommand = None)");


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


sipClassTypeDef sipTypeDef_QtWidgets_QUndoCommand = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUndoCommand,
        {0},
        &plugin_QUndoCommand
    },
    {
        sipNameNr_QUndoCommand,
        {0, 0, 1},
        11, methods_QUndoCommand,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUndoCommand,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundogroup.sip"
#include <qundogroup.h>
#line 32584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 32588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 32591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 32594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 32597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 32600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 32603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 32618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 32621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 32624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 32630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 32636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 32639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 32642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQUndoGroup::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QUndoGroup);

    return  ::QUndoGroup::metaObject();
}

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

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 32936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 32996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "addStack(self, 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, "removeStack(self, 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, "stacks(self) -> object");

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, "activeStack(self) -> 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, "createRedoAction(self, QObject, prefix: str = '') -> 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, "createUndoAction(self, QObject, prefix: str = '') -> 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, "canUndo(self) -> 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, "canRedo(self) -> 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, "undoText(self) -> 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, "redoText(self) -> 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, "isClean(self) -> 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, "redo(self)");

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, "setActiveStack(self, 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, "undo(self)");

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 inheritance hierarchy. */
extern "C" {static void *cast_QUndoGroup(void *, const sipTypeDef *);}
static void *cast_QUndoGroup(void *sipCppV, const sipTypeDef *targetType)
{
     ::QUndoGroup *sipCpp = reinterpret_cast< ::QUndoGroup *>(sipCppV);

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

    return sipCppV;
}


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

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


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

PyDoc_STRVAR(doc_QUndoGroup, "\1QUndoGroup(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QUndoGroup[] = {
    {"undoTextChanged(QString)", "\1undoTextChanged(self, str)", 0, 0},
    {"redoTextChanged(QString)", "\1redoTextChanged(self, str)", 0, 0},
    {"indexChanged(int)", "\1indexChanged(self, int)", 0, 0},
    {"cleanChanged(bool)", "\1cleanChanged(self, bool)", 0, 0},
    {"canUndoChanged(bool)", "\1canUndoChanged(self, bool)", 0, 0},
    {"canRedoChanged(bool)", "\1canRedoChanged(self, bool)", 0, 0},
    {"activeStackChanged(QUndoStack*)", "\1activeStackChanged(self, QUndoStack)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QUndoGroup = {
    & ::QUndoGroup::staticMetaObject,
    0,
    signals_QUndoGroup,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QUndoGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUndoGroup,
        {0},
        &plugin_QUndoGroup
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 33802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 33806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QTreeWidgetItemIterator_IteratorFlags___hash__(PyObject *);}
static long slot_QTreeWidgetItemIterator_IteratorFlags___hash__(PyObject *sipSelf)
{
     ::QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QTreeWidgetItemIterator::IteratorFlags::Int();
#line 33824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTreeWidgetItemIterator::IteratorFlags::Int() != 0);
#line 33849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTreeWidgetItemIterator::IteratorFlags::Int() != a0->operator QTreeWidgetItemIterator::IteratorFlags::Int());
#line 33879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTreeWidgetItemIterator::IteratorFlags::Int() == a0->operator QTreeWidgetItemIterator::IteratorFlags::Int());
#line 33915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QTreeWidgetItemIterator::IteratorFlags(*sipCpp ^ a0);
#line 33954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QTreeWidgetItemIterator::IteratorFlags(*sipCpp | a0);
#line 34026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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


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


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

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

    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 121 "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 34294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTreeWidgetItemIterator_IteratorFlags[] = {
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___xor__, xor_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___ior__, ior_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___or__, or_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___iand__, iand_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___and__, and_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___invert__, invert_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTreeWidgetItemIterator_IteratorFlags, "\1QTreeWidgetItemIterator.IteratorFlags()\n"
    "QTreeWidgetItemIterator.IteratorFlags(Union[QTreeWidgetItemIterator.IteratorFlags, QTreeWidgetItemIterator.IteratorFlag])\n"
    "QTreeWidgetItemIterator.IteratorFlags(QTreeWidgetItemIterator.IteratorFlags)");


static pyqt5ClassPluginDef plugin_QTreeWidgetItemIterator_IteratorFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTreeWidgetItemIterator_IteratorFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidgetItemIterator__IteratorFlags,
        {0},
        &plugin_QTreeWidgetItemIterator_IteratorFlags
    },
    {
        sipNameNr_IteratorFlags,
        {448, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTreeWidgetItemIterator_IteratorFlags,
    -1,
    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,
    0,
    convertTo_QTreeWidgetItemIterator_IteratorFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 34380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 34384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 34387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 34390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QTreeWidgetItemIterator_value, "value(self) -> 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 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidgetitemiterator.sip"
        // SIP doesn't support operator* so this is a thin wrapper around it.
        sipRes = sipCpp->operator*();
#line 34411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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;
}


/* 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 (sipIsOwnedByPython(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), 449},
    {sipName_Checked, static_cast<int>( ::QTreeWidgetItemIterator::Checked), 449},
    {sipName_Disabled, static_cast<int>( ::QTreeWidgetItemIterator::Disabled), 449},
    {sipName_DragDisabled, static_cast<int>( ::QTreeWidgetItemIterator::DragDisabled), 449},
    {sipName_DragEnabled, static_cast<int>( ::QTreeWidgetItemIterator::DragEnabled), 449},
    {sipName_DropDisabled, static_cast<int>( ::QTreeWidgetItemIterator::DropDisabled), 449},
    {sipName_DropEnabled, static_cast<int>( ::QTreeWidgetItemIterator::DropEnabled), 449},
    {sipName_Editable, static_cast<int>( ::QTreeWidgetItemIterator::Editable), 449},
    {sipName_Enabled, static_cast<int>( ::QTreeWidgetItemIterator::Enabled), 449},
    {sipName_HasChildren, static_cast<int>( ::QTreeWidgetItemIterator::HasChildren), 449},
    {sipName_Hidden, static_cast<int>( ::QTreeWidgetItemIterator::Hidden), 449},
    {sipName_NoChildren, static_cast<int>( ::QTreeWidgetItemIterator::NoChildren), 449},
    {sipName_NotChecked, static_cast<int>( ::QTreeWidgetItemIterator::NotChecked), 449},
    {sipName_NotEditable, static_cast<int>( ::QTreeWidgetItemIterator::NotEditable), 449},
    {sipName_NotHidden, static_cast<int>( ::QTreeWidgetItemIterator::NotHidden), 449},
    {sipName_NotSelectable, static_cast<int>( ::QTreeWidgetItemIterator::NotSelectable), 449},
    {sipName_Selectable, static_cast<int>( ::QTreeWidgetItemIterator::Selectable), 449},
    {sipName_Selected, static_cast<int>( ::QTreeWidgetItemIterator::Selected), 449},
    {sipName_Unselected, static_cast<int>( ::QTreeWidgetItemIterator::Unselected), 449},
    {sipName_UserFlag, static_cast<int>( ::QTreeWidgetItemIterator::UserFlag), 449},
};

PyDoc_STRVAR(doc_QTreeWidgetItemIterator, "\1QTreeWidgetItemIterator(QTreeWidgetItemIterator)\n"
    "QTreeWidgetItemIterator(QTreeWidget, flags: QTreeWidgetItemIterator.IteratorFlags = QTreeWidgetItemIterator.All)\n"
    "QTreeWidgetItemIterator(QTreeWidgetItem, flags: QTreeWidgetItemIterator.IteratorFlags = QTreeWidgetItemIterator.All)");


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


sipClassTypeDef sipTypeDef_QtWidgets_QTreeWidgetItemIterator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidgetItemIterator,
        {0},
        &plugin_QTreeWidgetItemIterator
    },
    {
        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,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 34682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 34686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 34689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 34692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 34695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 34707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 34713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 34722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 34725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 34731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 34737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 34740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 34743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 34755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 34758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 34761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 34776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 34779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 34788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 34803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 34806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 34809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 34818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 34827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 34830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 34833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 34836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 34842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 34848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 34857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 34860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 34863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 34866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 34869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 34872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 34875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 34878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 34881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 34902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 34908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 34911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 34914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 34920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 34926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 34929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 34932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 34935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 34947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 34956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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(const  ::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:
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData( ::QTreeWidgetItem*,int,const  ::QMimeData*, ::Qt::DropAction);
     ::QMimeData* mimeData(const QList< ::QTreeWidgetItem*>) const;
     ::QStringList mimeTypes() const;
     ::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 disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);
    void drawRow( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void drawBranches( ::QPainter*,const  ::QRect&,const  ::QModelIndex&) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTreeWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTreeWidget);

    return  ::QTreeWidget::metaObject();
}

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

 ::Qt::DropActions sipQTreeWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_115(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QTreeWidget::dropMimeData(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_214(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTreeWidgetItem*,int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_QtWidgets_214(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QTreeWidget::mimeData(a0);

    extern  ::QMimeData* sipVH_QtWidgets_213(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QTreeWidgetItem*>);

    return sipVH_QtWidgets_213(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStringList sipQTreeWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::mimeTypes();

    extern  ::QStringList sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_123(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QStyleOptionViewItem sipQTreeWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidget::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTreeWidget::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[6]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QTreeWidget::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[7],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QTreeWidget::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

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

 ::QModelIndexList sipQTreeWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRegion sipQTreeWidget::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTreeWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTreeWidget::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTreeWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTreeWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QModelIndex sipQTreeWidget::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::QTreeWidget::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

void sipQTreeWidget::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QTreeWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QTreeWidget::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QTreeWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTreeWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTreeWidget::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QTreeWidget::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QTreeWidget::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QTreeWidget::updateGeometries();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QTreeWidget::updateEditorGeometries();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QTreeWidget::updateEditorData();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidget::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QTreeWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QTreeWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QTreeWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[28],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QTreeWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QTreeWidget::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QTreeWidget::selectAll();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidget::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QTreeWidget::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QTreeWidget::reset();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTreeWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTreeWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQTreeWidget::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QTreeWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRect sipQTreeWidget::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QTreeWidget::keyboardSearch(a0);
        return;
    }

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

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QTreeWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTreeWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQTreeWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTreeWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTreeWidget::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTreeWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTreeWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTreeWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTreeWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTreeWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTreeWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTreeWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTreeWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTreeWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QTreeWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

 ::QPainter* sipQTreeWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTreeWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTreeWidget::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeWidget::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTreeWidget::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QTreeWidget::viewportEvent(a0);

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QTreeWidget::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[89],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QTreeWidget::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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[90]),sipPySelf,NULL,sipName_drawRow);

    if (!sipMeth)
    {
         ::QTreeWidget::drawRow(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

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[91]),sipPySelf,NULL,sipName_drawBranches);

    if (!sipMeth)
    {
         ::QTreeWidget::drawBranches(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_208(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,const  ::QModelIndex&);

    sipVH_QtWidgets_208(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQTreeWidget::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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(const  ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 37387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 37447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

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

    {
         ::QStyleOptionFrame* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &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_QTreeWidget, sipName_initStyleOption, doc_QTreeWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

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

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_viewportMargins, doc_QTreeWidget_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "columnResized(self, 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, "columnCountChanged(self, 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, "columnMoved(self)");

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

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, "rowsRemoved(self, 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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "drawRow(self, 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 || sipIsDerivedClass((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, "drawBranches(self, 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 || sipIsDerivedClass((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, "drawTree(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "sizeHintForColumn(self, 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 || sipIsDerivedClass((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, "indexRowSizeHint(self, 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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "rowHeight(self, 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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "columnCount(self) -> 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, "setColumnCount(self, 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, "topLevelItem(self, 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, "topLevelItemCount(self) -> 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, "insertTopLevelItem(self, 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, "addTopLevelItem(self, 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, "takeTopLevelItem(self, 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, "indexOfTopLevelItem(self, 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, "insertTopLevelItems(self, int, Iterable[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, "addTopLevelItems(self, Iterable[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, "headerItem(self) -> 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, "setHeaderItem(self, 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, "setHeaderLabels(self, Iterable[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, "currentItem(self) -> 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, "currentColumn(self) -> 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, "setCurrentItem(self, QTreeWidgetItem)\n"
    "setCurrentItem(self, QTreeWidgetItem, int)\n"
    "setCurrentItem(self, QTreeWidgetItem, int, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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, "itemAt(self, QPoint) -> QTreeWidgetItem\n"
    "itemAt(self, 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, "visualItemRect(self, 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, "sortColumn(self) -> 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, "sortItems(self, 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, "editItem(self, QTreeWidgetItem, column: int = 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, "openPersistentEditor(self, QTreeWidgetItem, column: int = 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, "closePersistentEditor(self, QTreeWidgetItem, column: int = 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, "itemWidget(self, 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, "setItemWidget(self, 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 160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 41056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "selectedItems(self) -> List[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, "findItems(self, str, Union[Qt.MatchFlags, Qt.MatchFlag], column: int = 0) -> List[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, "scrollToItem(self, QTreeWidgetItem, hint: QAbstractItemView.ScrollHint = 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, "expandItem(self, 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, "collapseItem(self, 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, "clear(self)");

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, "mimeTypes(self) -> List[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 || sipIsDerivedClass((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, "mimeData(self, Iterable[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 || sipIsDerivedClass((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, "dropMimeData(self, 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 || sipIsDerivedClass((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, "supportedDropActions(self) -> 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 || sipIsDerivedClass((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, "indexFromItem(self, QTreeWidgetItem, column: int = 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;

    {
        const  ::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, "itemFromIndex(self, 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, "event(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "invisibleRootItem(self) -> 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, "setHeaderLabel(self, 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, "isFirstItemColumnSpanned(self, 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, "setFirstItemColumnSpanned(self, 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, "itemAbove(self, 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, "itemBelow(self, 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, "removeItemWidget(self, 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 225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 41706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "setSelectionModel(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QTreeWidget(void *, const sipTypeDef *);}
static void *cast_QTreeWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTreeWidget *sipCpp = reinterpret_cast< ::QTreeWidget *>(sipCppV);

    if (targetType == sipType_QTreeView)
        return static_cast< ::QTreeView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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[] = {{443, 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_initStyleOption), (PyCFunction)meth_QTreeWidget_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QTreeWidget_viewportMargins, 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}
};

PyDoc_STRVAR(doc_QTreeWidget, "\1QTreeWidget(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTreeWidget[] = {
    {"itemSelectionChanged()", "\1itemSelectionChanged(self)", 0, 0},
    {"currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)", "\1currentItemChanged(self, QTreeWidgetItem, QTreeWidgetItem)", 0, 0},
    {"itemCollapsed(QTreeWidgetItem*)", "\1itemCollapsed(self, QTreeWidgetItem)", 0, 0},
    {"itemExpanded(QTreeWidgetItem*)", "\1itemExpanded(self, QTreeWidgetItem)", 0, 0},
    {"itemChanged(QTreeWidgetItem*,int)", "\1itemChanged(self, QTreeWidgetItem, int)", 0, 0},
    {"itemEntered(QTreeWidgetItem*,int)", "\1itemEntered(self, QTreeWidgetItem, int)", 0, 0},
    {"itemActivated(QTreeWidgetItem*,int)", "\1itemActivated(self, QTreeWidgetItem, int)", 0, 0},
    {"itemDoubleClicked(QTreeWidgetItem*,int)", "\1itemDoubleClicked(self, QTreeWidgetItem, int)", 0, 0},
    {"itemClicked(QTreeWidgetItem*,int)", "\1itemClicked(self, QTreeWidgetItem, int)", 0, 0},
    {"itemPressed(QTreeWidgetItem*,int)", "\1itemPressed(self, QTreeWidgetItem, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTreeWidget = {
    & ::QTreeWidget::staticMetaObject,
    0,
    signals_QTreeWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTreeWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidget,
        {0},
        &plugin_QTreeWidget
    },
    {
        sipNameNr_QTreeWidget,
        {0, 0, 1},
        144, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 42076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 42080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 42083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 42089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 42095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 42098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 42104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 42110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 42113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_QtWidgets_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_QtWidgets_179(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_QtWidgets_179(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_212(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QTreeWidgetItem&);

    return sipVH_QtWidgets_212(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_211(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QVariant&);

    sipVH_QtWidgets_211(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_210(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    return sipVH_QtWidgets_210(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_209(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_209(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeWidgetItem::sipProtect_emitDataChanged()
{
     ::QTreeWidgetItem::emitDataChanged();
}


PyDoc_STRVAR(doc_QTreeWidgetItem_clone, "clone(self) -> 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 || sipIsDerivedClass((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, "treeWidget(self) -> 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, "flags(self) -> 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, "text(self, 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, "icon(self, 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, "statusTip(self, 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, "toolTip(self, 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, "whatsThis(self, 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, "font(self, 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, "textAlignment(self, 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, "setTextAlignment(self, 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, "checkState(self, 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, "setCheckState(self, 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, "data(self, int, int) -> Any");

extern "C" {static PyObject *meth_QTreeWidgetItem_data(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setData(self, int, int, Any)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setData(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "read(self, 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 || sipIsDerivedClass((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, "write(self, 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 || sipIsDerivedClass((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, "parent(self) -> 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, "child(self, 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, "childCount(self) -> 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, "columnCount(self) -> 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, "addChild(self, 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, "insertChild(self, 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, "takeChild(self, 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, "type(self) -> 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, "setFlags(self, Union[Qt.ItemFlags, Qt.ItemFlag])");

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, "setText(self, 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, "setIcon(self, 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, "setStatusTip(self, 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, "setToolTip(self, 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, "setWhatsThis(self, 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, "setFont(self, 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, "indexOfChild(self, 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, "sizeHint(self, 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, "setSizeHint(self, 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, "addChildren(self, object)");

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, "insertChildren(self, int, Iterable[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, "takeChildren(self) -> List[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, "background(self, 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, "setBackground(self, int, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "foreground(self, 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, "setForeground(self, int, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "sortChildren(self, 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, "setSelected(self, 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, "isSelected(self) -> 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, "setHidden(self, 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, "isHidden(self) -> 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, "setExpanded(self, 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, "isExpanded(self) -> 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, "setChildIndicatorPolicy(self, 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, "childIndicatorPolicy(self) -> 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, "removeChild(self, 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, "setFirstColumnSpanned(self, 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, "isFirstColumnSpanned(self) -> 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, "setDisabled(self, 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, "isDisabled(self) -> 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, "emitDataChanged(self)");

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


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

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


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), 446},
    {sipName_DontShowIndicatorWhenChildless, static_cast<int>( ::QTreeWidgetItem::DontShowIndicatorWhenChildless), 446},
    {sipName_ShowIndicator, static_cast<int>( ::QTreeWidgetItem::ShowIndicator), 446},
    {sipName_Type, static_cast<int>( ::QTreeWidgetItem::Type), 447},
    {sipName_UserType, static_cast<int>( ::QTreeWidgetItem::UserType), 447},
};

PyDoc_STRVAR(doc_QTreeWidgetItem, "\1QTreeWidgetItem(type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(Iterable[str], type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidget, type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidget, Iterable[str], type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidget, QTreeWidgetItem, type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem, type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem, Iterable[str], type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem, QTreeWidgetItem, type: int = QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem)");


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


sipClassTypeDef sipTypeDef_QtWidgets_QTreeWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidgetItem,
        {0},
        &plugin_QTreeWidgetItem
    },
    {
        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,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtreeview.sip"
#include <qtreeview.h>
#line 44390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 44394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 44397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 44403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 44421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 44424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 44427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 44430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 44442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 44445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 44451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 44454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 44460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 44463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 44475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 44496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 44499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 44502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 44511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 44520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 44523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 44526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 44529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 44535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 44541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 44550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 44553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 44556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 44559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 44562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 44565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 44568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 44571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 44574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 44595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 44601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 44604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 44607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 44613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 44616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 44619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 44622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 44625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 44628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 44640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 44649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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 drawBranches( ::QPainter*,const  ::QRect&,const  ::QModelIndex&) const;
    void drawRow( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void setupViewport( ::QWidget*);
    void scrollContentsBy(int,int);
    bool viewportEvent( ::QEvent*);
     ::QSize viewportSizeHint() const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void setModel( ::QAbstractItemModel*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() const;

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

const QMetaObject *sipQTreeView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTreeView);

    return  ::QTreeView::metaObject();
}

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::drawBranches( ::QPainter*a0,const  ::QRect& a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTreeView::drawBranches(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_208(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,const  ::QModelIndex&);

    sipVH_QtWidgets_208(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1]),sipPySelf,NULL,sipName_drawRow);

    if (!sipMeth)
    {
         ::QTreeView::drawRow(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTreeView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTreeView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTreeView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::viewportEvent(a0);

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTreeView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeView::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTreeView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQTreeView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTreeView::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  ::QTreeView::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

bool sipQTreeView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTreeView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTreeView::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  ::QTreeView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTreeView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTreeView::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTreeView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTreeView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTreeView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTreeView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTreeView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTreeView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTreeView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTreeView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTreeView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTreeView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTreeView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTreeView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTreeView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTreeView::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTreeView::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTreeView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTreeView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTreeView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTreeView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTreeView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTreeView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTreeView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTreeView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTreeView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTreeView::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  ::QTreeView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTreeView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTreeView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTreeView::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTreeView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQTreeView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTreeView::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::QTreeView::setModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QTreeView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QTreeView::keyboardSearch(a0);
        return;
    }

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

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQTreeView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QTreeView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQTreeView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTreeView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QTreeView::reset();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QTreeView::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QTreeView::selectAll();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[63],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QTreeView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[64],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QTreeView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QTreeView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QTreeView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTreeView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QTreeView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTreeView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QTreeView::updateEditorData();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QTreeView::updateEditorGeometries();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QTreeView::updateGeometries();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTreeView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QTreeView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QTreeView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTreeView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTreeView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QTreeView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTreeView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QTreeView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QTreeView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQTreeView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::QTreeView::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

int sipQTreeView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTreeView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTreeView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTreeView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::QTreeView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRegion sipQTreeView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQTreeView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTreeView::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QTreeView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

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

 ::QItemSelectionModel::SelectionFlags sipQTreeView::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

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

void sipQTreeView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QTreeView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStyleOptionViewItem sipQTreeView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QTreeView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQTreeView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 46999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 47059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

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

    {
         ::QStyleOptionFrame* a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &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_QTreeView, sipName_initStyleOption, doc_QTreeView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

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

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_viewportMargins, doc_QTreeView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "event(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "setModel(self, 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 || sipIsDerivedClass((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, "setRootIndex(self, 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 || sipIsDerivedClass((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, "setSelectionModel(self, 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 || sipIsDerivedClass((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, "header(self) -> 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, "setHeader(self, 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, "indentation(self) -> 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, "setIndentation(self, 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, "rootIsDecorated(self) -> 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, "setRootIsDecorated(self, 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, "uniformRowHeights(self) -> 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, "setUniformRowHeights(self, 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, "itemsExpandable(self) -> 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, "setItemsExpandable(self, 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, "columnViewportPosition(self, 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, "columnWidth(self, 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, "columnAt(self, 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, "isColumnHidden(self, 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, "setColumnHidden(self, 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, "isRowHidden(self, 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, "setRowHidden(self, 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, "isExpanded(self, 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, "setExpanded(self, 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, "keyboardSearch(self, 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 || sipIsDerivedClass((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, "visualRect(self, 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 || sipIsDerivedClass((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, "scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = 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 || sipIsDerivedClass((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, "indexAt(self, 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 || sipIsDerivedClass((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, "indexAbove(self, 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, "indexBelow(self, 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, "reset(self)");

extern "C" {static PyObject *meth_QTreeView_reset(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "hideColumn(self, 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, "showColumn(self, 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, "expand(self, 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, "expandAll(self)");

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, "collapse(self, 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, "collapseAll(self)");

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, "resizeColumnToContents(self, 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, "selectAll(self)");

extern "C" {static PyObject *meth_QTreeView_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "columnResized(self, 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, "columnCountChanged(self, 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, "columnMoved(self)");

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

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, "rowsRemoved(self, 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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "drawRow(self, 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 || sipIsDerivedClass((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, "drawBranches(self, 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 || sipIsDerivedClass((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, "drawTree(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "sizeHintForColumn(self, 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 || sipIsDerivedClass((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, "indexRowSizeHint(self, 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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "setColumnWidth(self, 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, "setSortingEnabled(self, 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, "isSortingEnabled(self) -> 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, "setAnimated(self, 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, "isAnimated(self) -> 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, "setAllColumnsShowFocus(self, 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, "allColumnsShowFocus(self) -> 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, "sortByColumn(self, 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, "autoExpandDelay(self) -> 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, "setAutoExpandDelay(self, 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, "isFirstColumnSpanned(self, 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, "setFirstColumnSpanned(self, 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, "setWordWrap(self, 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, "wordWrap(self) -> 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, "expandToDepth(self, 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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "rowHeight(self, 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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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, "expandsOnDoubleClick(self) -> 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, "setExpandsOnDoubleClick(self, 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, "isHeaderHidden(self) -> 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, "setHeaderHidden(self, 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, "setTreePosition(self, 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, "treePosition(self) -> 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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "resetIndentation(self)");

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 inheritance hierarchy. */
extern "C" {static void *cast_QTreeView(void *, const sipTypeDef *);}
static void *cast_QTreeView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTreeView *sipCpp = reinterpret_cast< ::QTreeView *>(sipCppV);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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_initStyleOption), (PyCFunction)meth_QTreeView_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QTreeView_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {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)}
};

PyDoc_STRVAR(doc_QTreeView, "\1QTreeView(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTreeView[] = {
    {"collapsed(QModelIndex)", "\1collapsed(self, QModelIndex)", 0, 0},
    {"expanded(QModelIndex)", "\1expanded(self, QModelIndex)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTreeView = {
    & ::QTreeView::staticMetaObject,
    0,
    signals_QTreeView,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTreeView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTreeView,
        {0},
        &plugin_QTreeView
    },
    {
        sipNameNr_QTreeView,
        {0, 0, 1},
        158, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtooltip.sip"
#include <qtooltip.h>
#line 51981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 51985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 51988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 51991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 51994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 51997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 52000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QToolTip_showText, "showText(QPoint, str, widget: QWidget = None)\n"
    "showText(QPoint, str, QWidget, QRect)\n"
    "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, "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, "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, "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, "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, "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, "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, "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;
}


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


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

    {
        const  ::QToolTip* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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

PyDoc_STRVAR(doc_QToolTip, "\1QToolTip(QToolTip)");


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


sipClassTypeDef sipTypeDef_QtWidgets_QToolTip = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QToolTip,
        {0},
        &plugin_QToolTip
    },
    {
        sipNameNr_QToolTip,
        {0, 0, 1},
        8, methods_QToolTip,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QToolTip,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QToolTip,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QToolTip,
    0,
    0,
    0,
    release_QToolTip,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 52374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 52378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 52381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 52399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 52402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 52408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 52411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 52420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 52423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 52426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 52429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 52432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 52438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 52444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 52447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 52453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 52459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 52462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 52465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 52468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 52471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 52474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 52477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 52480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 52483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 52486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 52489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 52528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 52531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 52537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 52540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 52546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 52549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 52552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 52555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 52558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 52564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 52573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 52582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 52585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    bool hitButton(const  ::QPoint&) const;
    void checkStateSet();
    void nextCheckState();

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

const QMetaObject *sipQToolButton::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QToolButton);

    return  ::QToolButton::metaObject();
}

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

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

    if (!sipMeth)
    {
         ::QToolButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQToolButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQToolButton::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

bool sipQToolButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQToolButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQToolButton::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolButton::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolButton::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolButton::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QToolButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QToolButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QToolButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QToolButton::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QToolButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QToolButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QToolButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QToolButton::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QToolButton::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QToolButton::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QToolButton::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QToolButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QToolButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QToolButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QToolButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QToolButton::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QToolButton::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QToolButton::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QToolButton::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QToolButton::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQToolButton::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  ::QToolButton::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQToolButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQToolButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQToolButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QToolButton::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQToolButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQToolButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQToolButton::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolButton::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQToolButton::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  ::QToolButton::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
         ::QToolButton::checkStateSet();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQToolButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
         ::QToolButton::nextCheckState();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 53887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 53947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "checkStateSet(self)");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "toolButtonStyle(self) -> 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, "arrowType(self) -> 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, "setArrowType(self, 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, "setMenu(self, 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, "menu(self) -> 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, "setPopupMode(self, 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, "popupMode(self) -> 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, "defaultAction(self) -> 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, "setAutoRaise(self, 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, "autoRaise(self) -> 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, "showMenu(self)");

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, "setToolButtonStyle(self, 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, "setDefaultAction(self, 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, "initStyleOption(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "nextCheckState(self)");

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 || sipIsDerivedClass((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, "hitButton(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QToolButton(void *, const sipTypeDef *);}
static void *cast_QToolButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::QToolButton *sipCpp = reinterpret_cast< ::QToolButton *>(sipCppV);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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), 441},
    {sipName_InstantPopup, static_cast<int>( ::QToolButton::InstantPopup), 441},
    {sipName_MenuButtonPopup, static_cast<int>( ::QToolButton::MenuButtonPopup), 441},
};

PyDoc_STRVAR(doc_QToolButton, "\1QToolButton(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QToolButton[] = {
    {"triggered(QAction*)", "\1triggered(self, QAction)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QToolButton = {
    & ::QToolButton::staticMetaObject,
    0,
    signals_QToolButton,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QToolButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QToolButton,
        {0},
        &plugin_QToolButton
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtoolbox.sip"
#include <qtoolbox.h>
#line 56025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 56029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 56041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 56044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 56047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 56050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 56056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 56059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 56062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 56068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 56071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 56074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 56080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 56086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 56089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 56092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 56095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 56098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 56101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 56104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 56107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 56110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 56113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 56116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 56119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 56170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 56173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 56176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 56179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 56182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 56188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 56191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 56194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 56197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 56200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 56203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 56212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 56215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 56218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 56221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 56227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 56230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 56233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 sipProtect_initStyleOption( ::QStyleOptionFrame*) const;
    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 itemRemoved(int);
    void itemInserted(int);
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQToolBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QToolBox);

    return  ::QToolBox::metaObject();
}

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::itemRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBox::itemRemoved(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::itemInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBox::itemInserted(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQToolBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQToolBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

bool sipQToolBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQToolBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQToolBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBox::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QToolBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QToolBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QToolBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QToolBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QToolBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QToolBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QToolBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QToolBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QToolBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QToolBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QToolBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QToolBox::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QToolBox::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QToolBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QToolBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QToolBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QToolBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QToolBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QToolBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QToolBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QToolBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QToolBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQToolBox::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  ::QToolBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQToolBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQToolBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQToolBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QToolBox::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQToolBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQToolBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQToolBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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::sipProtect_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 57519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 57579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

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

    {
         ::QStyleOptionFrame* a0;
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &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_QToolBox, sipName_initStyleOption, doc_QToolBox_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_addItem, "addItem(self, QWidget, str) -> int\n"
    "addItem(self, 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, "insertItem(self, int, QWidget, str) -> int\n"
    "insertItem(self, 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, "removeItem(self, 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, "setItemEnabled(self, 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, "isItemEnabled(self, 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, "setItemText(self, 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, "itemText(self, 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, "setItemIcon(self, 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, "itemIcon(self, 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, "setItemToolTip(self, 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, "itemToolTip(self, 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, "currentIndex(self) -> 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, "currentWidget(self) -> 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, "widget(self, 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, "indexOf(self, 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, "count(self) -> 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, "setCurrentIndex(self, 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, "setCurrentWidget(self, 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, "itemInserted(self, 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 || sipIsDerivedClass((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, "itemRemoved(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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 59591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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 = Qt::WindowFlags();
         ::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[] = {{99, 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_initStyleOption), (PyCFunction)meth_QToolBox_initStyleOption, 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)}
};

PyDoc_STRVAR(doc_QToolBox, "\1QToolBox(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QToolBox[] = {
    {"currentChanged(int)", "\1currentChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QToolBox = {
    & ::QToolBox::staticMetaObject,
    0,
    signals_QToolBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QToolBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QToolBox,
        {0},
        &plugin_QToolBox
    },
    {
        sipNameNr_QToolBox,
        {0, 0, 1},
        68, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtoolbar.sip"
#include <qtoolbar.h>
#line 59832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 59836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 59839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 59851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 59857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 59863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 59866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 59869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 59872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 59875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 59878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 59881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 59887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 59893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 59899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 59902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 59905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 59908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 59911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 59914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 59917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 59920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 59923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 59926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 59929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 59980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 59983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 59986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 59989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 59995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 59998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 60001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 60004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 60007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 60010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 60016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 60019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 60022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 60025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 60028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 60031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 60034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 60037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 60040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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

const QMetaObject *sipQToolBar::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QToolBar);

    return  ::QToolBar::metaObject();
}

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

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

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

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQToolBar::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQToolBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQToolBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQToolBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBar::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQToolBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQToolBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQToolBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QToolBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QToolBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QToolBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QToolBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QToolBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QToolBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QToolBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QToolBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QToolBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QToolBar::enterEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QToolBar::leaveEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QToolBar::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QToolBar::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QToolBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QToolBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QToolBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QToolBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QToolBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QToolBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QToolBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QToolBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QToolBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QToolBar::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QToolBar::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QToolBar::changeEvent(a0);
        return;
    }

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQToolBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QToolBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQToolBar::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQToolBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QToolBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQToolBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQToolBar::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QToolBar::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

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

 ::QPainter* sipQToolBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QToolBar::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQToolBar::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QToolBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 61276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 61336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setMovable(self, 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, "isMovable(self) -> 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, "setAllowedAreas(self, Union[Qt.ToolBarAreas, Qt.ToolBarArea])");

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, "allowedAreas(self) -> 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, "isAreaAllowed(self, 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, "setOrientation(self, 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, "orientation(self) -> 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, "clear(self)");

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, "addAction(self, QAction)\n"
    "addAction(self, str) -> QAction\n"
    "addAction(self, QIcon, str) -> QAction\n"
    "addAction(self, str, PYQT_SLOT) -> QAction\n"
    "addAction(self, QIcon, str, PYQT_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.9-1.i686/build/py3/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 62845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/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 62884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "addSeparator(self) -> 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, "insertSeparator(self, 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, "addWidget(self, 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, "insertWidget(self, 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, "actionGeometry(self, 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, "actionAt(self, QPoint) -> QAction\n"
    "actionAt(self, 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, "toggleViewAction(self) -> 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, "iconSize(self) -> 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, "toolButtonStyle(self) -> 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, "widgetForAction(self, 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, "setIconSize(self, 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, "setToolButtonStyle(self, 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, "initStyleOption(self, 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, "actionEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "isFloatable(self) -> 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, "setFloatable(self, 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, "isFloating(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QToolBar(void *, const sipTypeDef *);}
static void *cast_QToolBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QToolBar *sipCpp = reinterpret_cast< ::QToolBar *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

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


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

PyDoc_STRVAR(doc_QToolBar, "\1QToolBar(str, parent: QWidget = None)\n"
    "QToolBar(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QToolBar[] = {
    {"visibilityChanged(bool)", "\1visibilityChanged(self, bool)", 0, 0},
    {"topLevelChanged(bool)", "\1topLevelChanged(self, bool)", 0, 0},
    {"toolButtonStyleChanged(Qt::ToolButtonStyle)", "\1toolButtonStyleChanged(self, Qt.ToolButtonStyle)", 0, 0},
    {"iconSizeChanged(QSize)", "\1iconSizeChanged(self, QSize)", 0, 0},
    {"orientationChanged(Qt::Orientation)", "\1orientationChanged(self, Qt.Orientation)", 0, 0},
    {"allowedAreasChanged(Qt::ToolBarAreas)", "\1allowedAreasChanged(self, Union[Qt.ToolBarAreas, Qt.ToolBarArea])", 0, 0},
    {"movableChanged(bool)", "\1movableChanged(self, bool)", 0, 0},
    {"actionTriggered(QAction*)", "\1actionTriggered(self, QAction)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QToolBar = {
    & ::QToolBar::staticMetaObject,
    0,
    signals_QToolBar,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QToolBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QToolBar,
        {0},
        &plugin_QToolBar
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 63743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 63747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QTextEdit_AutoFormatting___hash__(PyObject *);}
static long slot_QTextEdit_AutoFormatting___hash__(PyObject *sipSelf)
{
     ::QTextEdit::AutoFormatting *sipCpp = reinterpret_cast< ::QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QTextEdit::AutoFormatting::Int();
#line 63765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextEdit::AutoFormatting::Int() != 0);
#line 63790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextEdit::AutoFormatting::Int() != a0->operator QTextEdit::AutoFormatting::Int());
#line 63820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextEdit::AutoFormatting::Int() == a0->operator QTextEdit::AutoFormatting::Int());
#line 63856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QTextEdit::AutoFormatting(*sipCpp ^ a0);
#line 63895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QTextEdit::AutoFormatting(*sipCpp | a0);
#line 63967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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


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


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

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

    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 121 "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 64235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextEdit_AutoFormatting[] = {
    {(void *)slot_QTextEdit_AutoFormatting___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QTextEdit_AutoFormatting___xor__, xor_slot},
    {(void *)slot_QTextEdit_AutoFormatting___ior__, ior_slot},
    {(void *)slot_QTextEdit_AutoFormatting___or__, or_slot},
    {(void *)slot_QTextEdit_AutoFormatting___iand__, iand_slot},
    {(void *)slot_QTextEdit_AutoFormatting___and__, and_slot},
    {(void *)slot_QTextEdit_AutoFormatting___invert__, invert_slot},
    {(void *)slot_QTextEdit_AutoFormatting___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextEdit_AutoFormatting, "\1QTextEdit.AutoFormatting()\n"
    "QTextEdit.AutoFormatting(Union[QTextEdit.AutoFormatting, QTextEdit.AutoFormattingFlag])\n"
    "QTextEdit.AutoFormatting(QTextEdit.AutoFormatting)");


static pyqt5ClassPluginDef plugin_QTextEdit_AutoFormatting = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTextEdit_AutoFormatting = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextEdit__AutoFormatting,
        {0},
        &plugin_QTextEdit_AutoFormatting
    },
    {
        sipNameNr_AutoFormatting,
        {432, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextEdit_AutoFormatting,
    -1,
    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,
    0,
    convertTo_QTextEdit_AutoFormatting,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 64323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 64327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 249 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 64330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* 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 (sipIsOwnedByPython(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 *, PyObject *)
{
     ::QTextCursor*sipVal;
     ::QTextEdit::ExtraSelection *sipCpp = reinterpret_cast< ::QTextEdit::ExtraSelection *>(sipSelf);

    sipVal = &sipCpp->cursor;

    return sipConvertFromType(sipVal, sipType_QTextCursor, NULL);
}


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 *, PyObject *)
{
     ::QTextCharFormat*sipVal;
     ::QTextEdit::ExtraSelection *sipCpp = reinterpret_cast< ::QTextEdit::ExtraSelection *>(sipSelf);

    sipVal = &sipCpp->format;

    return sipConvertFromType(sipVal, sipType_QTextCharFormat, NULL);
}


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


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


sipClassTypeDef sipTypeDef_QtWidgets_QTextEdit_ExtraSelection = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextEdit__ExtraSelection,
        {0},
        &plugin_QTextEdit_ExtraSelection
    },
    {
        sipNameNr_ExtraSelection,
        {432, 255, 0},
        0, 0,
        0, 0,
        2, variables_QTextEdit_ExtraSelection,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextEdit_ExtraSelection,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextbrowser.sip"
#include <qtextbrowser.h>
#line 64531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 64535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 64538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 64541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 64559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 64562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 64565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 64574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 249 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 64604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 64610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpagedpaintdevice.sip"
#include <qpagedpaintdevice.h>
#line 64613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 64616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 64624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 64630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 64633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 64636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 64639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 64642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 64645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 64648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 64651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 64654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 64657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 64663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 64666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 64669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 64672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 64675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 64678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 64681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 64684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 64687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 64690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 64696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 64705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 64708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 64711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 64714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 64717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 64720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 64723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 64726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 64729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 64747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 64753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 64756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 64759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 64765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 64768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 64771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 64774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 64777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 64780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 64792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 64798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 64801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
     ::QSize sipProtectVirt_viewportSizeHint(bool) const;
    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 reload();
    void home();
    void forward();
    void backward();
    void setSource(const  ::QUrl&);
    void setupViewport( ::QWidget*);
    void scrollContentsBy(int,int);
    bool viewportEvent( ::QEvent*);
     ::QSize viewportSizeHint() const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
     ::QVariant loadResource(int,const  ::QUrl&);
     ::QMimeData* createMimeDataFromSelection() const;
    bool canInsertFromMimeData(const  ::QMimeData*) const;
    void insertFromMimeData(const  ::QMimeData*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[59];
};

sipQTextBrowser::sipQTextBrowser( ::QWidget*a0):  ::QTextBrowser(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQTextBrowser::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTextBrowser);

    return  ::QTextBrowser::metaObject();
}

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::reload()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTextBrowser::reload();
        return;
    }

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

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextBrowser::home()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QTextBrowser::home();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextBrowser::forward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_forward);

    if (!sipMeth)
    {
         ::QTextBrowser::forward();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextBrowser::backward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_backward);

    if (!sipMeth)
    {
         ::QTextBrowser::backward();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextBrowser::setSource(const  ::QUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setSource);

    if (!sipMeth)
    {
         ::QTextBrowser::setSource(a0);
        return;
    }

    extern void sipVH_QtWidgets_207(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QUrl&);

    sipVH_QtWidgets_207(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QTextBrowser::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QTextBrowser::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTextBrowser::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QTextBrowser::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTextBrowser::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QTextBrowser::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextBrowser::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QTextBrowser::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQTextBrowser::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QTextBrowser::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTextBrowser::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QTextBrowser::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTextBrowser::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QTextBrowser::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTextBrowser::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTextBrowser::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTextBrowser::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QTextBrowser::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTextBrowser::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  ::QTextBrowser::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTextBrowser::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QTextBrowser::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTextBrowser::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QTextBrowser::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextBrowser::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTextBrowser::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTextBrowser::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QTextBrowser::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQTextBrowser::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QTextBrowser::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTextBrowser::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QTextBrowser::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTextBrowser::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTextBrowser::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTextBrowser::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTextBrowser::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTextBrowser::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTextBrowser::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTextBrowser::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTextBrowser::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTextBrowser::loadResource(int a0,const  ::QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return  ::QTextBrowser::loadResource(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_183(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QUrl&);

    return sipVH_QtWidgets_183(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QMimeData* sipQTextBrowser::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return  ::QTextBrowser::createMimeDataFromSelection();

    extern  ::QMimeData* sipVH_QtWidgets_184(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_184(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTextBrowser::canInsertFromMimeData(const  ::QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return  ::QTextBrowser::canInsertFromMimeData(a0);

    extern bool sipVH_QtWidgets_185(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    return sipVH_QtWidgets_185(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::insertFromMimeData(const  ::QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
         ::QTextBrowser::insertFromMimeData(a0);
        return;
    }

    extern void sipVH_QtWidgets_186(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    sipVH_QtWidgets_186(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQTextBrowser::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

 ::QSize sipQTextBrowser::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QAbstractScrollArea::viewportSizeHint() : viewportSizeHint());
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 66329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 66389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QTextBrowser_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &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_QTextBrowser, sipName_initStyleOption, doc_QTextBrowser_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QTextBrowser_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_viewportMargins, doc_QTextBrowser_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_viewportSizeHint, "viewportSizeHint(self) -> QSize");

extern "C" {static PyObject *meth_QTextBrowser_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &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_QTextBrowser, sipName_viewportSizeHint, doc_QTextBrowser_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_viewportEvent, "viewportEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "createMimeDataFromSelection(self) -> 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 || sipIsDerivedClass((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, "canInsertFromMimeData(self, 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 || sipIsDerivedClass((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, "insertFromMimeData(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "source(self) -> 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, "searchPaths(self) -> List[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, "setSearchPaths(self, Iterable[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, "loadResource(self, int, QUrl) -> Any");

extern "C" {static PyObject *meth_QTextBrowser_loadResource(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_loadResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setSource(self, 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 || sipIsDerivedClass((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, "backward(self)");

extern "C" {static PyObject *meth_QTextBrowser_backward(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_backward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "forward(self)");

extern "C" {static PyObject *meth_QTextBrowser_forward(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_forward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "home(self)");

extern "C" {static PyObject *meth_QTextBrowser_home(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_home(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "reload(self)");

extern "C" {static PyObject *meth_QTextBrowser_reload(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_reload(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "isBackwardAvailable(self) -> 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, "isForwardAvailable(self) -> 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, "clearHistory(self)");

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, "openExternalLinks(self) -> 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, "setOpenExternalLinks(self, 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, "openLinks(self) -> 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, "setOpenLinks(self, 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, "historyTitle(self, 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, "historyUrl(self, 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, "backwardHistoryCount(self) -> 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, "forwardHistoryCount(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QTextBrowser(void *, const sipTypeDef *);}
static void *cast_QTextBrowser(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTextBrowser *sipCpp = reinterpret_cast< ::QTextBrowser *>(sipCppV);

    if (targetType == sipType_QTextEdit)
        return static_cast< ::QTextEdit *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTextBrowser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextBrowser(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{432, 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_initStyleOption), (PyCFunction)meth_QTextBrowser_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QTextBrowser_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QTextBrowser_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTextBrowser_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QTextBrowser, "\1QTextBrowser(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTextBrowser[] = {
    {"historyChanged()", "\1historyChanged(self)", 0, 0},
    {"anchorClicked(QUrl)", "\1anchorClicked(self, QUrl)", 0, 0},
    {"highlighted(QUrl)", "\1highlighted(self, QUrl)", 0, 0},
    {"highlighted(QString)", "\1highlighted(self, str)", 0, 0},
    {"sourceChanged(QUrl)", "\1sourceChanged(self, QUrl)", 0, 0},
    {"forwardAvailable(bool)", "\1forwardAvailable(self, bool)", 0, 0},
    {"backwardAvailable(bool)", "\1backwardAvailable(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTextBrowser = {
    & ::QTextBrowser::staticMetaObject,
    0,
    signals_QTextBrowser,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTextBrowser = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextBrowser,
        {0},
        &plugin_QTextBrowser
    },
    {
        sipNameNr_QTextBrowser,
        {0, 0, 1},
        77, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 68849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 68853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 68856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 68859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 68862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 68865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 68871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 249 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 68916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 68919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 68922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpagedpaintdevice.sip"
#include <qpagedpaintdevice.h>
#line 68925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 68928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 68936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 68939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 68942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 68945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 68948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 68951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 68954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 68957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 68960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 68963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 68966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 68969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 68975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 68978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 68981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 68984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 68987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 68990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 68993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 68996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 68999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 69002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 69005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 69008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 69011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 69014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 69017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 69020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 69023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 69026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 69029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 69032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 69035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 69038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 69041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 69044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 69047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 69050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 69053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 69056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 69059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 69062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 69065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 69068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 69071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 69074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 69077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 69080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 69083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 69086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 69089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 69092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 69095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 69098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 69101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 69104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 69107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 69110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 69113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
     ::QSize sipProtectVirt_viewportSizeHint(bool) const;
    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 insertFromMimeData(const  ::QMimeData*);
    bool canInsertFromMimeData(const  ::QMimeData*) const;
     ::QMimeData* createMimeDataFromSelection() const;
     ::QVariant loadResource(int,const  ::QUrl&);
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTextEdit(const sipQTextEdit &);
    sipQTextEdit &operator = (const sipQTextEdit &);

    char sipPyMethods[54];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTextEdit::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTextEdit);

    return  ::QTextEdit::metaObject();
}

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::insertFromMimeData(const  ::QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
         ::QTextEdit::insertFromMimeData(a0);
        return;
    }

    extern void sipVH_QtWidgets_186(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    sipVH_QtWidgets_186(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::canInsertFromMimeData(const  ::QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return  ::QTextEdit::canInsertFromMimeData(a0);

    extern bool sipVH_QtWidgets_185(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    return sipVH_QtWidgets_185(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QMimeData* sipQTextEdit::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return  ::QTextEdit::createMimeDataFromSelection();

    extern  ::QMimeData* sipVH_QtWidgets_184(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_184(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QVariant sipQTextEdit::loadResource(int a0,const  ::QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return  ::QTextEdit::loadResource(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_183(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QUrl&);

    return sipVH_QtWidgets_183(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTextEdit::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTextEdit::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTextEdit::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTextEdit::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTextEdit::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTextEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTextEdit::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTextEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTextEdit::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTextEdit::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  ::QTextEdit::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQTextEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QTextEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTextEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QTextEdit::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTextEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTextEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QTextEdit::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTextEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QTextEdit::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTextEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTextEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTextEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTextEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTextEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTextEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTextEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTextEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTextEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTextEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTextEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTextEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTextEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTextEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTextEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTextEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTextEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTextEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTextEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTextEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTextEdit::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTextEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTextEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTextEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTextEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QTextEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTextEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QTextEdit::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTextEdit::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QTextEdit::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQTextEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QTextEdit::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTextEdit::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QTextEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTextEdit::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QTextEdit::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTextEdit::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QTextEdit::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTextEdit::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QTextEdit::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTextEdit::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QTextEdit::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQTextEdit::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

 ::QSize sipQTextEdit::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QAbstractScrollArea::viewportSizeHint() : viewportSizeHint());
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 70552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 70612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QTextEdit_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &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_QTextEdit, sipName_initStyleOption, doc_QTextEdit_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QTextEdit_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_viewportMargins, doc_QTextEdit_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_viewportSizeHint, "viewportSizeHint(self) -> QSize");

extern "C" {static PyObject *meth_QTextEdit_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &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_QTextEdit, sipName_viewportSizeHint, doc_QTextEdit_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_viewportEvent, "viewportEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "setDocument(self, 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, "document(self) -> 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, "setTextCursor(self, 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, "textCursor(self) -> 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, "isReadOnly(self) -> 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, "setReadOnly(self, 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, "fontPointSize(self) -> 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, "fontFamily(self) -> 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, "fontWeight(self) -> 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, "fontUnderline(self) -> 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, "fontItalic(self) -> 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, "textColor(self) -> 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, "currentFont(self) -> 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, "alignment(self) -> 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, "mergeCurrentCharFormat(self, 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, "setCurrentCharFormat(self, 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, "currentCharFormat(self) -> 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, "autoFormatting(self) -> 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, "setAutoFormatting(self, Union[QTextEdit.AutoFormatting, QTextEdit.AutoFormattingFlag])");

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, "tabChangesFocus(self) -> 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, "setTabChangesFocus(self, 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, "setDocumentTitle(self, 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, "documentTitle(self) -> 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, "isUndoRedoEnabled(self) -> 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, "setUndoRedoEnabled(self, 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, "lineWrapMode(self) -> 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, "setLineWrapMode(self, 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, "lineWrapColumnOrWidth(self) -> 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, "setLineWrapColumnOrWidth(self, 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, "wordWrapMode(self) -> 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, "setWordWrapMode(self, 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, "find(self, str, options: Union[QTextDocument.FindFlags, QTextDocument.FindFlag] = QTextDocument.FindFlags()) -> bool\n"
    "find(self, QRegExp, options: Union[QTextDocument.FindFlags, QTextDocument.FindFlag] = QTextDocument.FindFlags()) -> 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 = QTextDocument::FindFlags();
         ::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 = QTextDocument::FindFlags();
         ::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, "toPlainText(self) -> 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, "toHtml(self) -> 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, "append(self, 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, "ensureCursorVisible(self)");

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, "loadResource(self, int, QUrl) -> Any");

extern "C" {static PyObject *meth_QTextEdit_loadResource(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_loadResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "createStandardContextMenu(self) -> QMenu\n"
    "createStandardContextMenu(self, 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, "cursorForPosition(self, 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, "cursorRect(self, QTextCursor) -> QRect\n"
    "cursorRect(self) -> 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, "anchorAt(self, 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, "overwriteMode(self) -> 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, "setOverwriteMode(self, 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, "tabStopWidth(self) -> 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, "setTabStopWidth(self, 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, "acceptRichText(self) -> 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, "setAcceptRichText(self, 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, "setTextInteractionFlags(self, Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])");

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, "textInteractionFlags(self) -> 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, "setCursorWidth(self, 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, "cursorWidth(self) -> 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, "setExtraSelections(self, Iterable[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, "extraSelections(self) -> List[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, "canPaste(self) -> 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, "moveCursor(self, QTextCursor.MoveOperation, mode: QTextCursor.MoveMode = 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_, "print_(self, 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_print, "print(self, 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, "setFontPointSize(self, 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, "setFontFamily(self, 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, "setFontWeight(self, 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, "setFontUnderline(self, 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, "setFontItalic(self, 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, "setText(self, 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, "setTextColor(self, Union[QColor, Qt.GlobalColor, QGradient])");

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, "setCurrentFont(self, 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "setPlainText(self, 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, "setHtml(self, 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, "cut(self)");

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, "copy(self)");

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, "paste(self)");

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, "clear(self)");

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, "selectAll(self)");

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, "insertPlainText(self, 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, "insertHtml(self, 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, "scrollToAnchor(self, 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, "redo(self)");

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, "undo(self)");

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, "zoomIn(self, range: int = 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, "zoomOut(self, range: int = 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, "event(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "createMimeDataFromSelection(self) -> 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 || sipIsDerivedClass((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, "canInsertFromMimeData(self, 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 || sipIsDerivedClass((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, "insertFromMimeData(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any\n"
    "inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any");

extern "C" {static PyObject *meth_QTextEdit_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "textBackgroundColor(self) -> 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, "setTextBackgroundColor(self, Union[QColor, Qt.GlobalColor, QGradient])");

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, "setPlaceholderText(self, 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, "placeholderText(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QTextEdit(void *, const sipTypeDef *);}
static void *cast_QTextEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTextEdit *sipCpp = reinterpret_cast< ::QTextEdit *>(sipCppV);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTextEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QTextEdit_initStyleOption, 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_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_viewportMargins), (PyCFunction)meth_QTextEdit_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QTextEdit_viewportSizeHint, 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), 434},
    {sipName_AutoBulletList, static_cast<int>( ::QTextEdit::AutoBulletList), 434},
    {sipName_AutoNone, static_cast<int>( ::QTextEdit::AutoNone), 434},
    {sipName_FixedColumnWidth, static_cast<int>( ::QTextEdit::FixedColumnWidth), 436},
    {sipName_FixedPixelWidth, static_cast<int>( ::QTextEdit::FixedPixelWidth), 436},
    {sipName_NoWrap, static_cast<int>( ::QTextEdit::NoWrap), 436},
    {sipName_WidgetWidth, static_cast<int>( ::QTextEdit::WidgetWidth), 436},
};

PyDoc_STRVAR(doc_QTextEdit, "\1QTextEdit(parent: QWidget = None)\n"
    "QTextEdit(str, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTextEdit[] = {
    {"cursorPositionChanged()", "\1cursorPositionChanged(self)", 0, 0},
    {"selectionChanged()", "\1selectionChanged(self)", 0, 0},
    {"copyAvailable(bool)", "\1copyAvailable(self, bool)", 0, 0},
    {"currentCharFormatChanged(QTextCharFormat)", "\1currentCharFormatChanged(self, QTextCharFormat)", 0, 0},
    {"redoAvailable(bool)", "\1redoAvailable(self, bool)", 0, 0},
    {"undoAvailable(bool)", "\1undoAvailable(self, bool)", 0, 0},
    {"textChanged()", "\1textChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTextEdit = {
    & ::QTextEdit::staticMetaObject,
    0,
    signals_QTextEdit,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTextEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextEdit,
        {0},
        &plugin_QTextEdit
    },
    {
        sipNameNr_QTextEdit,
        {0, 0, 1},
        142, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabwidget.sip"
#include <qtabwidget.h>
#line 75115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 75119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 75122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 75125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 75128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 75131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 75146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 75149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 75152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 75155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 75158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 75161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 75164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 75167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 75170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 75173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 75176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 75179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 75182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 75185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 75188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 75191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 75194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 75197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 75200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 75203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 75206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 75209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 75212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 75215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 75257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 75260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 75263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 75266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 75269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 75272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 75275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 75278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 75281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 75284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 75287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 75290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 75293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 75296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 75299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 75302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 75305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 75308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 75311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 75314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 75317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 75320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 75323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 tabRemoved(int);
    void tabInserted(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*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTabWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTabWidget);

    return  ::QTabWidget::metaObject();
}

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::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
         ::QTabWidget::tabRemoved(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
         ::QTabWidget::tabInserted(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTabWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTabWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTabWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTabWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTabWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTabWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTabWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTabWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTabWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTabWidget::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  ::QTabWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQTabWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QTabWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTabWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QTabWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTabWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTabWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTabWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QTabWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTabWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QTabWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTabWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QTabWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTabWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTabWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTabWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTabWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTabWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTabWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTabWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTabWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTabWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTabWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTabWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTabWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTabWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTabWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTabWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTabWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTabWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTabWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTabWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTabWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTabWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTabWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTabWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTabWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTabWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTabWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTabWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QTabWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTabWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTabWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTabWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QTabWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTabWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QTabWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQTabWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QTabWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTabWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QTabWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 76609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 76669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "clear(self)");

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, "addTab(self, QWidget, str) -> int\n"
    "addTab(self, 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, "insertTab(self, int, QWidget, str) -> int\n"
    "insertTab(self, 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, "removeTab(self, 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, "isTabEnabled(self, 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, "setTabEnabled(self, 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, "tabText(self, 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, "setTabText(self, 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, "tabIcon(self, 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, "setTabIcon(self, 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, "setTabToolTip(self, 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, "tabToolTip(self, 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, "setTabWhatsThis(self, 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, "tabWhatsThis(self, 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, "currentIndex(self) -> 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, "currentWidget(self) -> 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, "widget(self, 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, "indexOf(self, 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, "count(self) -> 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, "tabPosition(self) -> 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, "setTabPosition(self, 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, "tabShape(self) -> 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, "setTabShape(self, 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "setCornerWidget(self, QWidget, corner: Qt.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, "cornerWidget(self, corner: Qt.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, "setCurrentIndex(self, 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, "setCurrentWidget(self, 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, "initStyleOption(self, 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, "tabInserted(self, 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 || sipIsDerivedClass((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, "tabRemoved(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "setTabBar(self, 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, "tabBar(self) -> 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, "changeEvent(self, 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 || sipIsDerivedClass((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, "elideMode(self) -> 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, "setElideMode(self, 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, "iconSize(self) -> 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, "setIconSize(self, 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, "usesScrollButtons(self) -> 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, "setUsesScrollButtons(self, 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, "tabsClosable(self) -> 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, "setTabsClosable(self, 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, "isMovable(self) -> 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, "setMovable(self, 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, "documentMode(self) -> 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, "setDocumentMode(self, 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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "tabBarAutoHide(self) -> 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, "setTabBarAutoHide(self, 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 79484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QTabWidget(void *, const sipTypeDef *);}
static void *cast_QTabWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTabWidget *sipCpp = reinterpret_cast< ::QTabWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTabWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTabWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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), 422},
    {sipName_North, static_cast<int>( ::QTabWidget::North), 422},
    {sipName_Rounded, static_cast<int>( ::QTabWidget::Rounded), 423},
    {sipName_South, static_cast<int>( ::QTabWidget::South), 422},
    {sipName_Triangular, static_cast<int>( ::QTabWidget::Triangular), 423},
    {sipName_West, static_cast<int>( ::QTabWidget::West), 422},
};

PyDoc_STRVAR(doc_QTabWidget, "\1QTabWidget(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTabWidget[] = {
    {"tabBarDoubleClicked(int)", "\1tabBarDoubleClicked(self, int)", 0, 0},
    {"tabBarClicked(int)", "\1tabBarClicked(self, int)", 0, 0},
    {"tabCloseRequested(int)", "\1tabCloseRequested(self, int)", 0, 0},
    {"currentChanged(int)", "\1currentChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTabWidget = {
    & ::QTabWidget::staticMetaObject,
    0,
    signals_QTabWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTabWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTabWidget,
        {0},
        &plugin_QTabWidget
    },
    {
        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
};

#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 79757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 79761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 79764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 79770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 45 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 79773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 79776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 79779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 79782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 79791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 79794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 79797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 79800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 79803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 79809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 79812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 79815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 79818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 79821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 79824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 79827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 79833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 79839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 79842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 79845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 79851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 79854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 79878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 79881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 79884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 79887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 79890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 79896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 79905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 79908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 79911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 79914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 79917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 79920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 79923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 79929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 79938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 79941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 79944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 79947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 79950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 79953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 79956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 79959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 79962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 79983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 79986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 79989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 79992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 79995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 80001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 80004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 80007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 80010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 80013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 80016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 80019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 80022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 80025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 80028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 80031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 80034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 80037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 80040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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:
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(int,int,const  ::QMimeData*, ::Qt::DropAction);
     ::QMimeData* mimeData(const QList< ::QTableWidgetItem*>) const;
     ::QStringList mimeTypes() const;
     ::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 disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTableWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTableWidget);

    return  ::QTableWidget::metaObject();
}

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));
}

 ::Qt::DropActions sipQTableWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QTableWidget::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_115(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QTableWidget::dropMimeData(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_206(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_QtWidgets_206(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QTableWidget::mimeData(a0);

    extern  ::QMimeData* sipVH_QtWidgets_205(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QTableWidgetItem*>);

    return sipVH_QtWidgets_205(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStringList sipQTableWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QTableWidget::mimeTypes();

    extern  ::QStringList sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_123(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QStyleOptionViewItem sipQTableWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::QTableWidget::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableWidget::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QTableWidget::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[6]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QTableWidget::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[7],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QTableWidget::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_67(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndexList sipQTableWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QTableWidget::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRegion sipQTableWidget::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QTableWidget::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::QTableWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTableWidget::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::QTableWidget::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTableWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::QTableWidget::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTableWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::QTableWidget::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QModelIndex sipQTableWidget::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::QTableWidget::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

void sipQTableWidget::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QTableWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QTableWidget::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QTableWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTableWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTableWidget::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QTableWidget::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QTableWidget::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QTableWidget::updateGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QTableWidget::updateEditorGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QTableWidget::updateEditorData();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableWidget::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QTableWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableWidget::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QTableWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableWidget::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QTableWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[28],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QTableWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[29],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QTableWidget::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QTableWidget::selectAll();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableWidget::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QTableWidget::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QTableWidget::reset();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTableWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::QTableWidget::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTableWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::QTableWidget::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQTableWidget::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::QTableWidget::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QTableWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRect sipQTableWidget::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::QTableWidget::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QTableWidget::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QTableWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTableWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTableWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTableWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTableWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTableWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTableWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTableWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTableWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTableWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTableWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QTableWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQTableWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QTableWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTableWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QTableWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTableWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTableWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QTableWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTableWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QTableWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTableWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QTableWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTableWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTableWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTableWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTableWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTableWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTableWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTableWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTableWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTableWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTableWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTableWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTableWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTableWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTableWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTableWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTableWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTableWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTableWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTableWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTableWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTableWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTableWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTableWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTableWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTableWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTableWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTableWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QTableWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTableWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTableWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTableWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QTableWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTableWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QTableWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQTableWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QTableWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QTableWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTableWidget::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QTableWidget::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTableWidget::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QTableWidget::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QTableWidget::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableWidget::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[89],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QTableWidget::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQTableWidget::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 82430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 82490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QTableWidget_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &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_QTableWidget, sipName_initStyleOption, doc_QTableWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QTableWidget_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_viewportMargins, doc_QTableWidget_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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, "executeDelayedItemsLayout(self)");

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "rowMoved(self, 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, "columnMoved(self, 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, "rowResized(self, 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, "columnResized(self, 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, "rowCountChanged(self, 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, "columnCountChanged(self, 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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "sizeHintForRow(self, 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 || sipIsDerivedClass((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, "sizeHintForColumn(self, 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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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, "setRowCount(self, 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, "rowCount(self) -> 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, "setColumnCount(self, 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, "columnCount(self) -> 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, "row(self, 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, "column(self, 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, "item(self, 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, "setItem(self, 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, "takeItem(self, 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, "verticalHeaderItem(self, 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, "setVerticalHeaderItem(self, 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, "takeVerticalHeaderItem(self, 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, "horizontalHeaderItem(self, 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, "setHorizontalHeaderItem(self, 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, "takeHorizontalHeaderItem(self, 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, "setVerticalHeaderLabels(self, Iterable[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, "setHorizontalHeaderLabels(self, Iterable[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, "currentRow(self) -> 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, "currentColumn(self) -> 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, "currentItem(self) -> 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, "setCurrentItem(self, QTableWidgetItem)\n"
    "setCurrentItem(self, QTableWidgetItem, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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, "setCurrentCell(self, int, int)\n"
    "setCurrentCell(self, int, int, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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, "sortItems(self, int, order: Qt.SortOrder = 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, "setSortingEnabled(self, 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, "isSortingEnabled(self) -> 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, "editItem(self, 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, "openPersistentEditor(self, 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, "closePersistentEditor(self, 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, "cellWidget(self, 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, "setCellWidget(self, 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 147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 86169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "removeCellWidget(self, 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 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 86213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "setRangeSelected(self, 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, "selectedRanges(self) -> object");

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, "selectedItems(self) -> object");

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, "findItems(self, str, Union[Qt.MatchFlags, Qt.MatchFlag]) -> List[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, "visualRow(self, 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, "visualColumn(self, 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, "itemAt(self, QPoint) -> QTableWidgetItem\n"
    "itemAt(self, 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, "visualItemRect(self, 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, "itemPrototype(self) -> 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, "setItemPrototype(self, 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, "scrollToItem(self, QTableWidgetItem, hint: QAbstractItemView.ScrollHint = 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, "insertRow(self, 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, "insertColumn(self, 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, "removeRow(self, 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, "removeColumn(self, 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, "clear(self)");

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, "clearContents(self)");

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, "mimeTypes(self) -> List[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 || sipIsDerivedClass((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, "mimeData(self, Iterable[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 || sipIsDerivedClass((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, "dropMimeData(self, 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 || sipIsDerivedClass((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, "supportedDropActions(self) -> 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 || sipIsDerivedClass((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, "items(self, QMimeData) -> List[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, "indexFromItem(self, 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, "itemFromIndex(self, 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, "event(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QTableWidget(void *, const sipTypeDef *);}
static void *cast_QTableWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTableWidget *sipCpp = reinterpret_cast< ::QTableWidget *>(sipCppV);

    if (targetType == sipType_QTableView)
        return static_cast< ::QTableView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTableWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTableWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{424, 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_initStyleOption), (PyCFunction)meth_QTableWidget_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QTableWidget_viewportMargins, 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}
};

PyDoc_STRVAR(doc_QTableWidget, "\1QTableWidget(parent: QWidget = None)\n"
    "QTableWidget(int, int, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTableWidget[] = {
    {"currentCellChanged(int,int,int,int)", "\1currentCellChanged(self, int, int, int, int)", 0, 0},
    {"cellChanged(int,int)", "\1cellChanged(self, int, int)", 0, 0},
    {"cellEntered(int,int)", "\1cellEntered(self, int, int)", 0, 0},
    {"cellActivated(int,int)", "\1cellActivated(self, int, int)", 0, 0},
    {"cellDoubleClicked(int,int)", "\1cellDoubleClicked(self, int, int)", 0, 0},
    {"cellClicked(int,int)", "\1cellClicked(self, int, int)", 0, 0},
    {"cellPressed(int,int)", "\1cellPressed(self, int, int)", 0, 0},
    {"itemSelectionChanged()", "\1itemSelectionChanged(self)", 0, 0},
    {"currentItemChanged(QTableWidgetItem*,QTableWidgetItem*)", "\1currentItemChanged(self, QTableWidgetItem, QTableWidgetItem)", 0, 0},
    {"itemChanged(QTableWidgetItem*)", "\1itemChanged(self, QTableWidgetItem)", 0, 0},
    {"itemEntered(QTableWidgetItem*)", "\1itemEntered(self, QTableWidgetItem)", 0, 0},
    {"itemActivated(QTableWidgetItem*)", "\1itemActivated(self, QTableWidgetItem)", 0, 0},
    {"itemDoubleClicked(QTableWidgetItem*)", "\1itemDoubleClicked(self, QTableWidgetItem)", 0, 0},
    {"itemClicked(QTableWidgetItem*)", "\1itemClicked(self, QTableWidgetItem)", 0, 0},
    {"itemPressed(QTableWidgetItem*)", "\1itemPressed(self, QTableWidgetItem)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTableWidget = {
    & ::QTableWidget::staticMetaObject,
    0,
    signals_QTableWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTableWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTableWidget,
        {0},
        &plugin_QTableWidget
    },
    {
        sipNameNr_QTableWidget,
        {0, 0, 1},
        152, 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
};

#line 45 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 87363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 87367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 87370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 87373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 87376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 87379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 87382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 87385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 87388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 87391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 87394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_QtWidgets_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_QtWidgets_179(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_QtWidgets_179(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_204(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QTableWidgetItem&);

    return sipVH_QtWidgets_204(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_177(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QVariant&);

    sipVH_QtWidgets_177(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern  ::QVariant sipVH_QtWidgets_176(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_176(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_203(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_203(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QTableWidgetItem_clone, "clone(self) -> 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 || sipIsDerivedClass((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, "tableWidget(self) -> 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, "flags(self) -> 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, "text(self) -> 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, "icon(self) -> 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, "statusTip(self) -> 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, "toolTip(self) -> 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, "whatsThis(self) -> 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, "font(self) -> 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, "textAlignment(self) -> 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, "setTextAlignment(self, 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, "checkState(self) -> 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, "setCheckState(self, 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, "data(self, int) -> Any");

extern "C" {static PyObject *meth_QTableWidgetItem_data(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setData(self, int, Any)");

extern "C" {static PyObject *meth_QTableWidgetItem_setData(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "read(self, 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 || sipIsDerivedClass((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, "write(self, 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 || sipIsDerivedClass((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, "type(self) -> 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, "setFlags(self, Union[Qt.ItemFlags, Qt.ItemFlag])");

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, "setText(self, 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, "setIcon(self, 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, "setStatusTip(self, 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, "setToolTip(self, 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, "setWhatsThis(self, 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, "setFont(self, 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, "sizeHint(self) -> 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, "setSizeHint(self, 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, "background(self) -> 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, "setBackground(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "foreground(self) -> 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, "setForeground(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "row(self) -> 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, "column(self) -> 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, "setSelected(self, 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, "isSelected(self) -> 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);
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTableWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTableWidgetItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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), 427},
    {sipName_UserType, static_cast<int>( ::QTableWidgetItem::UserType), 427},
};

PyDoc_STRVAR(doc_QTableWidgetItem, "\1QTableWidgetItem(type: int = QTableWidgetItem.Type)\n"
    "QTableWidgetItem(str, type: int = QTableWidgetItem.Type)\n"
    "QTableWidgetItem(QIcon, str, type: int = QTableWidgetItem.Type)\n"
    "QTableWidgetItem(QTableWidgetItem)");


static pyqt5ClassPluginDef plugin_QTableWidgetItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTableWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTableWidgetItem,
        {0},
        &plugin_QTableWidgetItem
    },
    {
        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,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 88848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"



PyDoc_STRVAR(doc_QTableWidgetSelectionRange_topRow, "topRow(self) -> 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, "bottomRow(self) -> 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, "leftColumn(self) -> 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, "rightColumn(self) -> 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, "rowCount(self) -> 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, "columnCount(self) -> 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;
}


/* 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 (sipIsOwnedByPython(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)");


static pyqt5ClassPluginDef plugin_QTableWidgetSelectionRange = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTableWidgetSelectionRange = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTableWidgetSelectionRange,
        {0},
        &plugin_QTableWidgetSelectionRange
    },
    {
        sipNameNr_QTableWidgetSelectionRange,
        {0, 0, 1},
        6, methods_QTableWidgetSelectionRange,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTableWidgetSelectionRange,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtableview.sip"
#include <qtableview.h>
#line 89176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 89180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 89183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 89186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 89192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 89198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 89201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 89204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 89207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 89213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 89219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 89222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 89225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 89228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 89231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 89237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 89240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 89267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 89273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 89276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 89279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 89282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 89285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 89294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 89303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 89306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 89309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 89312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 89315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 89318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 89321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 89327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 89336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 89339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 89342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 89345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 89348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 89351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 89354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 89357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 89360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 89381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 89387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 89390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 89393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 89399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 89402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 89405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 89408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 89411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 89414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 89417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 89426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 89432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 89435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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 setupViewport( ::QWidget*);
    void scrollContentsBy(int,int);
    bool viewportEvent( ::QEvent*);
     ::QSize viewportSizeHint() const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void setModel( ::QAbstractItemModel*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTableView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTableView);

    return  ::QTableView::metaObject();
}

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::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QTableView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QTableView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTableView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QTableView::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTableView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QTableView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTableView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTableView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTableView::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  ::QTableView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTableView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTableView::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTableView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTableView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTableView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTableView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTableView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTableView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTableView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTableView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTableView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTableView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTableView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTableView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTableView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTableView::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTableView::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTableView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTableView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTableView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTableView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTableView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTableView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTableView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTableView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTableView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTableView::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  ::QTableView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTableView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QTableView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTableView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QTableView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTableView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTableView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QTableView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQTableView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QTableView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTableView::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  ::QTableView::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTableView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTableView::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTableView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTableView::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTableView::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTableView::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTableView::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTableView::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTableView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::QTableView::setModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QTableView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QTableView::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQTableView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::QTableView::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QTableView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQTableView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::QTableView::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTableView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::QTableView::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTableView::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  ::QTableView::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QTableView::reset();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QTableView::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QTableView::selectAll();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableView::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QTableView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[62],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QTableView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableView::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)
    {
         ::QTableView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QTableView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QTableView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QTableView::updateEditorData();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QTableView::updateEditorGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QTableView::updateGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTableView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QTableView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QTableView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTableView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTableView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QTableView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QTableView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QTableView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQTableView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::QTableView::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

int sipQTableView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::QTableView::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTableView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::QTableView::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTableView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::QTableView::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTableView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::QTableView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRegion sipQTableView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QTableView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQTableView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QTableView::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTableView::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QTableView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_67(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QItemSelectionModel::SelectionFlags sipQTableView::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QTableView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QTableView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStyleOptionViewItem sipQTableView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::QTableView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQTableView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 91735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 91795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QTableView_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &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_QTableView, sipName_initStyleOption, doc_QTableView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QTableView_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_viewportMargins, doc_QTableView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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, "executeDelayedItemsLayout(self)");

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "event(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "setModel(self, 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 || sipIsDerivedClass((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, "setRootIndex(self, 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 || sipIsDerivedClass((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, "setSelectionModel(self, 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 || sipIsDerivedClass((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, "horizontalHeader(self) -> 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, "verticalHeader(self) -> 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, "setHorizontalHeader(self, 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, "setVerticalHeader(self, 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, "rowViewportPosition(self, 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, "setRowHeight(self, 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, "rowHeight(self, 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, "rowAt(self, 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, "columnViewportPosition(self, 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, "setColumnWidth(self, 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, "columnWidth(self, 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, "columnAt(self, 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, "isRowHidden(self, 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, "setRowHidden(self, 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, "isColumnHidden(self, 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, "setColumnHidden(self, 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, "showGrid(self) -> 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, "setShowGrid(self, 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, "gridStyle(self) -> 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, "setGridStyle(self, 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, "visualRect(self, 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 || sipIsDerivedClass((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, "scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = 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 || sipIsDerivedClass((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, "indexAt(self, 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 || sipIsDerivedClass((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, "selectRow(self, 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, "selectColumn(self, 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, "hideRow(self, 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, "hideColumn(self, 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, "showRow(self, 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, "showColumn(self, 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, "resizeRowToContents(self, 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, "resizeRowsToContents(self)");

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, "resizeColumnToContents(self, 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, "resizeColumnsToContents(self)");

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, "rowMoved(self, 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, "columnMoved(self, 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, "rowResized(self, 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, "columnResized(self, 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, "rowCountChanged(self, 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, "columnCountChanged(self, 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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "sizeHintForRow(self, 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 || sipIsDerivedClass((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, "sizeHintForColumn(self, 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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "setSortingEnabled(self, 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, "isSortingEnabled(self) -> 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, "setSpan(self, 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, "rowSpan(self, 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, "columnSpan(self, 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, "sortByColumn(self, 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, "setWordWrap(self, 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, "wordWrap(self) -> 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, "setCornerButtonEnabled(self, 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, "isCornerButtonEnabled(self) -> 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, "clearSpans(self)");

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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QTableView(void *, const sipTypeDef *);}
static void *cast_QTableView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTableView *sipCpp = reinterpret_cast< ::QTableView *>(sipCppV);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTableView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTableView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QTableView_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QTableView_viewportMargins, 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(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QTableView = {
    & ::QTableView::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTableView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTableView,
        {0},
        &plugin_QTableView
    },
    {
        sipNameNr_QTableView,
        {0, 0, 1},
        143, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 96272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 96276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 96279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 96282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 96285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 96294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 96312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 96315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 96318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 96321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 96324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 96327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 96330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 96333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 96336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 96339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 96342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 96345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 96348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 96351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 96354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 96357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 96360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 96363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 96366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 96369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 96372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 96375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 96378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 96381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 96384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 96420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 96423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 96426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 96429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 96432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 96435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 96438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 96441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 96444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 96447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 96450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 96453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 96456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 96459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 96462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 96465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 96468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 96471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 96474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 96477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 96480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QSize minimumTabSizeHint(int) const;
    void tabLayoutChange();
    void tabRemoved(int);
    void tabInserted(int);
     ::QSize tabSizeHint(int) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTabBar::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTabBar);

    return  ::QTabBar::metaObject();
}

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));
}

 ::QSize sipQTabBar::minimumTabSizeHint(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_minimumTabSizeHint);

    if (!sipMeth)
        return  ::QTabBar::minimumTabSizeHint(a0);

    extern  ::QSize sipVH_QtWidgets_166(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_166(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::tabLayoutChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_tabLayoutChange);

    if (!sipMeth)
    {
         ::QTabBar::tabLayoutChange();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTabBar::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
         ::QTabBar::tabRemoved(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
         ::QTabBar::tabInserted(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTabBar::tabSizeHint(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_tabSizeHint);

    if (!sipMeth)
        return  ::QTabBar::tabSizeHint(a0);

    extern  ::QSize sipVH_QtWidgets_166(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_166(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTabBar::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTabBar::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTabBar::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTabBar::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTabBar::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTabBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTabBar::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTabBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTabBar::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQTabBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QTabBar::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTabBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QTabBar::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTabBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTabBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTabBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QTabBar::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTabBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QTabBar::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTabBar::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  ::QTabBar::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTabBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTabBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTabBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTabBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTabBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTabBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTabBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTabBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTabBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTabBar::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTabBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTabBar::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTabBar::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTabBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTabBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTabBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTabBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTabBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTabBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTabBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTabBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTabBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTabBar::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTabBar::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTabBar::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTabBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTabBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTabBar::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QTabBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTabBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTabBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTabBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QTabBar::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTabBar::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QTabBar::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQTabBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QTabBar::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTabBar::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QTabBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 97829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 97889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "shape(self) -> 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, "setShape(self, 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, "addTab(self, str) -> int\n"
    "addTab(self, 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, "insertTab(self, int, str) -> int\n"
    "insertTab(self, 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, "removeTab(self, 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, "isTabEnabled(self, 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, "setTabEnabled(self, 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, "tabText(self, 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, "setTabText(self, 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, "tabTextColor(self, 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, "setTabTextColor(self, int, Union[QColor, Qt.GlobalColor, QGradient])");

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, "tabIcon(self, 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, "setTabIcon(self, 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, "setTabToolTip(self, 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, "tabToolTip(self, 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, "setTabWhatsThis(self, 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, "tabWhatsThis(self, 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, "setTabData(self, int, Any)");

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, "tabData(self, int) -> Any");

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, "tabAt(self, 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, "tabRect(self, 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, "currentIndex(self) -> 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, "count(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "setDrawBase(self, 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, "drawBase(self) -> 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, "iconSize(self) -> 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, "setIconSize(self, 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, "elideMode(self) -> 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, "setElideMode(self, 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, "setUsesScrollButtons(self, 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, "usesScrollButtons(self) -> 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, "setCurrentIndex(self, 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, "initStyleOption(self, 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, "tabSizeHint(self, 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 || sipIsDerivedClass((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, "tabInserted(self, 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 || sipIsDerivedClass((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, "tabRemoved(self, 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 || sipIsDerivedClass((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, "tabLayoutChange(self)");

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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "moveTab(self, 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, "tabsClosable(self) -> 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, "setTabsClosable(self, 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, "setTabButton(self, 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, "tabButton(self, 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, "selectionBehaviorOnRemove(self) -> 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, "setSelectionBehaviorOnRemove(self, 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, "expanding(self) -> 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, "setExpanding(self, 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, "isMovable(self) -> 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, "setMovable(self, 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, "documentMode(self) -> 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, "setDocumentMode(self, 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, "hideEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "minimumTabSizeHint(self, 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 || sipIsDerivedClass((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, "autoHide(self) -> 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, "setAutoHide(self, 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, "changeCurrentOnDrag(self) -> 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, "setChangeCurrentOnDrag(self, 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, "timerEvent(self, 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 || sipIsDerivedClass((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;
}


PyDoc_STRVAR(doc_QTabBar_accessibleTabName, "accessibleTabName(self, int) -> str");

extern "C" {static PyObject *meth_QTabBar_accessibleTabName(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_accessibleTabName(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->accessibleTabName(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_accessibleTabName, doc_QTabBar_accessibleTabName);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setAccessibleTabName, "setAccessibleTabName(self, int, str)");

extern "C" {static PyObject *meth_QTabBar_setAccessibleTabName(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setAccessibleTabName(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->setAccessibleTabName(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_setAccessibleTabName, doc_QTabBar_setAccessibleTabName);

    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 100961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QTabBar(void *, const sipTypeDef *);}
static void *cast_QTabBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTabBar *sipCpp = reinterpret_cast< ::QTabBar *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTabBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTabBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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_accessibleTabName), meth_QTabBar_accessibleTabName, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_accessibleTabName)},
    {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_setAccessibleTabName), meth_QTabBar_setAccessibleTabName, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setAccessibleTabName)},
    {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), 418},
    {sipName_RightSide, static_cast<int>( ::QTabBar::RightSide), 418},
    {sipName_RoundedEast, static_cast<int>( ::QTabBar::RoundedEast), 420},
    {sipName_RoundedNorth, static_cast<int>( ::QTabBar::RoundedNorth), 420},
    {sipName_RoundedSouth, static_cast<int>( ::QTabBar::RoundedSouth), 420},
    {sipName_RoundedWest, static_cast<int>( ::QTabBar::RoundedWest), 420},
    {sipName_SelectLeftTab, static_cast<int>( ::QTabBar::SelectLeftTab), 419},
    {sipName_SelectPreviousTab, static_cast<int>( ::QTabBar::SelectPreviousTab), 419},
    {sipName_SelectRightTab, static_cast<int>( ::QTabBar::SelectRightTab), 419},
    {sipName_TriangularEast, static_cast<int>( ::QTabBar::TriangularEast), 420},
    {sipName_TriangularNorth, static_cast<int>( ::QTabBar::TriangularNorth), 420},
    {sipName_TriangularSouth, static_cast<int>( ::QTabBar::TriangularSouth), 420},
    {sipName_TriangularWest, static_cast<int>( ::QTabBar::TriangularWest), 420},
};

PyDoc_STRVAR(doc_QTabBar, "\1QTabBar(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTabBar[] = {
    {"tabBarDoubleClicked(int)", "\1tabBarDoubleClicked(self, int)", 0, 0},
    {"tabBarClicked(int)", "\1tabBarClicked(self, int)", 0, 0},
    {"tabMoved(int,int)", "\1tabMoved(self, int, int)", 0, 0},
    {"tabCloseRequested(int)", "\1tabCloseRequested(self, int)", 0, 0},
    {"currentChanged(int)", "\1currentChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTabBar = {
    & ::QTabBar::staticMetaObject,
    0,
    signals_QTabBar,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTabBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTabBar,
        {0},
        &plugin_QTabBar
    },
    {
        sipNameNr_QTabBar,
        {0, 0, 1},
        105, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsystemtrayicon.sip"
#include <qsystemtrayicon.h>
#line 101251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 101255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 101258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 101261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 101264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 101267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 101270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 101273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 101276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 101279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 101282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 101285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 101288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 101291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 101294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 101297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 101300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 101303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 101306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 101309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSystemTrayIcon::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSystemTrayIcon);

    return  ::QSystemTrayIcon::metaObject();
}

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));
}

bool sipQSystemTrayIcon::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSystemTrayIcon::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSystemTrayIcon::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSystemTrayIcon::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQSystemTrayIcon::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSystemTrayIcon::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSystemTrayIcon::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSystemTrayIcon::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSystemTrayIcon::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSystemTrayIcon::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSystemTrayIcon::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSystemTrayIcon::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 101615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 101675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "setContextMenu(self, 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, "contextMenu(self) -> 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, "geometry(self) -> 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, "icon(self) -> 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, "setIcon(self, 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, "toolTip(self) -> 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, "setToolTip(self, 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, "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, "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, "showMessage(self, str, str, icon: QSystemTrayIcon.MessageIcon = QSystemTrayIcon.Information, msecs: int = 10000)\n"
    "showMessage(self, str, str, QIcon, msecs: int = 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;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QIcon* a2;
        int a3 = 10000;
         ::QSystemTrayIcon *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1J9|i", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QIcon, &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, "isVisible(self) -> 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, "hide(self)");

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, "setVisible(self, 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, "show(self)");

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, "event(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QSystemTrayIcon(void *, const sipTypeDef *);}
static void *cast_QSystemTrayIcon(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSystemTrayIcon *sipCpp = reinterpret_cast< ::QSystemTrayIcon *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSystemTrayIcon *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSystemTrayIcon(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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), 415},
    {sipName_Critical, static_cast<int>( ::QSystemTrayIcon::Critical), 416},
    {sipName_DoubleClick, static_cast<int>( ::QSystemTrayIcon::DoubleClick), 415},
    {sipName_Information, static_cast<int>( ::QSystemTrayIcon::Information), 416},
    {sipName_MiddleClick, static_cast<int>( ::QSystemTrayIcon::MiddleClick), 415},
    {sipName_NoIcon, static_cast<int>( ::QSystemTrayIcon::NoIcon), 416},
    {sipName_Trigger, static_cast<int>( ::QSystemTrayIcon::Trigger), 415},
    {sipName_Unknown, static_cast<int>( ::QSystemTrayIcon::Unknown), 415},
    {sipName_Warning, static_cast<int>( ::QSystemTrayIcon::Warning), 416},
};

PyDoc_STRVAR(doc_QSystemTrayIcon, "\1QSystemTrayIcon(parent: QObject = None)\n"
    "QSystemTrayIcon(QIcon, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSystemTrayIcon[] = {
    {"messageClicked()", "\1messageClicked(self)", 0, 0},
    {"activated(QSystemTrayIcon::ActivationReason)", "\1activated(self, QSystemTrayIcon.ActivationReason)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSystemTrayIcon = {
    & ::QSystemTrayIcon::staticMetaObject,
    0,
    signals_QSystemTrayIcon,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSystemTrayIcon = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSystemTrayIcon,
        {0},
        &plugin_QSystemTrayIcon
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstylepainter.sip"
#include <qstylepainter.h>
#line 102561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 102565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 102568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 102571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 102574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 102577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 102580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 102583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 102586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 102589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 102592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtGui/qglyphrun.sip"
#include <qglyphrun.h>
#line 102595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 102598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qstatictext.sip"
#include <qstatictext.h>
#line 102601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 102604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 102607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 102610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 102613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 102616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 102619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 102622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qline.sip"
#include <qline.h>
#line 102625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qline.sip"
#include <qline.h>
#line 102628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 102631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 102634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 102637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 102640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 102643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpicture.sip"
#include <qpicture.h>
#line 102646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 102649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 102652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 102655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 102658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 102661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 102664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 102667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 102670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 102673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 102676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 102679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 102682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 102685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 102688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStylePainter_begin, "begin(self, QWidget) -> bool\n"
    "begin(self, 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, "style(self) -> 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, "drawPrimitive(self, 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, "drawControl(self, 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, "drawComplexControl(self, 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, "drawItemText(self, QRect, int, QPalette, bool, str, textRole: QPalette.ColorRole = 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, "drawItemPixmap(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QStylePainter(void *, const sipTypeDef *);}
static void *cast_QStylePainter(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStylePainter *sipCpp = reinterpret_cast< ::QStylePainter *>(sipCppV);

    if (targetType == sipType_QPainter)
        return static_cast< ::QPainter *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{39, 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)");


static pyqt5ClassPluginDef plugin_QStylePainter = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStylePainter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStylePainter,
        {0},
        &plugin_QStylePainter
    },
    {
        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
};

#line 1035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 103081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleHintReturnVariant(void *, const sipTypeDef *);}
static void *cast_QStyleHintReturnVariant(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleHintReturnVariant *sipCpp = reinterpret_cast< ::QStyleHintReturnVariant *>(sipCppV);

    if (targetType == sipType_QStyleHintReturn)
        return static_cast< ::QStyleHintReturn *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{301, 255, 1}};

static sipEnumMemberDef enummembers_QStyleHintReturnVariant[] = {
    {sipName_Type, static_cast<int>( ::QStyleHintReturnVariant::Type), 309},
    {sipName_Version, static_cast<int>( ::QStyleHintReturnVariant::Version), 310},
};


extern "C" {static PyObject *varget_QStyleHintReturnVariant_variant(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleHintReturnVariant_variant(void *sipSelf, PyObject *, PyObject *)
{
     ::QVariant*sipVal;
     ::QStyleHintReturnVariant *sipCpp = reinterpret_cast< ::QStyleHintReturnVariant *>(sipSelf);

    sipVal = &sipCpp->variant;

    return sipConvertFromType(sipVal, sipType_QVariant, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleHintReturnVariant = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleHintReturnVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleHintReturnVariant,
        {0},
        &plugin_QStyleHintReturnVariant
    },
    {
        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
};

#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 103279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 103282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 103285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStyleOptionGraphicsItem_levelOfDetailFromTransform, "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 inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionGraphicsItem(void *, const sipTypeDef *);}
static void *cast_QStyleOptionGraphicsItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionGraphicsItem *sipCpp = reinterpret_cast< ::QStyleOptionGraphicsItem *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 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), 338},
    {sipName_Version, static_cast<int>( ::QStyleOptionGraphicsItem::Version), 339},
};


extern "C" {static PyObject *varget_QStyleOptionGraphicsItem_exposedRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGraphicsItem_exposedRect(void *sipSelf, PyObject *, PyObject *)
{
     ::QRectF*sipVal;
     ::QStyleOptionGraphicsItem *sipCpp = reinterpret_cast< ::QStyleOptionGraphicsItem *>(sipSelf);

    sipVal = &sipCpp->exposedRect;

    return sipConvertFromType(sipVal, sipType_QRectF, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionGraphicsItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionGraphicsItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionGraphicsItem,
        {0},
        &plugin_QStyleOptionGraphicsItem
    },
    {
        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
};

#line 990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 103513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 103516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionSizeGrip(void *, const sipTypeDef *);}
static void *cast_QStyleOptionSizeGrip(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionSizeGrip *sipCpp = reinterpret_cast< ::QStyleOptionSizeGrip *>(sipCppV);

    if (targetType == sipType_QStyleOptionComplex)
        return static_cast< ::QStyleOptionComplex *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{323, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionSizeGrip[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionSizeGrip::Type), 361},
    {sipName_Version, static_cast<int>( ::QStyleOptionSizeGrip::Version), 362},
};


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionSizeGrip = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionSizeGrip = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionSizeGrip,
        {0},
        &plugin_QStyleOptionSizeGrip
    },
    {
        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
};

#line 963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 103715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 103718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 103721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 103724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionGroupBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionGroupBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionGroupBox *sipCpp = reinterpret_cast< ::QStyleOptionGroupBox *>(sipCppV);

    if (targetType == sipType_QStyleOptionComplex)
        return static_cast< ::QStyleOptionComplex *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{323, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionGroupBox[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionGroupBox::Type), 341},
    {sipName_Version, static_cast<int>( ::QStyleOptionGroupBox::Version), 342},
};


extern "C" {static PyObject *varget_QStyleOptionGroupBox_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGroupBox_features(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyleOptionFrame::FrameFeatures*sipVal;
     ::QStyleOptionGroupBox *sipCpp = reinterpret_cast< ::QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->features;

    return sipConvertFromType(sipVal, sipType_QStyleOptionFrame_FrameFeatures, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionGroupBox *sipCpp = reinterpret_cast< ::QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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 *, PyObject *)
{
     ::Qt::Alignment*sipVal;
     ::QStyleOptionGroupBox *sipCpp = reinterpret_cast< ::QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->textAlignment;

    return sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
}


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 *, PyObject *)
{
     ::QColor*sipVal;
     ::QStyleOptionGroupBox *sipCpp = reinterpret_cast< ::QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->textColor;

    return sipConvertFromType(sipVal, sipType_QColor, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionGroupBox = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionGroupBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionGroupBox,
        {0},
        &plugin_QStyleOptionGroupBox
    },
    {
        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
};

#line 919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 104086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 104090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyleOptionToolBar_ToolBarFeatures___hash__(PyObject *);}
static long slot_QStyleOptionToolBar_ToolBarFeatures___hash__(PyObject *sipSelf)
{
     ::QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast< ::QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyleOptionToolBar::ToolBarFeatures::Int();
#line 104108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolBar::ToolBarFeatures::Int() != 0);
#line 104133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolBar::ToolBarFeatures::Int() != a0->operator QStyleOptionToolBar::ToolBarFeatures::Int());
#line 104163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolBar::ToolBarFeatures::Int() == a0->operator QStyleOptionToolBar::ToolBarFeatures::Int());
#line 104199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionToolBar::ToolBarFeatures(*sipCpp ^ a0);
#line 104238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionToolBar::ToolBarFeatures(*sipCpp | a0);
#line 104310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionToolBar::ToolBarFeatures();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyleOptionToolBar::ToolBarFeatures(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 104578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionToolBar_ToolBarFeatures[] = {
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___iand__, iand_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionToolBar_ToolBarFeatures, "\1QStyleOptionToolBar.ToolBarFeatures()\n"
    "QStyleOptionToolBar.ToolBarFeatures(Union[QStyleOptionToolBar.ToolBarFeatures, QStyleOptionToolBar.ToolBarFeature])\n"
    "QStyleOptionToolBar.ToolBarFeatures(QStyleOptionToolBar.ToolBarFeatures)");


static pyqt5ClassPluginDef plugin_QStyleOptionToolBar_ToolBarFeatures = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolBar_ToolBarFeatures = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolBar__ToolBarFeatures,
        {0},
        &plugin_QStyleOptionToolBar_ToolBarFeatures
    },
    {
        sipNameNr_ToolBarFeatures,
        {387, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionToolBar_ToolBarFeatures,
    -1,
    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,
    0,
    convertTo_QStyleOptionToolBar_ToolBarFeatures,
    0,
    0,
    0,
    0,
    0
};

#line 919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 104664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 104668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 104671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 104674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionToolBar(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionToolBar *sipCpp = reinterpret_cast< ::QStyleOptionToolBar *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionToolBar[] = {
    {sipName_Beginning, static_cast<int>( ::QStyleOptionToolBar::Beginning), 392},
    {sipName_End, static_cast<int>( ::QStyleOptionToolBar::End), 392},
    {sipName_Middle, static_cast<int>( ::QStyleOptionToolBar::Middle), 392},
    {sipName_Movable, static_cast<int>( ::QStyleOptionToolBar::Movable), 390},
    {sipName_None_, static_cast<int>( ::QStyleOptionToolBar::None), 390},
    {sipName_OnlyOne, static_cast<int>( ::QStyleOptionToolBar::OnlyOne), 392},
    {sipName_Type, static_cast<int>( ::QStyleOptionToolBar::Type), 388},
    {sipName_Version, static_cast<int>( ::QStyleOptionToolBar::Version), 389},
};


extern "C" {static PyObject *varget_QStyleOptionToolBar_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBar_features(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyleOptionToolBar::ToolBarFeatures*sipVal;
     ::QStyleOptionToolBar *sipCpp = reinterpret_cast< ::QStyleOptionToolBar *>(sipSelf);

    sipVal = &sipCpp->features;

    return sipConvertFromType(sipVal, sipType_QStyleOptionToolBar_ToolBarFeatures, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionToolBar = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolBar,
        {0},
        &plugin_QStyleOptionToolBar
    },
    {
        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
};

#line 897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 105028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleHintReturnMask(void *, const sipTypeDef *);}
static void *cast_QStyleHintReturnMask(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleHintReturnMask *sipCpp = reinterpret_cast< ::QStyleHintReturnMask *>(sipCppV);

    if (targetType == sipType_QStyleHintReturn)
        return static_cast< ::QStyleHintReturn *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{301, 255, 1}};

static sipEnumMemberDef enummembers_QStyleHintReturnMask[] = {
    {sipName_Type, static_cast<int>( ::QStyleHintReturnMask::Type), 306},
    {sipName_Version, static_cast<int>( ::QStyleHintReturnMask::Version), 307},
};


extern "C" {static PyObject *varget_QStyleHintReturnMask_region(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleHintReturnMask_region(void *sipSelf, PyObject *, PyObject *)
{
     ::QRegion*sipVal;
     ::QStyleHintReturnMask *sipCpp = reinterpret_cast< ::QStyleHintReturnMask *>(sipSelf);

    sipVal = &sipCpp->region;

    return sipConvertFromType(sipVal, sipType_QRegion, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleHintReturnMask = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleHintReturnMask = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleHintReturnMask,
        {0},
        &plugin_QStyleHintReturnMask
    },
    {
        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
};

#line 867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"



/* 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 (sipIsOwnedByPython(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), 302},
    {sipName_SH_Mask, static_cast<int>( ::QStyleHintReturn::SH_Mask), 302},
    {sipName_SH_Variant, static_cast<int>( ::QStyleHintReturn::SH_Variant), 302},
    {sipName_Type, static_cast<int>( ::QStyleHintReturn::Type), 303},
    {sipName_Version, static_cast<int>( ::QStyleHintReturn::Version), 304},
};


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(version: int = QStyleOption.Version, type: int = QStyleHintReturn.SH_Default)\n"
    "QStyleHintReturn(QStyleHintReturn)");


static pyqt5ClassPluginDef plugin_QStyleHintReturn = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleHintReturn = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleHintReturn,
        {0},
        &plugin_QStyleHintReturn
    },
    {
        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,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 105437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 105440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 105443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 105446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionTitleBar(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTitleBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionTitleBar *sipCpp = reinterpret_cast< ::QStyleOptionTitleBar *>(sipCppV);

    if (targetType == sipType_QStyleOptionComplex)
        return static_cast< ::QStyleOptionComplex *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{323, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTitleBar[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionTitleBar::Type), 385},
    {sipName_Version, static_cast<int>( ::QStyleOptionTitleBar::Version), 386},
};


extern "C" {static PyObject *varget_QStyleOptionTitleBar_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTitleBar_icon(void *sipSelf, PyObject *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionTitleBar *sipCpp = reinterpret_cast< ::QStyleOptionTitleBar *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionTitleBar *sipCpp = reinterpret_cast< ::QStyleOptionTitleBar *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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 *, PyObject *)
{
     ::Qt::WindowFlags*sipVal;
     ::QStyleOptionTitleBar *sipCpp = reinterpret_cast< ::QStyleOptionTitleBar *>(sipSelf);

    sipVal = &sipCpp->titleBarFlags;

    return sipConvertFromType(sipVal, sipType_Qt_WindowFlags, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionTitleBar = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTitleBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTitleBar,
        {0},
        &plugin_QStyleOptionTitleBar
    },
    {
        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
};

#line 815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 105744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 105747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 105750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 105753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 105756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionComboBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionComboBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionComboBox *sipCpp = reinterpret_cast< ::QStyleOptionComboBox *>(sipCppV);

    if (targetType == sipType_QStyleOptionComplex)
        return static_cast< ::QStyleOptionComplex *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{323, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionComboBox[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionComboBox::Type), 321},
    {sipName_Version, static_cast<int>( ::QStyleOptionComboBox::Version), 322},
};


extern "C" {static PyObject *varget_QStyleOptionComboBox_currentIcon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComboBox_currentIcon(void *sipSelf, PyObject *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionComboBox *sipCpp = reinterpret_cast< ::QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->currentIcon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionComboBox *sipCpp = reinterpret_cast< ::QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->currentText;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionComboBox *sipCpp = reinterpret_cast< ::QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOptionComboBox *sipCpp = reinterpret_cast< ::QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->popupRect;

    return sipConvertFromType(sipVal, sipType_QRect, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionComboBox = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionComboBox,
        {0},
        &plugin_QStyleOptionComboBox
    },
    {
        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
};

#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 106109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 106113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyleOptionToolButton_ToolButtonFeatures___hash__(PyObject *);}
static long slot_QStyleOptionToolButton_ToolButtonFeatures___hash__(PyObject *sipSelf)
{
     ::QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast< ::QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyleOptionToolButton::ToolButtonFeatures::Int();
#line 106131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolButton::ToolButtonFeatures::Int() != 0);
#line 106156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolButton::ToolButtonFeatures::Int() != a0->operator QStyleOptionToolButton::ToolButtonFeatures::Int());
#line 106186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolButton::ToolButtonFeatures::Int() == a0->operator QStyleOptionToolButton::ToolButtonFeatures::Int());
#line 106222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionToolButton::ToolButtonFeatures(*sipCpp ^ a0);
#line 106261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionToolButton::ToolButtonFeatures(*sipCpp | a0);
#line 106333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionToolButton::ToolButtonFeatures();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyleOptionToolButton::ToolButtonFeatures(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 106601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionToolButton_ToolButtonFeatures[] = {
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___iand__, iand_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionToolButton_ToolButtonFeatures, "\1QStyleOptionToolButton.ToolButtonFeatures()\n"
    "QStyleOptionToolButton.ToolButtonFeatures(Union[QStyleOptionToolButton.ToolButtonFeatures, QStyleOptionToolButton.ToolButtonFeature])\n"
    "QStyleOptionToolButton.ToolButtonFeatures(QStyleOptionToolButton.ToolButtonFeatures)");


static pyqt5ClassPluginDef plugin_QStyleOptionToolButton_ToolButtonFeatures = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolButton_ToolButtonFeatures = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolButton__ToolButtonFeatures,
        {0},
        &plugin_QStyleOptionToolButton_ToolButtonFeatures
    },
    {
        sipNameNr_ToolButtonFeatures,
        {398, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionToolButton_ToolButtonFeatures,
    -1,
    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,
    0,
    convertTo_QStyleOptionToolButton_ToolButtonFeatures,
    0,
    0,
    0,
    0,
    0
};

#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 106687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 106691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 106694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 106697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 106700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 106703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 106706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 106709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 106712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionToolButton(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionToolButton *sipCpp = reinterpret_cast< ::QStyleOptionToolButton *>(sipCppV);

    if (targetType == sipType_QStyleOptionComplex)
        return static_cast< ::QStyleOptionComplex *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{323, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionToolButton[] = {
    {sipName_Arrow, static_cast<int>( ::QStyleOptionToolButton::Arrow), 401},
    {sipName_HasMenu, static_cast<int>( ::QStyleOptionToolButton::HasMenu), 401},
    {sipName_Menu, static_cast<int>( ::QStyleOptionToolButton::Menu), 401},
    {sipName_MenuButtonPopup, static_cast<int>( ::QStyleOptionToolButton::MenuButtonPopup), 401},
    {sipName_None_, static_cast<int>( ::QStyleOptionToolButton::None), 401},
    {sipName_PopupDelay, static_cast<int>( ::QStyleOptionToolButton::PopupDelay), 401},
    {sipName_Type, static_cast<int>( ::QStyleOptionToolButton::Type), 399},
    {sipName_Version, static_cast<int>( ::QStyleOptionToolButton::Version), 400},
};


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 *, PyObject *)
{
     ::QStyleOptionToolButton::ToolButtonFeatures*sipVal;
     ::QStyleOptionToolButton *sipCpp = reinterpret_cast< ::QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->features;

    return sipConvertFromType(sipVal, sipType_QStyleOptionToolButton_ToolButtonFeatures, NULL);
}


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 *, PyObject *)
{
     ::QFont*sipVal;
     ::QStyleOptionToolButton *sipCpp = reinterpret_cast< ::QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->font;

    return sipConvertFromType(sipVal, sipType_QFont, NULL);
}


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 *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionToolButton *sipCpp = reinterpret_cast< ::QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionToolButton *sipCpp = reinterpret_cast< ::QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QPoint*sipVal;
     ::QStyleOptionToolButton *sipCpp = reinterpret_cast< ::QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->pos;

    return sipConvertFromType(sipVal, sipType_QPoint, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionToolButton *sipCpp = reinterpret_cast< ::QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionToolButton = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolButton,
        {0},
        &plugin_QStyleOptionToolButton
    },
    {
        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
};

#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 107138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 107142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 107145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 107148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionSpinBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionSpinBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionSpinBox *sipCpp = reinterpret_cast< ::QStyleOptionSpinBox *>(sipCppV);

    if (targetType == sipType_QStyleOptionComplex)
        return static_cast< ::QStyleOptionComplex *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{323, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionSpinBox[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionSpinBox::Type), 367},
    {sipName_Version, static_cast<int>( ::QStyleOptionSpinBox::Version), 368},
};


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 *, PyObject *)
{
     ::QAbstractSpinBox::StepEnabled*sipVal;
     ::QStyleOptionSpinBox *sipCpp = reinterpret_cast< ::QStyleOptionSpinBox *>(sipSelf);

    sipVal = &sipCpp->stepEnabled;

    return sipConvertFromType(sipVal, sipType_QAbstractSpinBox_StepEnabled, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionSpinBox = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionSpinBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionSpinBox,
        {0},
        &plugin_QStyleOptionSpinBox
    },
    {
        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
};

#line 716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 107405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 107409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qslider.sip"
#include <qslider.h>
#line 107412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 107415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionSlider(void *, const sipTypeDef *);}
static void *cast_QStyleOptionSlider(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionSlider *sipCpp = reinterpret_cast< ::QStyleOptionSlider *>(sipCppV);

    if (targetType == sipType_QStyleOptionComplex)
        return static_cast< ::QStyleOptionComplex *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{323, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionSlider[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionSlider::Type), 364},
    {sipName_Version, static_cast<int>( ::QStyleOptionSlider::Version), 365},
};


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionSlider = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionSlider = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionSlider,
        {0},
        &plugin_QStyleOptionSlider
    },
    {
        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
};

#line 693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 107937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 107941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 107944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionComplex(void *, const sipTypeDef *);}
static void *cast_QStyleOptionComplex(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionComplex *sipCpp = reinterpret_cast< ::QStyleOptionComplex *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionComplex[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionComplex::Type), 324},
    {sipName_Version, static_cast<int>( ::QStyleOptionComplex::Version), 325},
};


extern "C" {static PyObject *varget_QStyleOptionComplex_activeSubControls(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComplex_activeSubControls(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyle::SubControls*sipVal;
     ::QStyleOptionComplex *sipCpp = reinterpret_cast< ::QStyleOptionComplex *>(sipSelf);

    sipVal = &sipCpp->activeSubControls;

    return sipConvertFromType(sipVal, sipType_QStyle_SubControls, NULL);
}


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 *, PyObject *)
{
     ::QStyle::SubControls*sipVal;
     ::QStyleOptionComplex *sipCpp = reinterpret_cast< ::QStyleOptionComplex *>(sipSelf);

    sipVal = &sipCpp->subControls;

    return sipConvertFromType(sipVal, sipType_QStyle_SubControls, NULL);
}


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(version: int = QStyleOptionComplex.Version, type: int = QStyleOption.SO_Complex)\n"
    "QStyleOptionComplex(QStyleOptionComplex)");


static pyqt5ClassPluginDef plugin_QStyleOptionComplex = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionComplex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionComplex,
        {0},
        &plugin_QStyleOptionComplex
    },
    {
        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
};

#line 670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qrubberband.sip"
#include <qrubberband.h>
#line 108185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 108188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionRubberBand(void *, const sipTypeDef *);}
static void *cast_QStyleOptionRubberBand(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionRubberBand *sipCpp = reinterpret_cast< ::QStyleOptionRubberBand *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionRubberBand[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionRubberBand::Type), 358},
    {sipName_Version, static_cast<int>( ::QStyleOptionRubberBand::Version), 359},
};


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionRubberBand = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionRubberBand = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionRubberBand,
        {0},
        &plugin_QStyleOptionRubberBand
    },
    {
        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
};

#line 629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 108411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 108414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 108417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionToolBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionToolBox *sipCpp = reinterpret_cast< ::QStyleOptionToolBox *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionToolBox[] = {
    {sipName_Beginning, static_cast<int>( ::QStyleOptionToolBox::Beginning), 397},
    {sipName_End, static_cast<int>( ::QStyleOptionToolBox::End), 397},
    {sipName_Middle, static_cast<int>( ::QStyleOptionToolBox::Middle), 397},
    {sipName_NextIsSelected, static_cast<int>( ::QStyleOptionToolBox::NextIsSelected), 394},
    {sipName_NotAdjacent, static_cast<int>( ::QStyleOptionToolBox::NotAdjacent), 394},
    {sipName_OnlyOneTab, static_cast<int>( ::QStyleOptionToolBox::OnlyOneTab), 397},
    {sipName_PreviousIsSelected, static_cast<int>( ::QStyleOptionToolBox::PreviousIsSelected), 394},
    {sipName_Type, static_cast<int>( ::QStyleOptionToolBox::Type), 395},
    {sipName_Version, static_cast<int>( ::QStyleOptionToolBox::Version), 396},
};


extern "C" {static PyObject *varget_QStyleOptionToolBox_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBox_icon(void *sipSelf, PyObject *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionToolBox *sipCpp = reinterpret_cast< ::QStyleOptionToolBox *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionToolBox *sipCpp = reinterpret_cast< ::QStyleOptionToolBox *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionToolBox = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolBox,
        {0},
        &plugin_QStyleOptionToolBox
    },
    {
        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
};

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyleOptionViewItem_ViewItemFeatures___hash__(PyObject *);}
static long slot_QStyleOptionViewItem_ViewItemFeatures___hash__(PyObject *sipSelf)
{
     ::QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast< ::QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyleOptionViewItem::ViewItemFeatures::Int();
#line 108732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionViewItem::ViewItemFeatures::Int() != 0);
#line 108757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionViewItem::ViewItemFeatures::Int() != a0->operator QStyleOptionViewItem::ViewItemFeatures::Int());
#line 108787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionViewItem::ViewItemFeatures::Int() == a0->operator QStyleOptionViewItem::ViewItemFeatures::Int());
#line 108823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionViewItem::ViewItemFeatures(*sipCpp ^ a0);
#line 108862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionViewItem::ViewItemFeatures(*sipCpp | a0);
#line 108934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionViewItem::ViewItemFeatures();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyleOptionViewItem::ViewItemFeatures(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 109202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionViewItem_ViewItemFeatures[] = {
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___iand__, iand_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionViewItem_ViewItemFeatures, "\1QStyleOptionViewItem.ViewItemFeatures()\n"
    "QStyleOptionViewItem.ViewItemFeatures(Union[QStyleOptionViewItem.ViewItemFeatures, QStyleOptionViewItem.ViewItemFeature])\n"
    "QStyleOptionViewItem.ViewItemFeatures(QStyleOptionViewItem.ViewItemFeatures)");


static pyqt5ClassPluginDef plugin_QStyleOptionViewItem_ViewItemFeatures = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionViewItem_ViewItemFeatures = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionViewItem__ViewItemFeatures,
        {0},
        &plugin_QStyleOptionViewItem_ViewItemFeatures
    },
    {
        sipNameNr_ViewItemFeatures,
        {403, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionViewItem_ViewItemFeatures,
    -1,
    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,
    0,
    convertTo_QStyleOptionViewItem_ViewItemFeatures,
    0,
    0,
    0,
    0,
    0
};

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 109288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 109292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 109295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 109298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 109301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 109304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 109307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 109310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 109313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 109316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 109319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 109322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionViewItem(void *, const sipTypeDef *);}
static void *cast_QStyleOptionViewItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionViewItem[] = {
    {sipName_Alternate, static_cast<int>( ::QStyleOptionViewItem::Alternate), 407},
    {sipName_Beginning, static_cast<int>( ::QStyleOptionViewItem::Beginning), 409},
    {sipName_Bottom, static_cast<int>( ::QStyleOptionViewItem::Bottom), 404},
    {sipName_End, static_cast<int>( ::QStyleOptionViewItem::End), 409},
    {sipName_HasCheckIndicator, static_cast<int>( ::QStyleOptionViewItem::HasCheckIndicator), 407},
    {sipName_HasDecoration, static_cast<int>( ::QStyleOptionViewItem::HasDecoration), 407},
    {sipName_HasDisplay, static_cast<int>( ::QStyleOptionViewItem::HasDisplay), 407},
    {sipName_Invalid, static_cast<int>( ::QStyleOptionViewItem::Invalid), 409},
    {sipName_Left, static_cast<int>( ::QStyleOptionViewItem::Left), 404},
    {sipName_Middle, static_cast<int>( ::QStyleOptionViewItem::Middle), 409},
    {sipName_None_, static_cast<int>( ::QStyleOptionViewItem::None), 407},
    {sipName_OnlyOne, static_cast<int>( ::QStyleOptionViewItem::OnlyOne), 409},
    {sipName_Right, static_cast<int>( ::QStyleOptionViewItem::Right), 404},
    {sipName_Top, static_cast<int>( ::QStyleOptionViewItem::Top), 404},
    {sipName_Type, static_cast<int>( ::QStyleOptionViewItem::Type), 405},
    {sipName_Version, static_cast<int>( ::QStyleOptionViewItem::Version), 406},
    {sipName_WrapText, static_cast<int>( ::QStyleOptionViewItem::WrapText), 407},
};


extern "C" {static PyObject *varget_QStyleOptionViewItem_backgroundBrush(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_backgroundBrush(void *sipSelf, PyObject *, PyObject *)
{
     ::QBrush*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->backgroundBrush;

    return sipConvertFromType(sipVal, sipType_QBrush, NULL);
}


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 *, PyObject *)
{
     ::Qt::Alignment*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->decorationAlignment;

    return sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->decorationSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::Qt::Alignment*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->displayAlignment;

    return sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
}


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 *, PyObject *)
{
     ::QStyleOptionViewItem::ViewItemFeatures*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->features;

    return sipConvertFromType(sipVal, sipType_QStyleOptionViewItem_ViewItemFeatures, NULL);
}


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 *, PyObject *)
{
     ::QFont*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->font;

    return sipConvertFromType(sipVal, sipType_QFont, NULL);
}


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 *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QModelIndex*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->index;

    return sipConvertFromType(sipVal, sipType_QModelIndex, NULL);
}


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 *, PyObject *)
{
     ::QLocale*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->locale;

    return sipConvertFromType(sipVal, sipType_QLocale, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionViewItem *sipCpp = reinterpret_cast< ::QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionViewItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionViewItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionViewItem,
        {0},
        &plugin_QStyleOptionViewItem
    },
    {
        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
};

#line 534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 110013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 110017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 110020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionDockWidget(void *, const sipTypeDef *);}
static void *cast_QStyleOptionDockWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionDockWidget *sipCpp = reinterpret_cast< ::QStyleOptionDockWidget *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionDockWidget[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionDockWidget::Type), 327},
    {sipName_Version, static_cast<int>( ::QStyleOptionDockWidget::Version), 328},
};


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionDockWidget *sipCpp = reinterpret_cast< ::QStyleOptionDockWidget *>(sipSelf);

    sipVal = &sipCpp->title;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionDockWidget = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionDockWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionDockWidget,
        {0},
        &plugin_QStyleOptionDockWidget
    },
    {
        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
};

#line 484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 110334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 110338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 110341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 110344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 110347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 110350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionMenuItem(void *, const sipTypeDef *);}
static void *cast_QStyleOptionMenuItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionMenuItem[] = {
    {sipName_DefaultItem, static_cast<int>( ::QStyleOptionMenuItem::DefaultItem), 351},
    {sipName_EmptyArea, static_cast<int>( ::QStyleOptionMenuItem::EmptyArea), 351},
    {sipName_Exclusive, static_cast<int>( ::QStyleOptionMenuItem::Exclusive), 350},
    {sipName_Margin, static_cast<int>( ::QStyleOptionMenuItem::Margin), 351},
    {sipName_NonExclusive, static_cast<int>( ::QStyleOptionMenuItem::NonExclusive), 350},
    {sipName_Normal, static_cast<int>( ::QStyleOptionMenuItem::Normal), 351},
    {sipName_NotCheckable, static_cast<int>( ::QStyleOptionMenuItem::NotCheckable), 350},
    {sipName_Scroller, static_cast<int>( ::QStyleOptionMenuItem::Scroller), 351},
    {sipName_Separator, static_cast<int>( ::QStyleOptionMenuItem::Separator), 351},
    {sipName_SubMenu, static_cast<int>( ::QStyleOptionMenuItem::SubMenu), 351},
    {sipName_TearOff, static_cast<int>( ::QStyleOptionMenuItem::TearOff), 351},
    {sipName_Type, static_cast<int>( ::QStyleOptionMenuItem::Type), 352},
    {sipName_Version, static_cast<int>( ::QStyleOptionMenuItem::Version), 353},
};


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 *, PyObject *)
{
     ::QFont*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->font;

    return sipConvertFromType(sipVal, sipType_QFont, NULL);
}


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 *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->menuRect;

    return sipConvertFromType(sipVal, sipType_QRect, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionMenuItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionMenuItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionMenuItem,
        {0},
        &plugin_QStyleOptionMenuItem
    },
    {
        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
};

#line 454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 110831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 110835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 110838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 110841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 110844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionProgressBar(void *, const sipTypeDef *);}
static void *cast_QStyleOptionProgressBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionProgressBar *sipCpp = reinterpret_cast< ::QStyleOptionProgressBar *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionProgressBar[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionProgressBar::Type), 355},
    {sipName_Version, static_cast<int>( ::QStyleOptionProgressBar::Version), 356},
};


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionProgressBar *sipCpp = reinterpret_cast< ::QStyleOptionProgressBar *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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 *, PyObject *)
{
     ::Qt::Alignment*sipVal;
     ::QStyleOptionProgressBar *sipCpp = reinterpret_cast< ::QStyleOptionProgressBar *>(sipSelf);

    sipVal = &sipCpp->textAlignment;

    return sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionProgressBar = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionProgressBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionProgressBar,
        {0},
        &plugin_QStyleOptionProgressBar
    },
    {
        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
};

#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 111283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 111287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyleOptionTab_TabFeatures___hash__(PyObject *);}
static long slot_QStyleOptionTab_TabFeatures___hash__(PyObject *sipSelf)
{
     ::QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast< ::QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyleOptionTab::TabFeatures::Int();
#line 111305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::TabFeatures::Int() != 0);
#line 111330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::TabFeatures::Int() != a0->operator QStyleOptionTab::TabFeatures::Int());
#line 111360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::TabFeatures::Int() == a0->operator QStyleOptionTab::TabFeatures::Int());
#line 111396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionTab::TabFeatures(*sipCpp ^ a0);
#line 111435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionTab::TabFeatures(*sipCpp | a0);
#line 111507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionTab::TabFeatures();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyleOptionTab::TabFeatures(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 111775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionTab_TabFeatures[] = {
    {(void *)slot_QStyleOptionTab_TabFeatures___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___iand__, iand_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionTab_TabFeatures, "\1QStyleOptionTab.TabFeatures()\n"
    "QStyleOptionTab.TabFeatures(Union[QStyleOptionTab.TabFeatures, QStyleOptionTab.TabFeature])\n"
    "QStyleOptionTab.TabFeatures(QStyleOptionTab.TabFeatures)");


static pyqt5ClassPluginDef plugin_QStyleOptionTab_TabFeatures = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTab_TabFeatures = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTab__TabFeatures,
        {0},
        &plugin_QStyleOptionTab_TabFeatures
    },
    {
        sipNameNr_TabFeatures,
        {369, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTab_TabFeatures,
    -1,
    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,
    0,
    convertTo_QStyleOptionTab_TabFeatures,
    0,
    0,
    0,
    0,
    0
};

#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 111861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 111865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyleOptionTab_CornerWidgets___hash__(PyObject *);}
static long slot_QStyleOptionTab_CornerWidgets___hash__(PyObject *sipSelf)
{
     ::QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast< ::QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyleOptionTab::CornerWidgets::Int();
#line 111883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::CornerWidgets::Int() != 0);
#line 111908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::CornerWidgets::Int() != a0->operator QStyleOptionTab::CornerWidgets::Int());
#line 111938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::CornerWidgets::Int() == a0->operator QStyleOptionTab::CornerWidgets::Int());
#line 111974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionTab::CornerWidgets(*sipCpp ^ a0);
#line 112013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionTab::CornerWidgets(*sipCpp | a0);
#line 112085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionTab::CornerWidgets();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyleOptionTab::CornerWidgets(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 112353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionTab_CornerWidgets[] = {
    {(void *)slot_QStyleOptionTab_CornerWidgets___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___xor__, xor_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___ior__, ior_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___or__, or_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___iand__, iand_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___and__, and_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___invert__, invert_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionTab_CornerWidgets, "\1QStyleOptionTab.CornerWidgets()\n"
    "QStyleOptionTab.CornerWidgets(Union[QStyleOptionTab.CornerWidgets, QStyleOptionTab.CornerWidget])\n"
    "QStyleOptionTab.CornerWidgets(QStyleOptionTab.CornerWidgets)");


static pyqt5ClassPluginDef plugin_QStyleOptionTab_CornerWidgets = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTab_CornerWidgets = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTab__CornerWidgets,
        {0},
        &plugin_QStyleOptionTab_CornerWidgets
    },
    {
        sipNameNr_CornerWidgets,
        {369, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTab_CornerWidgets,
    -1,
    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,
    0,
    convertTo_QStyleOptionTab_CornerWidgets,
    0,
    0,
    0,
    0,
    0
};

#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 112439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 112443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 112446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 112449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 112452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 112455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 112458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 112461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionTab(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTab(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTab[] = {
    {sipName_Beginning, static_cast<int>( ::QStyleOptionTab::Beginning), 377},
    {sipName_End, static_cast<int>( ::QStyleOptionTab::End), 377},
    {sipName_HasFrame, static_cast<int>( ::QStyleOptionTab::HasFrame), 375},
    {sipName_LeftCornerWidget, static_cast<int>( ::QStyleOptionTab::LeftCornerWidget), 370},
    {sipName_Middle, static_cast<int>( ::QStyleOptionTab::Middle), 377},
    {sipName_NextIsSelected, static_cast<int>( ::QStyleOptionTab::NextIsSelected), 372},
    {sipName_NoCornerWidgets, static_cast<int>( ::QStyleOptionTab::NoCornerWidgets), 370},
    {sipName_None_, static_cast<int>( ::QStyleOptionTab::None), 375},
    {sipName_NotAdjacent, static_cast<int>( ::QStyleOptionTab::NotAdjacent), 372},
    {sipName_OnlyOneTab, static_cast<int>( ::QStyleOptionTab::OnlyOneTab), 377},
    {sipName_PreviousIsSelected, static_cast<int>( ::QStyleOptionTab::PreviousIsSelected), 372},
    {sipName_RightCornerWidget, static_cast<int>( ::QStyleOptionTab::RightCornerWidget), 370},
    {sipName_Type, static_cast<int>( ::QStyleOptionTab::Type), 373},
    {sipName_Version, static_cast<int>( ::QStyleOptionTab::Version), 374},
};


extern "C" {static PyObject *varget_QStyleOptionTab_cornerWidgets(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_cornerWidgets(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyleOptionTab::CornerWidgets*sipVal;
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->cornerWidgets;

    return sipConvertFromType(sipVal, sipType_QStyleOptionTab_CornerWidgets, NULL);
}


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 *, PyObject *)
{
     ::QStyleOptionTab::TabFeatures*sipVal;
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->features;

    return sipConvertFromType(sipVal, sipType_QStyleOptionTab_TabFeatures, NULL);
}


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 *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->leftButtonSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->rightButtonSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionTab *sipCpp = reinterpret_cast< ::QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionTab = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTab = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTab,
        {0},
        &plugin_QStyleOptionTab
    },
    {
        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
};

#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyleOptionButton_ButtonFeatures___hash__(PyObject *);}
static long slot_QStyleOptionButton_ButtonFeatures___hash__(PyObject *sipSelf)
{
     ::QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast< ::QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyleOptionButton::ButtonFeatures::Int();
#line 113037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionButton::ButtonFeatures::Int() != 0);
#line 113062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionButton::ButtonFeatures::Int() != a0->operator QStyleOptionButton::ButtonFeatures::Int());
#line 113092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionButton::ButtonFeatures::Int() == a0->operator QStyleOptionButton::ButtonFeatures::Int());
#line 113128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionButton::ButtonFeatures(*sipCpp ^ a0);
#line 113167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionButton::ButtonFeatures(*sipCpp | a0);
#line 113239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionButton::ButtonFeatures();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyleOptionButton::ButtonFeatures(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 113507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionButton_ButtonFeatures[] = {
    {(void *)slot_QStyleOptionButton_ButtonFeatures___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___iand__, iand_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionButton_ButtonFeatures, "\1QStyleOptionButton.ButtonFeatures()\n"
    "QStyleOptionButton.ButtonFeatures(Union[QStyleOptionButton.ButtonFeatures, QStyleOptionButton.ButtonFeature])\n"
    "QStyleOptionButton.ButtonFeatures(QStyleOptionButton.ButtonFeatures)");


static pyqt5ClassPluginDef plugin_QStyleOptionButton_ButtonFeatures = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionButton_ButtonFeatures = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionButton__ButtonFeatures,
        {0},
        &plugin_QStyleOptionButton_ButtonFeatures
    },
    {
        sipNameNr_ButtonFeatures,
        {315, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionButton_ButtonFeatures,
    -1,
    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,
    0,
    convertTo_QStyleOptionButton_ButtonFeatures,
    0,
    0,
    0,
    0,
    0
};

#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 113600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 113603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 113606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 113609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionButton(void *, const sipTypeDef *);}
static void *cast_QStyleOptionButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionButton *sipCpp = reinterpret_cast< ::QStyleOptionButton *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionButton[] = {
    {sipName_AutoDefaultButton, static_cast<int>( ::QStyleOptionButton::AutoDefaultButton), 316},
    {sipName_CommandLinkButton, static_cast<int>( ::QStyleOptionButton::CommandLinkButton), 316},
    {sipName_DefaultButton, static_cast<int>( ::QStyleOptionButton::DefaultButton), 316},
    {sipName_Flat, static_cast<int>( ::QStyleOptionButton::Flat), 316},
    {sipName_HasMenu, static_cast<int>( ::QStyleOptionButton::HasMenu), 316},
    {sipName_None_, static_cast<int>( ::QStyleOptionButton::None), 316},
    {sipName_Type, static_cast<int>( ::QStyleOptionButton::Type), 318},
    {sipName_Version, static_cast<int>( ::QStyleOptionButton::Version), 319},
};


extern "C" {static PyObject *varget_QStyleOptionButton_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionButton_features(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyleOptionButton::ButtonFeatures*sipVal;
     ::QStyleOptionButton *sipCpp = reinterpret_cast< ::QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->features;

    return sipConvertFromType(sipVal, sipType_QStyleOptionButton_ButtonFeatures, NULL);
}


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 *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionButton *sipCpp = reinterpret_cast< ::QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionButton *sipCpp = reinterpret_cast< ::QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionButton *sipCpp = reinterpret_cast< ::QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionButton = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionButton,
        {0},
        &plugin_QStyleOptionButton
    },
    {
        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
};

#line 297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 113912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 113915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 113918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 113921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 113924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionHeader(void *, const sipTypeDef *);}
static void *cast_QStyleOptionHeader(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionHeader *sipCpp = reinterpret_cast< ::QStyleOptionHeader *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionHeader[] = {
    {sipName_Beginning, static_cast<int>( ::QStyleOptionHeader::Beginning), 344},
    {sipName_End, static_cast<int>( ::QStyleOptionHeader::End), 344},
    {sipName_Middle, static_cast<int>( ::QStyleOptionHeader::Middle), 344},
    {sipName_NextAndPreviousAreSelected, static_cast<int>( ::QStyleOptionHeader::NextAndPreviousAreSelected), 345},
    {sipName_NextIsSelected, static_cast<int>( ::QStyleOptionHeader::NextIsSelected), 345},
    {sipName_None_, static_cast<int>( ::QStyleOptionHeader::None), 346},
    {sipName_NotAdjacent, static_cast<int>( ::QStyleOptionHeader::NotAdjacent), 345},
    {sipName_OnlyOneSection, static_cast<int>( ::QStyleOptionHeader::OnlyOneSection), 344},
    {sipName_PreviousIsSelected, static_cast<int>( ::QStyleOptionHeader::PreviousIsSelected), 345},
    {sipName_SortDown, static_cast<int>( ::QStyleOptionHeader::SortDown), 346},
    {sipName_SortUp, static_cast<int>( ::QStyleOptionHeader::SortUp), 346},
    {sipName_Type, static_cast<int>( ::QStyleOptionHeader::Type), 347},
    {sipName_Version, static_cast<int>( ::QStyleOptionHeader::Version), 348},
};


extern "C" {static PyObject *varget_QStyleOptionHeader_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_icon(void *sipSelf, PyObject *, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionHeader *sipCpp = reinterpret_cast< ::QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->icon;

    return sipConvertFromType(sipVal, sipType_QIcon, NULL);
}


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 *, PyObject *)
{
     ::Qt::Alignment*sipVal;
     ::QStyleOptionHeader *sipCpp = reinterpret_cast< ::QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->iconAlignment;

    return sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
}


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 *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionHeader *sipCpp = reinterpret_cast< ::QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


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 *, PyObject *)
{
     ::Qt::Alignment*sipVal;
     ::QStyleOptionHeader *sipCpp = reinterpret_cast< ::QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->textAlignment;

    return sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionHeader = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionHeader = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionHeader,
        {0},
        &plugin_QStyleOptionHeader
    },
    {
        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
};

#line 272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 114381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 114385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 114388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 114391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionTabBarBase(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTabBarBase(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionTabBarBase *sipCpp = reinterpret_cast< ::QStyleOptionTabBarBase *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTabBarBase[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionTabBarBase::Type), 379},
    {sipName_Version, static_cast<int>( ::QStyleOptionTabBarBase::Version), 380},
};


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 *, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOptionTabBarBase *sipCpp = reinterpret_cast< ::QStyleOptionTabBarBase *>(sipSelf);

    sipVal = &sipCpp->selectedTabRect;

    return sipConvertFromType(sipVal, sipType_QRect, NULL);
}


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 *, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOptionTabBarBase *sipCpp = reinterpret_cast< ::QStyleOptionTabBarBase *>(sipSelf);

    sipVal = &sipCpp->tabBarRect;

    return sipConvertFromType(sipVal, sipType_QRect, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionTabBarBase = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTabBarBase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTabBarBase,
        {0},
        &plugin_QStyleOptionTabBarBase
    },
    {
        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
};

#line 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 114674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 114678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 114681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 114684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 114687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionTabWidgetFrame(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTabWidgetFrame(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast< ::QStyleOptionTabWidgetFrame *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTabWidgetFrame[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionTabWidgetFrame::Type), 382},
    {sipName_Version, static_cast<int>( ::QStyleOptionTabWidgetFrame::Version), 383},
};


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_leftCornerWidgetSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_leftCornerWidgetSize(void *sipSelf, PyObject *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast< ::QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->leftCornerWidgetSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast< ::QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->rightCornerWidgetSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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 *, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast< ::QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->selectedTabRect;

    return sipConvertFromType(sipVal, sipType_QRect, NULL);
}


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 *, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast< ::QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->tabBarRect;

    return sipConvertFromType(sipVal, sipType_QRect, NULL);
}


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 *, PyObject *)
{
     ::QSize*sipVal;
     ::QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast< ::QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->tabBarSize;

    return sipConvertFromType(sipVal, sipType_QSize, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionTabWidgetFrame = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTabWidgetFrame = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTabWidgetFrame,
        {0},
        &plugin_QStyleOptionTabWidgetFrame
    },
    {
        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
};

#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 115096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 115100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyleOptionFrame_FrameFeatures___hash__(PyObject *);}
static long slot_QStyleOptionFrame_FrameFeatures___hash__(PyObject *sipSelf)
{
     ::QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast< ::QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyleOptionFrame::FrameFeatures::Int();
#line 115118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionFrame::FrameFeatures::Int() != 0);
#line 115143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionFrame::FrameFeatures::Int() != a0->operator QStyleOptionFrame::FrameFeatures::Int());
#line 115173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionFrame::FrameFeatures::Int() == a0->operator QStyleOptionFrame::FrameFeatures::Int());
#line 115209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionFrame::FrameFeatures(*sipCpp ^ a0);
#line 115248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyleOptionFrame::FrameFeatures(*sipCpp | a0);
#line 115320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionFrame::FrameFeatures();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyleOptionFrame::FrameFeatures(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 115588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionFrame_FrameFeatures[] = {
    {(void *)slot_QStyleOptionFrame_FrameFeatures___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___iand__, iand_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionFrame_FrameFeatures, "\1QStyleOptionFrame.FrameFeatures()\n"
    "QStyleOptionFrame.FrameFeatures(Union[QStyleOptionFrame.FrameFeatures, QStyleOptionFrame.FrameFeature])\n"
    "QStyleOptionFrame.FrameFeatures(QStyleOptionFrame.FrameFeatures)");


static pyqt5ClassPluginDef plugin_QStyleOptionFrame_FrameFeatures = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionFrame_FrameFeatures = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionFrame__FrameFeatures,
        {0},
        &plugin_QStyleOptionFrame_FrameFeatures
    },
    {
        sipNameNr_FrameFeatures,
        {332, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionFrame_FrameFeatures,
    -1,
    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,
    0,
    convertTo_QStyleOptionFrame_FrameFeatures,
    0,
    0,
    0,
    0,
    0
};

#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 115674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 115678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 115681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 115684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionFrame(void *, const sipTypeDef *);}
static void *cast_QStyleOptionFrame(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionFrame *sipCpp = reinterpret_cast< ::QStyleOptionFrame *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionFrame[] = {
    {sipName_Flat, static_cast<int>( ::QStyleOptionFrame::Flat), 333},
    {sipName_None_, static_cast<int>( ::QStyleOptionFrame::None), 333},
    {sipName_Rounded, static_cast<int>( ::QStyleOptionFrame::Rounded), 333},
    {sipName_Type, static_cast<int>( ::QStyleOptionFrame::Type), 335},
    {sipName_Version, static_cast<int>( ::QStyleOptionFrame::Version), 336},
};


extern "C" {static PyObject *varget_QStyleOptionFrame_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionFrame_features(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyleOptionFrame::FrameFeatures*sipVal;
     ::QStyleOptionFrame *sipCpp = reinterpret_cast< ::QStyleOptionFrame *>(sipSelf);

    sipVal = &sipCpp->features;

    return sipConvertFromType(sipVal, sipType_QStyleOptionFrame_FrameFeatures, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionFrame = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionFrame = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionFrame,
        {0},
        &plugin_QStyleOptionFrame
    },
    {
        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
};

#line 186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 115971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 115975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 115978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStyleOptionFocusRect(void *, const sipTypeDef *);}
static void *cast_QStyleOptionFocusRect(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyleOptionFocusRect *sipCpp = reinterpret_cast< ::QStyleOptionFocusRect *>(sipCppV);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(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[] = {{311, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionFocusRect[] = {
    {sipName_Type, static_cast<int>( ::QStyleOptionFocusRect::Type), 330},
    {sipName_Version, static_cast<int>( ::QStyleOptionFocusRect::Version), 331},
};


extern "C" {static PyObject *varget_QStyleOptionFocusRect_backgroundColor(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionFocusRect_backgroundColor(void *sipSelf, PyObject *, PyObject *)
{
     ::QColor*sipVal;
     ::QStyleOptionFocusRect *sipCpp = reinterpret_cast< ::QStyleOptionFocusRect *>(sipSelf);

    sipVal = &sipCpp->backgroundColor;

    return sipConvertFromType(sipVal, sipType_QColor, NULL);
}


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)");


static pyqt5ClassPluginDef plugin_QStyleOptionFocusRect = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionFocusRect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionFocusRect,
        {0},
        &plugin_QStyleOptionFocusRect
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 116172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 116179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 116182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 116185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 116188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 116191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 116194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStyleOption_initFrom, "initFrom(self, 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;
}


/* 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 (sipIsOwnedByPython(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), 312},
    {sipName_SO_ComboBox, static_cast<int>( ::QStyleOption::SO_ComboBox), 312},
    {sipName_SO_Complex, static_cast<int>( ::QStyleOption::SO_Complex), 312},
    {sipName_SO_ComplexCustomBase, static_cast<int>( ::QStyleOption::SO_ComplexCustomBase), 312},
    {sipName_SO_CustomBase, static_cast<int>( ::QStyleOption::SO_CustomBase), 312},
    {sipName_SO_Default, static_cast<int>( ::QStyleOption::SO_Default), 312},
    {sipName_SO_DockWidget, static_cast<int>( ::QStyleOption::SO_DockWidget), 312},
    {sipName_SO_FocusRect, static_cast<int>( ::QStyleOption::SO_FocusRect), 312},
    {sipName_SO_Frame, static_cast<int>( ::QStyleOption::SO_Frame), 312},
    {sipName_SO_GraphicsItem, static_cast<int>( ::QStyleOption::SO_GraphicsItem), 312},
    {sipName_SO_GroupBox, static_cast<int>( ::QStyleOption::SO_GroupBox), 312},
    {sipName_SO_Header, static_cast<int>( ::QStyleOption::SO_Header), 312},
    {sipName_SO_MenuItem, static_cast<int>( ::QStyleOption::SO_MenuItem), 312},
    {sipName_SO_ProgressBar, static_cast<int>( ::QStyleOption::SO_ProgressBar), 312},
    {sipName_SO_RubberBand, static_cast<int>( ::QStyleOption::SO_RubberBand), 312},
    {sipName_SO_SizeGrip, static_cast<int>( ::QStyleOption::SO_SizeGrip), 312},
    {sipName_SO_Slider, static_cast<int>( ::QStyleOption::SO_Slider), 312},
    {sipName_SO_SpinBox, static_cast<int>( ::QStyleOption::SO_SpinBox), 312},
    {sipName_SO_Tab, static_cast<int>( ::QStyleOption::SO_Tab), 312},
    {sipName_SO_TabBarBase, static_cast<int>( ::QStyleOption::SO_TabBarBase), 312},
    {sipName_SO_TabWidgetFrame, static_cast<int>( ::QStyleOption::SO_TabWidgetFrame), 312},
    {sipName_SO_TitleBar, static_cast<int>( ::QStyleOption::SO_TitleBar), 312},
    {sipName_SO_ToolBar, static_cast<int>( ::QStyleOption::SO_ToolBar), 312},
    {sipName_SO_ToolBox, static_cast<int>( ::QStyleOption::SO_ToolBox), 312},
    {sipName_SO_ToolButton, static_cast<int>( ::QStyleOption::SO_ToolButton), 312},
    {sipName_SO_ViewItem, static_cast<int>( ::QStyleOption::SO_ViewItem), 312},
    {sipName_Type, static_cast<int>( ::QStyleOption::Type), 313},
    {sipName_Version, static_cast<int>( ::QStyleOption::Version), 314},
};


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 *, PyObject *)
{
     ::QFontMetrics*sipVal;
     ::QStyleOption *sipCpp = reinterpret_cast< ::QStyleOption *>(sipSelf);

    sipVal = &sipCpp->fontMetrics;

    return sipConvertFromType(sipVal, sipType_QFontMetrics, NULL);
}


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 *, PyObject *)
{
     ::QPalette*sipVal;
     ::QStyleOption *sipCpp = reinterpret_cast< ::QStyleOption *>(sipSelf);

    sipVal = &sipCpp->palette;

    return sipConvertFromType(sipVal, sipType_QPalette, NULL);
}


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 *, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOption *sipCpp = reinterpret_cast< ::QStyleOption *>(sipSelf);

    sipVal = &sipCpp->rect;

    return sipConvertFromType(sipVal, sipType_QRect, NULL);
}


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 *, PyObject *)
{
     ::QStyle::State*sipVal;
     ::QStyleOption *sipCpp = reinterpret_cast< ::QStyleOption *>(sipSelf);

    sipVal = &sipCpp->state;

    return sipConvertFromType(sipVal, sipType_QStyle_State, NULL);
}


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(version: int = QStyleOption.Version, type: int = QStyleOption.SO_Default)\n"
    "QStyleOption(QStyleOption)");


static pyqt5ClassPluginDef plugin_QStyleOption = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOption = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOption,
        {0},
        &plugin_QStyleOption
    },
    {
        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,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstylefactory.sip"
#include <qstylefactory.h>
#line 116656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 116660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 116663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 116666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStyleFactory_keys, "keys() -> List[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, "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;
}


/* 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 (sipIsOwnedByPython(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)");


static pyqt5ClassPluginDef plugin_QStyleFactory = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleFactory = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleFactory,
        {0},
        &plugin_QStyleFactory
    },
    {
        sipNameNr_QStyleFactory,
        {0, 0, 1},
        2, methods_QStyleFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleFactory,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleditemdelegate.sip"
#include <qstyleditemdelegate.h>
#line 116862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 116866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 116872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 116875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 116878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 116881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 116884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 116887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 116890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 116893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 116896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 116899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 116902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 618 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 116908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 116911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 116923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 116932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 116938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 116941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 116944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 initStyleOption( ::QStyleOptionViewItem*,const  ::QModelIndex&) const;
     ::QString displayText(const  ::QVariant&,const  ::QLocale&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void paint( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QSize sizeHint(const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QWidget* createEditor( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void setEditorData( ::QWidget*,const  ::QModelIndex&) const;
    void setModelData( ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&) const;
    void updateEditorGeometry( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void destroyEditor( ::QWidget*,const  ::QModelIndex&) const;
    bool editorEvent( ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);
    bool helpEvent( ::QHelpEvent*, ::QAbstractItemView*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQStyledItemDelegate::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStyledItemDelegate);

    return  ::QStyledItemDelegate::metaObject();
}

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::initStyleOption( ::QStyleOptionViewItem*a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::initStyleOption(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_202(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOptionViewItem*,const  ::QModelIndex&);

    sipVH_QtWidgets_202(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1]),sipPySelf,NULL,sipName_displayText);

    if (!sipMeth)
        return  ::QStyledItemDelegate::displayText(a0,a1);

    extern  ::QString sipVH_QtWidgets_201(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&,const  ::QLocale&);

    return sipVH_QtWidgets_201(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQStyledItemDelegate::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStyledItemDelegate::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QStyledItemDelegate::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQStyledItemDelegate::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QStyledItemDelegate::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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[9]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[10]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QStyledItemDelegate::sizeHint(a0,a1);

    extern  ::QSize sipVH_QtWidgets_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_39(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[11]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return  ::QStyledItemDelegate::createEditor(a0,a1,a2);

    extern  ::QWidget* sipVH_QtWidgets_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_40(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[12]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_QtWidgets_41(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&);

    sipVH_QtWidgets_42(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

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[14]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_43(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQStyledItemDelegate::destroyEditor( ::QWidget*a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_destroyEditor);

    if (!sipMeth)
    {
         ::QStyledItemDelegate::destroyEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_QtWidgets_41(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[16],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return  ::QStyledItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_44(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQStyledItemDelegate::helpEvent( ::QHelpEvent*a0, ::QAbstractItemView*a1,const  ::QStyleOptionViewItem& a2,const  ::QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
        return  ::QStyledItemDelegate::helpEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHelpEvent*, ::QAbstractItemView*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_45(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 117450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 117510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "paint(self, 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 || sipIsDerivedClass((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, "sizeHint(self, 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 || sipIsDerivedClass((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, "createEditor(self, 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 || sipIsDerivedClass((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, "setEditorData(self, 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 || sipIsDerivedClass((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, "setModelData(self, 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 || sipIsDerivedClass((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, "updateEditorGeometry(self, 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 || sipIsDerivedClass((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, "itemEditorFactory(self) -> 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, "setItemEditorFactory(self, 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, "displayText(self, Any, 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 || sipIsDerivedClass((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, "initStyleOption(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "editorEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QStyledItemDelegate(void *, const sipTypeDef *);}
static void *cast_QStyledItemDelegate(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyledItemDelegate *sipCpp = reinterpret_cast< ::QStyledItemDelegate *>(sipCppV);

    if (targetType == sipType_QAbstractItemDelegate)
        return static_cast< ::QAbstractItemDelegate *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQStyledItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStyledItemDelegate(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QStyledItemDelegate = {
    & ::QStyledItemDelegate::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyledItemDelegate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyledItemDelegate,
        {0},
        &plugin_QStyledItemDelegate
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 118268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 118272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyle_SubControls___hash__(PyObject *);}
static long slot_QStyle_SubControls___hash__(PyObject *sipSelf)
{
     ::QStyle::SubControls *sipCpp = reinterpret_cast< ::QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyle::SubControls::Int();
#line 118290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::SubControls::Int() != 0);
#line 118315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::SubControls::Int() != a0->operator QStyle::SubControls::Int());
#line 118345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::SubControls::Int() == a0->operator QStyle::SubControls::Int());
#line 118381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyle::SubControls(*sipCpp ^ a0);
#line 118420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyle_SubControls___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyle::SubControls(*sipCpp | a0);
#line 118492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyle_SubControls___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyle::SubControls();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyle::SubControls(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 118760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyle_SubControls[] = {
    {(void *)slot_QStyle_SubControls___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyle_SubControls___xor__, xor_slot},
    {(void *)slot_QStyle_SubControls___ior__, ior_slot},
    {(void *)slot_QStyle_SubControls___or__, or_slot},
    {(void *)slot_QStyle_SubControls___iand__, iand_slot},
    {(void *)slot_QStyle_SubControls___and__, and_slot},
    {(void *)slot_QStyle_SubControls___invert__, invert_slot},
    {(void *)slot_QStyle_SubControls___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyle_SubControls, "\1QStyle.SubControls()\n"
    "QStyle.SubControls(Union[QStyle.SubControls, QStyle.SubControl])\n"
    "QStyle.SubControls(QStyle.SubControls)");


static pyqt5ClassPluginDef plugin_QStyle_SubControls = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyle_SubControls = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyle__SubControls,
        {0},
        &plugin_QStyle_SubControls
    },
    {
        sipNameNr_SubControls,
        {286, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyle_SubControls,
    -1,
    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,
    0,
    convertTo_QStyle_SubControls,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 118846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 118850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QStyle_State___hash__(PyObject *);}
static long slot_QStyle_State___hash__(PyObject *sipSelf)
{
     ::QStyle::State *sipCpp = reinterpret_cast< ::QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStyle::State::Int();
#line 118868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::State::Int() != 0);
#line 118893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::State::Int() != a0->operator QStyle::State::Int());
#line 118923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::State::Int() == a0->operator QStyle::State::Int());
#line 118959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyle::State(*sipCpp ^ a0);
#line 118998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyle_State___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QStyle::State(*sipCpp | a0);
#line 119070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStyle_State___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStyle::State();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStyle::State(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 119338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyle_State[] = {
    {(void *)slot_QStyle_State___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QStyle_State___xor__, xor_slot},
    {(void *)slot_QStyle_State___ior__, ior_slot},
    {(void *)slot_QStyle_State___or__, or_slot},
    {(void *)slot_QStyle_State___iand__, iand_slot},
    {(void *)slot_QStyle_State___and__, and_slot},
    {(void *)slot_QStyle_State___invert__, invert_slot},
    {(void *)slot_QStyle_State___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyle_State, "\1QStyle.State()\n"
    "QStyle.State(Union[QStyle.State, QStyle.StateFlag])\n"
    "QStyle.State(QStyle.State)");


static pyqt5ClassPluginDef plugin_QStyle_State = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyle_State = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyle__State,
        {0},
        &plugin_QStyle_State
    },
    {
        sipNameNr_State,
        {286, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyle_State,
    -1,
    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,
    0,
    convertTo_QStyle_State,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstatusbar.sip"
#include <qstatusbar.h>
#line 119424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 119428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 119434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 119443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 119449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 119452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 119455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 119458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 119464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 119467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 119473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 119479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 119482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 119485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 119488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 119491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 119494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 119497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 119500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 119503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 119506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 119509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 119512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 119515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 119560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 119563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 119566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 119569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 119572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 119575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 119581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 119584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 119587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 119590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 119593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 119596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 119599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 119602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 119605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 119608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 119611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 119614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 119617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 119620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 119623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 119626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQStatusBar::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStatusBar);

    return  ::QStatusBar::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQStatusBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QStatusBar::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQStatusBar::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QStatusBar::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQStatusBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QStatusBar::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQStatusBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QStatusBar::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQStatusBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QStatusBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQStatusBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QStatusBar::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQStatusBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QStatusBar::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQStatusBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QStatusBar::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QStatusBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QStatusBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QStatusBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QStatusBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QStatusBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QStatusBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QStatusBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QStatusBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QStatusBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QStatusBar::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QStatusBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QStatusBar::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QStatusBar::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QStatusBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QStatusBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QStatusBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QStatusBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QStatusBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QStatusBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QStatusBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QStatusBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QStatusBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QStatusBar::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QStatusBar::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QStatusBar::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStatusBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QStatusBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQStatusBar::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QStatusBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStatusBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QStatusBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStatusBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QStatusBar::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQStatusBar::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QStatusBar::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQStatusBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QStatusBar::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQStatusBar::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QStatusBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 120862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 120922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "addWidget(self, QWidget, stretch: int = 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, "addPermanentWidget(self, QWidget, stretch: int = 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, "removeWidget(self, 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, "setSizeGripEnabled(self, 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, "isSizeGripEnabled(self) -> 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, "currentMessage(self) -> 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, "insertWidget(self, int, QWidget, stretch: int = 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, "insertPermanentWidget(self, int, QWidget, stretch: int = 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, "showMessage(self, str, msecs: int = 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, "clearMessage(self)");

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, "paintEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "reformat(self)");

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, "hideOrShow(self)");

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, "event(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QStatusBar(void *, const sipTypeDef *);}
static void *cast_QStatusBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStatusBar *sipCpp = reinterpret_cast< ::QStatusBar *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQStatusBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStatusBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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}
};

PyDoc_STRVAR(doc_QStatusBar, "\1QStatusBar(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStatusBar[] = {
    {"messageChanged(QString)", "\1messageChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QStatusBar = {
    & ::QStatusBar::staticMetaObject,
    0,
    signals_QStatusBar,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStatusBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStatusBar,
        {0},
        &plugin_QStatusBar
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstackedwidget.sip"
#include <qstackedwidget.h>
#line 122814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 122818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 122821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 122824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 122827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 122833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 122836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 122839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 122845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 122848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 122851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 122854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 122860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 122866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 122872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 122875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 122878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 122881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 122884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 122887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 122890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 122893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 122896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 122899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 122902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 122905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 122956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 122959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 122962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 122965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 122968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 122971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 122977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 122980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 122983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 122986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 122989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 122992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 122995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 122998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 123001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 123004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 123007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 123010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 123013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 123016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 123019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 123022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void sipProtect_initStyleOption( ::QStyleOptionFrame*) const;
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQStackedWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStackedWidget);

    return  ::QStackedWidget::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QStackedWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQStackedWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QStackedWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQStackedWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QStackedWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStackedWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QStackedWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQStackedWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QStackedWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQStackedWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QStackedWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQStackedWidget::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  ::QStackedWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQStackedWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QStackedWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQStackedWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QStackedWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQStackedWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QStackedWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQStackedWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QStackedWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQStackedWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QStackedWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStackedWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QStackedWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStackedWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QStackedWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQStackedWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QStackedWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QStackedWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QStackedWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);
}

void sipQStackedWidget::sipProtect_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(a0);
}

bool sipQStackedWidget::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QStackedWidget::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QStackedWidget_sender, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 124258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 124318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QStackedWidget_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &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_QStackedWidget, sipName_initStyleOption, doc_QStackedWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_addWidget, "addWidget(self, 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, "insertWidget(self, 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, "removeWidget(self, 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, "currentWidget(self) -> 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, "currentIndex(self) -> 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, "indexOf(self, 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, "widget(self, 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, "count(self) -> 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, "setCurrentIndex(self, 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, "setCurrentWidget(self, 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, "event(self, 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 || sipIsDerivedClass((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 125989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStackedWidget(void *, const sipTypeDef *);}
static void *cast_QStackedWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStackedWidget *sipCpp = reinterpret_cast< ::QStackedWidget *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQStackedWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStackedWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{99, 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_initStyleOption), (PyCFunction)meth_QStackedWidget_initStyleOption, 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)}
};

PyDoc_STRVAR(doc_QStackedWidget, "\1QStackedWidget(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStackedWidget[] = {
    {"widgetRemoved(int)", "\1widgetRemoved(self, int)", 0, 0},
    {"currentChanged(int)", "\1currentChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QStackedWidget = {
    & ::QStackedWidget::staticMetaObject,
    0,
    signals_QStackedWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStackedWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStackedWidget,
        {0},
        &plugin_QStackedWidget
    },
    {
        sipNameNr_QStackedWidget,
        {0, 0, 1},
        58, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstackedlayout.sip"
#include <qstackedlayout.h>
#line 126216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 126220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 126223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 126226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 126229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 126232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 126235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 126238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 126241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 126250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 126253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 126256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 126262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 126265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 126268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 126271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 126274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 126277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 126280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 126283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 126286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 126289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 126292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 126295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::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;
    void addItem( ::QLayoutItem*);
     ::QLayoutItem* itemAt(int) const;
     ::QLayoutItem* takeAt(int);
    int indexOf( ::QWidget*) const;
    int count() const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQStackedLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStackedLayout);

    return  ::QStackedLayout::metaObject();
}

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));
}

void sipQStackedLayout::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QStackedLayout::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QStackedLayout::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QStackedLayout::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QStackedLayout::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QStackedLayout::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStackedLayout::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QStackedLayout::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQStackedLayout::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QStackedLayout::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSizePolicy::ControlTypes sipQStackedLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QStackedLayout::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQStackedLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QStackedLayout::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQStackedLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QStackedLayout::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQStackedLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QStackedLayout::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQStackedLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QStackedLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQStackedLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QStackedLayout::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQStackedLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QStackedLayout::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStackedLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QStackedLayout::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQStackedLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QStackedLayout::isEmpty();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRect sipQStackedLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QStackedLayout::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQStackedLayout::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QStackedLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::Orientations sipQStackedLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QStackedLayout::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQStackedLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QStackedLayout::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQStackedLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QStackedLayout::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQStackedLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QStackedLayout::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQStackedLayout::addItem( ::QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
         ::QStackedLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLayoutItem*);

    sipVH_QtWidgets_82(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQStackedLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return  ::QStackedLayout::itemAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQStackedLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return  ::QStackedLayout::takeAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQStackedLayout::indexOf( ::QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return  ::QStackedLayout::indexOf(a0);

    extern int sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_85(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQStackedLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return  ::QStackedLayout::count();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 126954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 127014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "widgetEvent(self, 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, "childEvent(self, 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 || sipIsDerivedClass((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, "addChildLayout(self, 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, "addChildWidget(self, 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.9-1.i686/build/py3/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 127334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "alignmentRect(self, 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, "addWidget(self, 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.9-1.i686/build/py3/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 127415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "insertWidget(self, 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.9-1.i686/build/py3/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 127467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "currentWidget(self) -> 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, "currentIndex(self) -> 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, "widget(self, int) -> QWidget\n"
    "widget(self) -> 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 || sipIsDerivedClass((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, "count(self) -> 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 || sipIsDerivedClass((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, "addItem(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSize(self) -> 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 || sipIsDerivedClass((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, "itemAt(self, 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 || sipIsDerivedClass((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, "takeAt(self, 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "setCurrentIndex(self, 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, "setCurrentWidget(self, 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, "stackingMode(self) -> 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, "setStackingMode(self, 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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QStackedLayout(void *, const sipTypeDef *);}
static void *cast_QStackedLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStackedLayout *sipCpp = reinterpret_cast< ::QStackedLayout *>(sipCppV);

    if (targetType == sipType_QLayout)
        return static_cast< ::QLayout *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQStackedLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStackedLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{187, 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), 283},
    {sipName_StackOne, static_cast<int>( ::QStackedLayout::StackOne), 283},
};

PyDoc_STRVAR(doc_QStackedLayout, "\1QStackedLayout()\n"
    "QStackedLayout(QWidget)\n"
    "QStackedLayout(QLayout)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStackedLayout[] = {
    {"currentChanged(int)", "\1currentChanged(self, int)", 0, 0},
    {"widgetRemoved(int)", "\1widgetRemoved(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QStackedLayout = {
    & ::QStackedLayout::staticMetaObject,
    0,
    signals_QStackedLayout,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStackedLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStackedLayout,
        {0},
        &plugin_QStackedLayout
    },
    {
        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
};

#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 128164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 128171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 128186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 128189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 128192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 128195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 128198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 128201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 128204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 128210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 128213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 128219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 128225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 128228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 128231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 128234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 128237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 128240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 128243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 128246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 128249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 128252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 128255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 128258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 128306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 128312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 128315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 128318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 128324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 128327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 128330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 128333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 128336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 128339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 128348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 128357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 128363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 128366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 128369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSplitterHandle::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSplitterHandle);

    return  ::QSplitterHandle::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQSplitterHandle::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSplitterHandle::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSplitterHandle::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QSplitterHandle::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQSplitterHandle::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QSplitterHandle::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSplitterHandle::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QSplitterHandle::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSplitterHandle::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QSplitterHandle::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQSplitterHandle::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSplitterHandle::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSplitterHandle::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QSplitterHandle::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSplitterHandle::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QSplitterHandle::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QSplitterHandle::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQSplitterHandle::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QSplitterHandle::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSplitterHandle::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QSplitterHandle::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSplitterHandle::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QSplitterHandle::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSplitterHandle::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QSplitterHandle::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQSplitterHandle::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QSplitterHandle::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSplitterHandle::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QSplitterHandle::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 129605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 129665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setOrientation(self, 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, "orientation(self) -> 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, "opaqueResize(self) -> 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, "splitter(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "moveSplitter(self, 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, "closestLegalPosition(self, 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, "resizeEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QSplitterHandle(void *, const sipTypeDef *);}
static void *cast_QSplitterHandle(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSplitterHandle *sipCpp = reinterpret_cast< ::QSplitterHandle *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSplitterHandle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSplitterHandle(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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)");


static pyqt5ClassPluginDef plugin_QSplitterHandle = {
    & ::QSplitterHandle::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSplitterHandle = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSplitterHandle,
        {0},
        &plugin_QSplitterHandle
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 131369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 131373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 131379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 131385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 131388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 131391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 131394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 131397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 131400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 131403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 131409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 131412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 131415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 131418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 131421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 131427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 131433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 131439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 131442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 131445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 131448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 131451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 131454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 131457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 131460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 131463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 131466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 131469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 131472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 131520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 131523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 131526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 131529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 131532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 131535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 131541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 131544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 131547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 131550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 131553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 131556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 131559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 131562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 131565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 131568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 131571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 131577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 131580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 131583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void sipProtect_initStyleOption( ::QStyleOptionFrame*) const;
     ::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:
     ::QSplitterHandle* createHandle();
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSplitter::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSplitter);

    return  ::QSplitter::metaObject();
}

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));
}

 ::QSplitterHandle* sipQSplitter::createHandle()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_createHandle);

    if (!sipMeth)
        return  ::QSplitter::createHandle();

    extern  ::QSplitterHandle* sipVH_QtWidgets_200(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_200(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSplitter::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QSplitter::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQSplitter::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QSplitter::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSplitter::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QSplitter::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSplitter::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QSplitter::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSplitter::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QSplitter::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQSplitter::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QSplitter::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QSplitter::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QSplitter::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QSplitter::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QSplitter::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QSplitter::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QSplitter::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QSplitter::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QSplitter::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QSplitter::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QSplitter::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QSplitter::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QSplitter::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QSplitter::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QSplitter::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QSplitter::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QSplitter::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QSplitter::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QSplitter::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QSplitter::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QSplitter::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QSplitter::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QSplitter::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QSplitter::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QSplitter::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QSplitter::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QSplitter::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSplitter::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  ::QSplitter::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQSplitter::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QSplitter::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSplitter::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSplitter::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSplitter::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QSplitter::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSplitter::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QSplitter::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQSplitter::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QSplitter::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSplitter::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QSplitter::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSplitter::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSplitter::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSplitter::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSplitter::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQSplitter::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSplitter::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSplitter::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSplitter::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplitter::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSplitter::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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);
}

void sipQSplitter::sipProtect_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 132865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 132925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QSplitter_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &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_QSplitter, sipName_initStyleOption, doc_QSplitter_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_addWidget, "addWidget(self, 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, "insertWidget(self, 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, "setOrientation(self, 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, "orientation(self) -> 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, "setChildrenCollapsible(self, 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, "childrenCollapsible(self) -> 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, "setCollapsible(self, 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, "isCollapsible(self, 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, "setOpaqueResize(self, opaque: bool = 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, "opaqueResize(self) -> 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, "refresh(self)");

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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "sizes(self) -> List[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, "setSizes(self, Iterable[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, "saveState(self) -> 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, "restoreState(self, Union[QByteArray, bytes, bytearray]) -> 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, "handleWidth(self) -> 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, "setHandleWidth(self, 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, "indexOf(self, 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, "widget(self, 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, "count(self) -> 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, "getRange(self, int) -> Tuple[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, "handle(self, 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, "setStretchFactor(self, 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_replaceWidget, "replaceWidget(self, int, QWidget) -> QWidget");

extern "C" {static PyObject *meth_QSplitter_replaceWidget(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_replaceWidget(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))
        {
             ::QWidget*sipRes;

            sipRes = sipCpp->replaceWidget(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWidget,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_replaceWidget, doc_QSplitter_replaceWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_createHandle, "createHandle(self) -> 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "moveSplitter(self, 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, "setRubberBand(self, 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, "closestLegalPosition(self, 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 135175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSplitter(void *, const sipTypeDef *);}
static void *cast_QSplitter(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSplitter *sipCpp = reinterpret_cast< ::QSplitter *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSplitter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSplitter(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{99, 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_initStyleOption), (PyCFunction)meth_QSplitter_initStyleOption, 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_replaceWidget), meth_QSplitter_replaceWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_replaceWidget)},
    {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)}
};

PyDoc_STRVAR(doc_QSplitter, "\1QSplitter(parent: QWidget = None)\n"
    "QSplitter(Qt.Orientation, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSplitter[] = {
    {"splitterMoved(int,int)", "\1splitterMoved(self, int, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSplitter = {
    & ::QSplitter::staticMetaObject,
    0,
    signals_QSplitter,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSplitter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSplitter,
        {0},
        &plugin_QSplitter
    },
    {
        sipNameNr_QSplitter,
        {0, 0, 1},
        78, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsplashscreen.sip"
#include <qsplashscreen.h>
#line 135441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 135445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 135451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 135457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 135460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 135463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 135466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 135472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 135475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 135478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 135481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 135487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 135493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 135496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 135499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 135502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 135505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 135508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 135511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 135514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 135517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 135520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 135523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 135526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 135529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 135583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 135586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 135589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 135592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 135595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 135601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 135604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 135607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 135610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 135613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 135616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 135619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 135622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 135625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 135628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 135631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 135634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 135640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 135643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 135646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 drawContents( ::QPainter*);
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSplashScreen::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSplashScreen);

    return  ::QSplashScreen::metaObject();
}

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::drawContents( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
         ::QSplashScreen::drawContents(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSplashScreen::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSplashScreen::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSplashScreen::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSplashScreen::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQSplashScreen::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSplashScreen::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSplashScreen::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  ::QSplashScreen::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQSplashScreen::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QSplashScreen::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSplashScreen::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QSplashScreen::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSplashScreen::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QSplashScreen::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQSplashScreen::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSplashScreen::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSplashScreen::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QSplashScreen::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSplashScreen::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QSplashScreen::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QSplashScreen::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQSplashScreen::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QSplashScreen::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSplashScreen::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QSplashScreen::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSplashScreen::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QSplashScreen::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSplashScreen::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QSplashScreen::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQSplashScreen::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QSplashScreen::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSplashScreen::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QSplashScreen::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 136901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 136961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setPixmap(self, 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, "pixmap(self) -> 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, "finish(self, 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, "repaint(self)");

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, "message(self) -> 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, "showMessage(self, str, alignment: int = Qt.AlignLeft, color: Union[QColor, Qt.GlobalColor, QGradient] = 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, "clearMessage(self)");

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, "drawContents(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QSplashScreen(void *, const sipTypeDef *);}
static void *cast_QSplashScreen(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSplashScreen *sipCpp = reinterpret_cast< ::QSplashScreen *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSplashScreen *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSplashScreen(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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 = Qt::WindowFlags();
         ::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[] = {{457, 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}
};

PyDoc_STRVAR(doc_QSplashScreen, "\1QSplashScreen(pixmap: QPixmap = QPixmap(), flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())\n"
    "QSplashScreen(QWidget, pixmap: QPixmap = QPixmap(), flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSplashScreen[] = {
    {"messageChanged(QString)", "\1messageChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSplashScreen = {
    & ::QSplashScreen::staticMetaObject,
    0,
    signals_QSplashScreen,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSplashScreen = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSplashScreen,
        {0},
        &plugin_QSplashScreen
    },
    {
        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
};

#line 75 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qspinbox.sip"
#include <qspinbox.h>
#line 138746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 138750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 138753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 138756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 138759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 138765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 138768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 138771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 138774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 138783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 138795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 138813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 138819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 138822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 138825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 138828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 138834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 138837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 138843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 138849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 138852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 138855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 138858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 138861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 138864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 138867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 138870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 138873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 138876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 138879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 138906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 138909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 138912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 138915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 138918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 138924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 138927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 138930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 138933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 138936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 138939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 138942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 138945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 138948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 138951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 138954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 138957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 138960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 138963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 138966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QString textFromValue(double) const;
    double valueFromText(const  ::QString&) const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
     ::QValidator::State validate( ::QString&,int&) const;
    void fixup( ::QString&) const;
    void stepBy(int);
    void clear();
     ::QAbstractSpinBox::StepEnabled stepEnabled() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDoubleSpinBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDoubleSpinBox);

    return  ::QDoubleSpinBox::metaObject();
}

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));
}

 ::QString sipQDoubleSpinBox::textFromValue(double a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_textFromValue);

    if (!sipMeth)
        return  ::QDoubleSpinBox::textFromValue(a0);

    extern  ::QString sipVH_QtWidgets_199(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double);

    return sipVH_QtWidgets_199(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

double sipQDoubleSpinBox::valueFromText(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_valueFromText);

    if (!sipMeth)
        return  ::QDoubleSpinBox::valueFromText(a0);

    extern double sipVH_QtWidgets_198(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtWidgets_198(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQDoubleSpinBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDoubleSpinBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDoubleSpinBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDoubleSpinBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDoubleSpinBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDoubleSpinBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDoubleSpinBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDoubleSpinBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDoubleSpinBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDoubleSpinBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDoubleSpinBox::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  ::QDoubleSpinBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDoubleSpinBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDoubleSpinBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDoubleSpinBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDoubleSpinBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDoubleSpinBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDoubleSpinBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDoubleSpinBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQDoubleSpinBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDoubleSpinBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDoubleSpinBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QDoubleSpinBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDoubleSpinBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDoubleSpinBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDoubleSpinBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QDoubleSpinBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQDoubleSpinBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[48]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return  ::QDoubleSpinBox::validate(a0,a1);

    extern  ::QValidator::State sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

    return sipVH_QtWidgets_72(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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;
    }

    extern void sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

    sipVH_QtWidgets_73(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::stepBy(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::QDoubleSpinBox::clear();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QAbstractSpinBox::StepEnabled sipQDoubleSpinBox::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return  ::QDoubleSpinBox::stepEnabled();

    extern  ::QAbstractSpinBox::StepEnabled sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_74(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 140329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 140389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "lineEdit(self) -> 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, "setLineEdit(self, 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, "stepEnabled(self) -> 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "value(self) -> 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, "prefix(self) -> 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, "setPrefix(self, 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, "suffix(self) -> 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, "setSuffix(self, 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, "cleanText(self) -> 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, "singleStep(self) -> 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, "setSingleStep(self, 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, "minimum(self) -> 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, "setMinimum(self, 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, "maximum(self) -> 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, "setMaximum(self, 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, "setRange(self, 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, "decimals(self) -> 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, "setDecimals(self, 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, "validate(self, str, int) -> Tuple[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 || sipIsDerivedClass((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, "valueFromText(self, 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 || sipIsDerivedClass((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, "textFromValue(self, 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 || sipIsDerivedClass((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, "fixup(self, 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 || sipIsDerivedClass((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, "setValue(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QDoubleSpinBox(void *, const sipTypeDef *);}
static void *cast_QDoubleSpinBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDoubleSpinBox *sipCpp = reinterpret_cast< ::QDoubleSpinBox *>(sipCppV);

    if (targetType == sipType_QAbstractSpinBox)
        return static_cast< ::QAbstractSpinBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDoubleSpinBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDoubleSpinBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};

PyDoc_STRVAR(doc_QDoubleSpinBox, "\1QDoubleSpinBox(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDoubleSpinBox[] = {
    {"valueChanged(double)", "\1valueChanged(self, float)", 0, 0},
    {"valueChanged(QString)", "\1valueChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QDoubleSpinBox = {
    & ::QDoubleSpinBox::staticMetaObject,
    0,
    signals_QDoubleSpinBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDoubleSpinBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDoubleSpinBox,
        {0},
        &plugin_QDoubleSpinBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qspinbox.sip"
#include <qspinbox.h>
#line 142593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 142597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 142600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 142603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 142606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 142609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 142615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 142618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 142621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 142624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 142633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 142660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 142666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 142669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 142672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 142675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 142681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 142684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 142690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 142696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 142699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 142702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 142705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 142708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 142711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 142714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 142717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 142720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 142723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 142726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 142750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 142753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 142756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 142759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 142762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 142765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 142771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 142774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 142777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 142780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 142783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 142786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 142789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 142792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 142795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 142798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 142801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 142807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 142810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 142813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QString textFromValue(int) const;
    int valueFromText(const  ::QString&) const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
     ::QValidator::State validate( ::QString&,int&) const;
    void fixup( ::QString&) const;
    void stepBy(int);
    void clear();
     ::QAbstractSpinBox::StepEnabled stepEnabled() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSpinBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSpinBox);

    return  ::QSpinBox::metaObject();
}

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));
}

 ::QString sipQSpinBox::textFromValue(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_textFromValue);

    if (!sipMeth)
        return  ::QSpinBox::textFromValue(a0);

    extern  ::QString sipVH_QtWidgets_197(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_197(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSpinBox::valueFromText(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_valueFromText);

    if (!sipMeth)
        return  ::QSpinBox::valueFromText(a0);

    extern int sipVH_QtWidgets_196(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtWidgets_196(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QSpinBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQSpinBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QSpinBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSpinBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QSpinBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSpinBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QSpinBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSpinBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QSpinBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQSpinBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QSpinBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QSpinBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QSpinBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QSpinBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QSpinBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QSpinBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QSpinBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QSpinBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QSpinBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QSpinBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QSpinBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QSpinBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QSpinBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QSpinBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QSpinBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QSpinBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QSpinBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QSpinBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QSpinBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSpinBox::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  ::QSpinBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQSpinBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QSpinBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSpinBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSpinBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSpinBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QSpinBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSpinBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QSpinBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQSpinBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QSpinBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSpinBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QSpinBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSpinBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSpinBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSpinBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSpinBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQSpinBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSpinBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSpinBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSpinBox::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSpinBox::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSpinBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[48]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return  ::QSpinBox::validate(a0,a1);

    extern  ::QValidator::State sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

    return sipVH_QtWidgets_72(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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;
    }

    extern void sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

    sipVH_QtWidgets_73(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
         ::QSpinBox::stepBy(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpinBox::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::QSpinBox::clear();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QAbstractSpinBox::StepEnabled sipQSpinBox::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return  ::QSpinBox::stepEnabled();

    extern  ::QAbstractSpinBox::StepEnabled sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_74(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 144206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 144266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "lineEdit(self) -> 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, "setLineEdit(self, 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, "stepEnabled(self) -> 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "value(self) -> 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, "prefix(self) -> 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, "setPrefix(self, 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, "suffix(self) -> 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, "setSuffix(self, 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, "cleanText(self) -> 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, "singleStep(self) -> 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, "setSingleStep(self, 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, "minimum(self) -> 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, "setMinimum(self, 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, "maximum(self) -> 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, "setMaximum(self, 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, "setRange(self, 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, "validate(self, str, int) -> Tuple[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 || sipIsDerivedClass((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, "valueFromText(self, 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 || sipIsDerivedClass((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, "textFromValue(self, 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 || sipIsDerivedClass((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, "fixup(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "setValue(self, 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, "displayIntegerBase(self) -> 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, "setDisplayIntegerBase(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QSpinBox(void *, const sipTypeDef *);}
static void *cast_QSpinBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSpinBox *sipCpp = reinterpret_cast< ::QSpinBox *>(sipCppV);

    if (targetType == sipType_QAbstractSpinBox)
        return static_cast< ::QAbstractSpinBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSpinBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSpinBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};

PyDoc_STRVAR(doc_QSpinBox, "\1QSpinBox(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSpinBox[] = {
    {"valueChanged(int)", "\1valueChanged(self, int)", 0, 0},
    {"valueChanged(QString)", "\1valueChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSpinBox = {
    & ::QSpinBox::staticMetaObject,
    0,
    signals_QSpinBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSpinBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSpinBox,
        {0},
        &plugin_QSpinBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qslider.sip"
#include <qslider.h>
#line 146501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 146505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 146517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 146523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 146535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 146538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 146541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 146544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 146547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 146550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 146556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 146559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 146565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 146571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 146574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 146577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 146580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 146583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 146586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 146589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 146592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 146595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 146598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 146601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 146604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 146649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 146652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 146655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 146658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 146661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 146667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 146670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 146673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 146676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 146679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 146682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 146685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 146688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 146691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 146694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 146697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 146700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 146703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 146706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void sliderChange( ::QAbstractSlider::SliderChange);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSlider::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSlider);

    return  ::QSlider::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QSlider::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQSlider::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QSlider::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSlider::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QSlider::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSlider::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QSlider::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSlider::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QSlider::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQSlider::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QSlider::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QSlider::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QSlider::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QSlider::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QSlider::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QSlider::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QSlider::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QSlider::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QSlider::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QSlider::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QSlider::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QSlider::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QSlider::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QSlider::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QSlider::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QSlider::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QSlider::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QSlider::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QSlider::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QSlider::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QSlider::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QSlider::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QSlider::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QSlider::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QSlider::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QSlider::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QSlider::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQSlider::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QSlider::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSlider::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSlider::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSlider::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QSlider::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSlider::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QSlider::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQSlider::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QSlider::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSlider::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QSlider::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSlider::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSlider::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSlider::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSlider::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQSlider::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSlider::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSlider::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSlider::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSlider::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSlider::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSlider::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::QSlider::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_71(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 147984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 148044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setRepeatAction(self, QAbstractSlider.SliderAction, thresholdTime: int = 500, repeatTime: int = 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, "repeatAction(self) -> 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, "sliderChange(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "setTickPosition(self, 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, "tickPosition(self) -> 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, "setTickInterval(self, 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, "tickInterval(self) -> 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, "event(self, 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QSlider(void *, const sipTypeDef *);}
static void *cast_QSlider(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSlider *sipCpp = reinterpret_cast< ::QSlider *>(sipCppV);

    if (targetType == sipType_QAbstractSlider)
        return static_cast< ::QAbstractSlider *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSlider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSlider(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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), 276},
    {sipName_TicksAbove, static_cast<int>( ::QSlider::TicksAbove), 276},
    {sipName_TicksBelow, static_cast<int>( ::QSlider::TicksBelow), 276},
    {sipName_TicksBothSides, static_cast<int>( ::QSlider::TicksBothSides), 276},
    {sipName_TicksLeft, static_cast<int>( ::QSlider::TicksLeft), 276},
    {sipName_TicksRight, static_cast<int>( ::QSlider::TicksRight), 276},
};

PyDoc_STRVAR(doc_QSlider, "\1QSlider(parent: QWidget = None)\n"
    "QSlider(Qt.Orientation, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QSlider = {
    & ::QSlider::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSlider = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSlider,
        {0},
        &plugin_QSlider
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 149879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 149883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QSizePolicy_ControlTypes___hash__(PyObject *);}
static long slot_QSizePolicy_ControlTypes___hash__(PyObject *sipSelf)
{
     ::QSizePolicy::ControlTypes *sipCpp = reinterpret_cast< ::QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSizePolicy::ControlTypes::Int();
#line 149901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSizePolicy::ControlTypes::Int() != 0);
#line 149926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSizePolicy::ControlTypes::Int() != a0->operator QSizePolicy::ControlTypes::Int());
#line 149956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSizePolicy::ControlTypes::Int() == a0->operator QSizePolicy::ControlTypes::Int());
#line 149992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSizePolicy::ControlTypes(*sipCpp ^ a0);
#line 150031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSizePolicy::ControlTypes(*sipCpp | a0);
#line 150103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___or__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QSizePolicy::ControlTypes();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QSizePolicy::ControlTypes(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 150371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSizePolicy_ControlTypes[] = {
    {(void *)slot_QSizePolicy_ControlTypes___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QSizePolicy_ControlTypes___xor__, xor_slot},
    {(void *)slot_QSizePolicy_ControlTypes___ior__, ior_slot},
    {(void *)slot_QSizePolicy_ControlTypes___or__, or_slot},
    {(void *)slot_QSizePolicy_ControlTypes___iand__, iand_slot},
    {(void *)slot_QSizePolicy_ControlTypes___and__, and_slot},
    {(void *)slot_QSizePolicy_ControlTypes___invert__, invert_slot},
    {(void *)slot_QSizePolicy_ControlTypes___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSizePolicy_ControlTypes, "\1QSizePolicy.ControlTypes()\n"
    "QSizePolicy.ControlTypes(Union[QSizePolicy.ControlTypes, QSizePolicy.ControlType])\n"
    "QSizePolicy.ControlTypes(QSizePolicy.ControlTypes)");


static pyqt5ClassPluginDef plugin_QSizePolicy_ControlTypes = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSizePolicy_ControlTypes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSizePolicy__ControlTypes,
        {0},
        &plugin_QSizePolicy_ControlTypes
    },
    {
        sipNameNr_ControlTypes,
        {270, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizePolicy_ControlTypes,
    -1,
    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,
    0,
    convertTo_QSizePolicy_ControlTypes,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 150457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 150461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QSizePolicy_horizontalPolicy, "horizontalPolicy(self) -> 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, "verticalPolicy(self) -> 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, "setHorizontalPolicy(self, 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, "setVerticalPolicy(self, 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, "expandingDirections(self) -> 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, "setHeightForWidth(self, 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, "hasHeightForWidth(self) -> 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, "horizontalStretch(self) -> 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, "verticalStretch(self) -> 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, "setHorizontalStretch(self, 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, "setVerticalStretch(self, 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, "transpose(self)");

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_transposed, "transposed(self) -> QSizePolicy");

extern "C" {static PyObject *meth_QSizePolicy_transposed(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_transposed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
             ::QSizePolicy*sipRes;

            sipRes = new  ::QSizePolicy(sipCpp->transposed());

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_transposed, doc_QSizePolicy_transposed);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_controlType, "controlType(self) -> 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, "setControlType(self, 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, "setWidthForHeight(self, 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, "hasWidthForHeight(self) -> 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, "retainSizeWhenHidden(self) -> 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, "setRetainSizeWhenHidden(self, 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 long slot_QSizePolicy___hash__(PyObject *);}
static long slot_QSizePolicy___hash__(PyObject *sipSelf)
{
     ::QSizePolicy *sipCpp = reinterpret_cast< ::QSizePolicy *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
        sipRes = qHash(*sipCpp);
#line 151013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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);
}


/* 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 (sipIsOwnedByPython(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 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
        if (a0->canConvert<QSizePolicy>())
            sipCpp = new QSizePolicy(a0->value<QSizePolicy>());
        else
            sipError = sipBadCallableArg(0, a0Wrapper);
#line 151173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___hash__, hash_slot},
    {(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_transposed), meth_QSizePolicy_transposed, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_transposed)},
    {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), 271},
    {sipName_CheckBox, static_cast<int>( ::QSizePolicy::CheckBox), 271},
    {sipName_ComboBox, static_cast<int>( ::QSizePolicy::ComboBox), 271},
    {sipName_DefaultType, static_cast<int>( ::QSizePolicy::DefaultType), 271},
    {sipName_ExpandFlag, static_cast<int>( ::QSizePolicy::ExpandFlag), 274},
    {sipName_Expanding, static_cast<int>( ::QSizePolicy::Expanding), 273},
    {sipName_Fixed, static_cast<int>( ::QSizePolicy::Fixed), 273},
    {sipName_Frame, static_cast<int>( ::QSizePolicy::Frame), 271},
    {sipName_GroupBox, static_cast<int>( ::QSizePolicy::GroupBox), 271},
    {sipName_GrowFlag, static_cast<int>( ::QSizePolicy::GrowFlag), 274},
    {sipName_IgnoreFlag, static_cast<int>( ::QSizePolicy::IgnoreFlag), 274},
    {sipName_Ignored, static_cast<int>( ::QSizePolicy::Ignored), 273},
    {sipName_Label, static_cast<int>( ::QSizePolicy::Label), 271},
    {sipName_Line, static_cast<int>( ::QSizePolicy::Line), 271},
    {sipName_LineEdit, static_cast<int>( ::QSizePolicy::LineEdit), 271},
    {sipName_Maximum, static_cast<int>( ::QSizePolicy::Maximum), 273},
    {sipName_Minimum, static_cast<int>( ::QSizePolicy::Minimum), 273},
    {sipName_MinimumExpanding, static_cast<int>( ::QSizePolicy::MinimumExpanding), 273},
    {sipName_Preferred, static_cast<int>( ::QSizePolicy::Preferred), 273},
    {sipName_PushButton, static_cast<int>( ::QSizePolicy::PushButton), 271},
    {sipName_RadioButton, static_cast<int>( ::QSizePolicy::RadioButton), 271},
    {sipName_ShrinkFlag, static_cast<int>( ::QSizePolicy::ShrinkFlag), 274},
    {sipName_Slider, static_cast<int>( ::QSizePolicy::Slider), 271},
    {sipName_SpinBox, static_cast<int>( ::QSizePolicy::SpinBox), 271},
    {sipName_TabWidget, static_cast<int>( ::QSizePolicy::TabWidget), 271},
    {sipName_ToolButton, static_cast<int>( ::QSizePolicy::ToolButton), 271},
};

PyDoc_STRVAR(doc_QSizePolicy, "\1QSizePolicy()\n"
    "QSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy, type: QSizePolicy.ControlType = QSizePolicy.DefaultType)\n"
    "QSizePolicy(Any)\n"
    "QSizePolicy(QSizePolicy)");


static pyqt5ClassPluginDef plugin_QSizePolicy = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSizePolicy = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSizePolicy,
        {0},
        &plugin_QSizePolicy
    },
    {
        sipNameNr_QSizePolicy,
        {0, 0, 1},
        19, methods_QSizePolicy,
        26, enummembers_QSizePolicy,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizePolicy,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizegrip.sip"
#include <qsizegrip.h>
#line 151332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 151336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 151351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 151360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 151366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 151369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 151372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 151375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 151378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 151384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 151387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 151393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 151399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 151402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 151405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 151408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 151411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 151414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 151417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 151420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 151423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 151426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 151429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 151432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 151474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 151477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 151480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 151483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 151486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 151492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 151495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 151498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 151501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 151504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 151507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 151516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 151519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 151522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 151528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 151531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSizeGrip::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSizeGrip);

    return  ::QSizeGrip::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSizeGrip::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSizeGrip::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQSizeGrip::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSizeGrip::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSizeGrip::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QSizeGrip::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQSizeGrip::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QSizeGrip::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSizeGrip::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QSizeGrip::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSizeGrip::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QSizeGrip::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQSizeGrip::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSizeGrip::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSizeGrip::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QSizeGrip::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSizeGrip::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QSizeGrip::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QSizeGrip::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQSizeGrip::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QSizeGrip::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSizeGrip::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QSizeGrip::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSizeGrip::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QSizeGrip::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSizeGrip::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QSizeGrip::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQSizeGrip::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QSizeGrip::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSizeGrip::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QSizeGrip::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 152764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 152824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "setVisible(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QSizeGrip(void *, const sipTypeDef *);}
static void *cast_QSizeGrip(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSizeGrip *sipCpp = reinterpret_cast< ::QSizeGrip *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSizeGrip *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSizeGrip(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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)");


static pyqt5ClassPluginDef plugin_QSizeGrip = {
    & ::QSizeGrip::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSizeGrip = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSizeGrip,
        {0},
        &plugin_QSizeGrip
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qshortcut.sip"
#include <qshortcut.h>
#line 154414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 154418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 154421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 154427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 154430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 154433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 154436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 154439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 154442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 154445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 154448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 154451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 154454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 154457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 154463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 154466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 154469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQShortcut::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QShortcut);

    return  ::QShortcut::metaObject();
}

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));
}

bool sipQShortcut::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QShortcut::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQShortcut::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QShortcut::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQShortcut::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QShortcut::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQShortcut::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QShortcut::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQShortcut::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QShortcut::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQShortcut::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QShortcut::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 154775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 154835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "setKey(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])");

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, "key(self) -> 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, "setEnabled(self, 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, "isEnabled(self) -> 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, "setContext(self, 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, "context(self) -> 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, "setWhatsThis(self, 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, "whatsThis(self) -> 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, "id(self) -> 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, "parentWidget(self) -> 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, "setAutoRepeat(self, 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, "autoRepeat(self) -> 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, "event(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QShortcut(void *, const sipTypeDef *);}
static void *cast_QShortcut(void *sipCppV, const sipTypeDef *targetType)
{
     ::QShortcut *sipCpp = reinterpret_cast< ::QShortcut *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQShortcut *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QShortcut(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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.9-1.i686/build/py3/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 155552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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[] = {{32, 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)}
};

PyDoc_STRVAR(doc_QShortcut, "\1QShortcut(QWidget)\n"
    "QShortcut(Union[QKeySequence, QKeySequence.StandardKey, str, int], QWidget, member: PYQT_SLOT = 0, ambiguousMember: PYQT_SLOT = 0, context: Qt.ShortcutContext = Qt.WindowShortcut)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QShortcut[] = {
    {"activatedAmbiguously()", "\1activatedAmbiguously(self)", 0, 0},
    {"activated()", "\1activated(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QShortcut = {
    & ::QShortcut::staticMetaObject,
    0,
    signals_QShortcut,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QShortcut = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QShortcut,
        {0},
        &plugin_QShortcut
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollerproperties.sip"
#include <qscrollerproperties.h>
#line 155679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 155683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QScrollerProperties_setDefaultScrollerProperties, "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, "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, "scrollMetric(self, QScrollerProperties.ScrollMetric) -> Any");

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, "setScrollMetric(self, QScrollerProperties.ScrollMetric, Any)");

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);
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQScrollerProperties *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QScrollerProperties(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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), 267},
    {sipName_AcceleratingFlickSpeedupFactor, static_cast<int>( ::QScrollerProperties::AcceleratingFlickSpeedupFactor), 267},
    {sipName_AxisLockThreshold, static_cast<int>( ::QScrollerProperties::AxisLockThreshold), 267},
    {sipName_DecelerationFactor, static_cast<int>( ::QScrollerProperties::DecelerationFactor), 267},
    {sipName_DragStartDistance, static_cast<int>( ::QScrollerProperties::DragStartDistance), 267},
    {sipName_DragVelocitySmoothingFactor, static_cast<int>( ::QScrollerProperties::DragVelocitySmoothingFactor), 267},
    {sipName_Fps20, static_cast<int>( ::QScrollerProperties::Fps20), 265},
    {sipName_Fps30, static_cast<int>( ::QScrollerProperties::Fps30), 265},
    {sipName_Fps60, static_cast<int>( ::QScrollerProperties::Fps60), 265},
    {sipName_FrameRate, static_cast<int>( ::QScrollerProperties::FrameRate), 267},
    {sipName_HorizontalOvershootPolicy, static_cast<int>( ::QScrollerProperties::HorizontalOvershootPolicy), 267},
    {sipName_MaximumClickThroughVelocity, static_cast<int>( ::QScrollerProperties::MaximumClickThroughVelocity), 267},
    {sipName_MaximumVelocity, static_cast<int>( ::QScrollerProperties::MaximumVelocity), 267},
    {sipName_MinimumVelocity, static_cast<int>( ::QScrollerProperties::MinimumVelocity), 267},
    {sipName_MousePressEventDelay, static_cast<int>( ::QScrollerProperties::MousePressEventDelay), 267},
    {sipName_OvershootAlwaysOff, static_cast<int>( ::QScrollerProperties::OvershootAlwaysOff), 266},
    {sipName_OvershootAlwaysOn, static_cast<int>( ::QScrollerProperties::OvershootAlwaysOn), 266},
    {sipName_OvershootDragDistanceFactor, static_cast<int>( ::QScrollerProperties::OvershootDragDistanceFactor), 267},
    {sipName_OvershootDragResistanceFactor, static_cast<int>( ::QScrollerProperties::OvershootDragResistanceFactor), 267},
    {sipName_OvershootScrollDistanceFactor, static_cast<int>( ::QScrollerProperties::OvershootScrollDistanceFactor), 267},
    {sipName_OvershootScrollTime, static_cast<int>( ::QScrollerProperties::OvershootScrollTime), 267},
    {sipName_OvershootWhenScrollable, static_cast<int>( ::QScrollerProperties::OvershootWhenScrollable), 266},
    {sipName_ScrollMetricCount, static_cast<int>( ::QScrollerProperties::ScrollMetricCount), 267},
    {sipName_ScrollingCurve, static_cast<int>( ::QScrollerProperties::ScrollingCurve), 267},
    {sipName_SnapPositionRatio, static_cast<int>( ::QScrollerProperties::SnapPositionRatio), 267},
    {sipName_SnapTime, static_cast<int>( ::QScrollerProperties::SnapTime), 267},
    {sipName_Standard, static_cast<int>( ::QScrollerProperties::Standard), 265},
    {sipName_VerticalOvershootPolicy, static_cast<int>( ::QScrollerProperties::VerticalOvershootPolicy), 267},
};

PyDoc_STRVAR(doc_QScrollerProperties, "\1QScrollerProperties()\n"
    "QScrollerProperties(QScrollerProperties)");


static pyqt5ClassPluginDef plugin_QScrollerProperties = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QScrollerProperties = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QScrollerProperties,
        {0},
        &plugin_QScrollerProperties
    },
    {
        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,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscroller.sip"
#include <qscroller.h>
#line 156079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 156083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollerproperties.sip"
#include <qscrollerproperties.h>
#line 156086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 156089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 156092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 746 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 156104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 156116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 156119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 156125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 156131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 156137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 156140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 156143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QScroller_hasScroller, "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, "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, "grabGesture(QObject, scrollGestureType: QScroller.ScrollerGestureType = 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, "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, "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, "activeScrollers() -> object");

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, "target(self) -> 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, "state(self) -> 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, "handleInput(self, QScroller.Input, Union[QPointF, QPoint], timestamp: int = 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, "stop(self)");

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, "velocity(self) -> 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, "finalPosition(self) -> 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, "pixelPerMeter(self) -> 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, "scrollerProperties(self) -> 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, "setSnapPositionsX(self, Iterable[float])\n"
    "setSnapPositionsX(self, 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, "setSnapPositionsY(self, Iterable[float])\n"
    "setSnapPositionsY(self, 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, "setScrollerProperties(self, 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, "scrollTo(self, Union[QPointF, QPoint])\n"
    "scrollTo(self, Union[QPointF, QPoint], 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, "ensureVisible(self, QRectF, float, float)\n"
    "ensureVisible(self, 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, "resendPrepareEvent(self)");

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 inheritance hierarchy. */
extern "C" {static void *cast_QScroller(void *, const sipTypeDef *);}
static void *cast_QScroller(void *sipCppV, const sipTypeDef *targetType)
{
     ::QScroller *sipCpp = reinterpret_cast< ::QScroller *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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[] = {{32, 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), 263},
    {sipName_Inactive, static_cast<int>( ::QScroller::Inactive), 263},
    {sipName_InputMove, static_cast<int>( ::QScroller::InputMove), 261},
    {sipName_InputPress, static_cast<int>( ::QScroller::InputPress), 261},
    {sipName_InputRelease, static_cast<int>( ::QScroller::InputRelease), 261},
    {sipName_LeftMouseButtonGesture, static_cast<int>( ::QScroller::LeftMouseButtonGesture), 262},
    {sipName_MiddleMouseButtonGesture, static_cast<int>( ::QScroller::MiddleMouseButtonGesture), 262},
    {sipName_Pressed, static_cast<int>( ::QScroller::Pressed), 263},
    {sipName_RightMouseButtonGesture, static_cast<int>( ::QScroller::RightMouseButtonGesture), 262},
    {sipName_Scrolling, static_cast<int>( ::QScroller::Scrolling), 263},
    {sipName_TouchGesture, static_cast<int>( ::QScroller::TouchGesture), 262},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QScroller[] = {
    {"scrollerPropertiesChanged(QScrollerProperties)", "\1scrollerPropertiesChanged(self, QScrollerProperties)", 0, 0},
    {"stateChanged(QScroller::State)", "\1stateChanged(self, QScroller.State)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QScroller = {
    & ::QScroller::staticMetaObject,
    0,
    signals_QScroller,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QScroller = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QScroller,
        {0},
        &plugin_QScroller
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 156923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 156927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 156933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 156951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 156957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 156966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 156969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 156972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 156975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 156978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 156984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 156987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 156993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 156999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 157002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 157005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 157008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 157011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 157014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 157017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 157020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 157023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 157026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 157029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 157032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 157071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 157074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 157077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 157080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 157083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 157086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 157089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 157092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 157095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 157098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 157101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 157104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 157107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 157110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 157113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 157116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 157119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 157122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 157125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 157128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 157131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void sliderChange( ::QAbstractSlider::SliderChange);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQScrollBar::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QScrollBar);

    return  ::QScrollBar::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QScrollBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQScrollBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QScrollBar::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQScrollBar::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QScrollBar::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQScrollBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QScrollBar::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQScrollBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QScrollBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQScrollBar::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QScrollBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QScrollBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QScrollBar::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QScrollBar::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QScrollBar::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QScrollBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QScrollBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QScrollBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QScrollBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QScrollBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QScrollBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QScrollBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QScrollBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QScrollBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QScrollBar::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QScrollBar::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QScrollBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QScrollBar::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QScrollBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QScrollBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QScrollBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QScrollBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QScrollBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QScrollBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QScrollBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QScrollBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QScrollBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQScrollBar::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  ::QScrollBar::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQScrollBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QScrollBar::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQScrollBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QScrollBar::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQScrollBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QScrollBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQScrollBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QScrollBar::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQScrollBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QScrollBar::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQScrollBar::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QScrollBar::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQScrollBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QScrollBar::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQScrollBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QScrollBar::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQScrollBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QScrollBar::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QScrollBar::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QScrollBar::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QScrollBar::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QScrollBar::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollBar::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::QScrollBar::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_71(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 158406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 158466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setRepeatAction(self, QAbstractSlider.SliderAction, thresholdTime: int = 500, repeatTime: int = 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, "repeatAction(self) -> 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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "sliderChange(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QScrollBar(void *, const sipTypeDef *);}
static void *cast_QScrollBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QScrollBar *sipCpp = reinterpret_cast< ::QScrollBar *>(sipCppV);

    if (targetType == sipType_QAbstractSlider)
        return static_cast< ::QAbstractSlider *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQScrollBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QScrollBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QWidget = None)\n"
    "QScrollBar(Qt.Orientation, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QScrollBar = {
    & ::QScrollBar::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QScrollBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QScrollBar,
        {0},
        &plugin_QScrollBar
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollarea.sip"
#include <qscrollarea.h>
#line 160146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 160150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 160153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 160159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 160168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 160174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 160204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 160210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 160213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 160216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 160219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 160222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 160225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 160228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 160231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 160237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 160246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 160249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 160252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 160255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 160258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 160261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 160264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 160267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 160270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 160273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 160276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 160279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 160306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 160312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 160315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 160318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 160324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 160327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 160330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 160333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 160336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 160339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 160354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 160360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 160363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 160366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQScrollArea::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QScrollArea);

    return  ::QScrollArea::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQScrollArea::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QScrollArea::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQScrollArea::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QScrollArea::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQScrollArea::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QScrollArea::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQScrollArea::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QScrollArea::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQScrollArea::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QScrollArea::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQScrollArea::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QScrollArea::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQScrollArea::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QScrollArea::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQScrollArea::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QScrollArea::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQScrollArea::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QScrollArea::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QScrollArea::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QScrollArea::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QScrollArea::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QScrollArea::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QScrollArea::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QScrollArea::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QScrollArea::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QScrollArea::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QScrollArea::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QScrollArea::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QScrollArea::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QScrollArea::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QScrollArea::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QScrollArea::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QScrollArea::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QScrollArea::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QScrollArea::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QScrollArea::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QScrollArea::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QScrollArea::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QScrollArea::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QScrollArea::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QScrollArea::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QScrollArea::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QScrollArea::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQScrollArea::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QScrollArea::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQScrollArea::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QScrollArea::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQScrollArea::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QScrollArea::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQScrollArea::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QScrollArea::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQScrollArea::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QScrollArea::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQScrollArea::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QScrollArea::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQScrollArea::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QScrollArea::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQScrollArea::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QScrollArea::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQScrollArea::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QScrollArea::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQScrollArea::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QScrollArea::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQScrollArea::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 161708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 161768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QScrollArea_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &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_QScrollArea, sipName_initStyleOption, doc_QScrollArea_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QScrollArea_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_viewportMargins, doc_QScrollArea_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_viewportEvent, "viewportEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "widget(self) -> 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, "setWidget(self, 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, "takeWidget(self) -> 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, "widgetResizable(self) -> 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, "setWidgetResizable(self, 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, "alignment(self) -> 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "ensureVisible(self, int, int, xMargin: int = 50, yMargin: int = 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, "ensureWidgetVisible(self, QWidget, xMargin: int = 50, yMargin: int = 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, "event(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QScrollArea(void *, const sipTypeDef *);}
static void *cast_QScrollArea(void *sipCppV, const sipTypeDef *targetType)
{
     ::QScrollArea *sipCpp = reinterpret_cast< ::QScrollArea *>(sipCppV);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQScrollArea *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QScrollArea(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QScrollArea_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QScrollArea_viewportMargins, 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(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QScrollArea = {
    & ::QScrollArea::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QScrollArea = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QScrollArea,
        {0},
        &plugin_QScrollArea
    },
    {
        sipNameNr_QScrollArea,
        {0, 0, 1},
        64, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qrubberband.sip"
#include <qrubberband.h>
#line 163845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 163849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 163861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 163867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 163870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 163873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 163876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 163882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 163885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 163888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 163891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 163894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 163900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 163906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 163912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 163915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 163918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 163921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 163924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 163927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 163930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 163933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 163936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 163939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 163942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 163987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 163993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 163996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 163999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 164002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 164005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 164008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 164011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 164014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 164017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 164020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 164023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 164026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 164029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 164032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 164035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 164038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 164041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 164044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 164047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 164050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQRubberBand::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QRubberBand);

    return  ::QRubberBand::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQRubberBand::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QRubberBand::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQRubberBand::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QRubberBand::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQRubberBand::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QRubberBand::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQRubberBand::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QRubberBand::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQRubberBand::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QRubberBand::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQRubberBand::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QRubberBand::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQRubberBand::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QRubberBand::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQRubberBand::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QRubberBand::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QRubberBand::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QRubberBand::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QRubberBand::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QRubberBand::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QRubberBand::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QRubberBand::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QRubberBand::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QRubberBand::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QRubberBand::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QRubberBand::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QRubberBand::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QRubberBand::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QRubberBand::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QRubberBand::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QRubberBand::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QRubberBand::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QRubberBand::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QRubberBand::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QRubberBand::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QRubberBand::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QRubberBand::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QRubberBand::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QRubberBand::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QRubberBand::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QRubberBand::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRubberBand::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QRubberBand::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQRubberBand::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QRubberBand::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQRubberBand::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QRubberBand::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQRubberBand::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QRubberBand::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQRubberBand::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QRubberBand::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQRubberBand::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QRubberBand::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQRubberBand::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QRubberBand::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 165280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 165340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "shape(self) -> 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, "setGeometry(self, QRect)\n"
    "setGeometry(self, 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, "move(self, QPoint)\n"
    "move(self, 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, "resize(self, int, int)\n"
    "resize(self, 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, "initStyleOption(self, 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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QRubberBand(void *, const sipTypeDef *);}
static void *cast_QRubberBand(void *sipCppV, const sipTypeDef *targetType)
{
     ::QRubberBand *sipCpp = reinterpret_cast< ::QRubberBand *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQRubberBand *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRubberBand(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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), 257},
    {sipName_Rectangle, static_cast<int>( ::QRubberBand::Rectangle), 257},
};

PyDoc_STRVAR(doc_QRubberBand, "\1QRubberBand(QRubberBand.Shape, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QRubberBand = {
    & ::QRubberBand::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QRubberBand = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRubberBand,
        {0},
        &plugin_QRubberBand
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qradiobutton.sip"
#include <qradiobutton.h>
#line 167044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 167048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 167051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 167063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 167066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 167069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 167081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 167084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 167087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 167093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 167096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 167099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 167105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 167108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 167114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 167120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 167123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 167126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 167129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 167132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 167135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 167138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 167141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 167144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 167147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 167150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 167195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 167198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 167201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 167204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 167207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 167213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 167216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 167219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 167222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 167225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 167231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 167234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 167237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 167240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 167246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 167249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 167252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    bool hitButton(const  ::QPoint&) const;
    void checkStateSet();
    void nextCheckState();

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQRadioButton::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QRadioButton);

    return  ::QRadioButton::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QRadioButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQRadioButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QRadioButton::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQRadioButton::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QRadioButton::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQRadioButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QRadioButton::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQRadioButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QRadioButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQRadioButton::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QRadioButton::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QRadioButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QRadioButton::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QRadioButton::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QRadioButton::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QRadioButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QRadioButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QRadioButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QRadioButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QRadioButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QRadioButton::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QRadioButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QRadioButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QRadioButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QRadioButton::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QRadioButton::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QRadioButton::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QRadioButton::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QRadioButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QRadioButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QRadioButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QRadioButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QRadioButton::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QRadioButton::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QRadioButton::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QRadioButton::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQRadioButton::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  ::QRadioButton::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQRadioButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QRadioButton::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQRadioButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QRadioButton::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQRadioButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QRadioButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQRadioButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QRadioButton::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQRadioButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QRadioButton::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQRadioButton::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QRadioButton::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQRadioButton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QRadioButton::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQRadioButton::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QRadioButton::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQRadioButton::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QRadioButton::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QRadioButton::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QRadioButton::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QRadioButton::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QRadioButton::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
         ::QRadioButton::checkStateSet();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQRadioButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
         ::QRadioButton::nextCheckState();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 168560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 168620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "checkStateSet(self)");

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 || sipIsDerivedClass((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, "nextCheckState(self)");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "hitButton(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QRadioButton(void *, const sipTypeDef *);}
static void *cast_QRadioButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::QRadioButton *sipCpp = reinterpret_cast< ::QRadioButton *>(sipCppV);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQRadioButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRadioButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QWidget = None)\n"
    "QRadioButton(str, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QRadioButton = {
    & ::QRadioButton::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QRadioButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRadioButton,
        {0},
        &plugin_QRadioButton
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qproxystyle.sip"
#include <qproxystyle.h>
#line 170325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 170329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 170332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 170338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 170341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 170344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 170347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 170350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 170353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 170356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 170362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 170365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 170368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 170371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 170374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 170377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 170380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 170383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 170389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 170398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 170401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 170407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 170413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 170419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 170422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 170425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


class sipQProxyStyle : public  ::QProxyStyle
{
public:
    sipQProxyStyle( ::QStyle*);
    sipQProxyStyle(const  ::QString&);
    virtual ~sipQProxyStyle();

    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:
    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*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQProxyStyle(const sipQProxyStyle &);
    sipQProxyStyle &operator = (const sipQProxyStyle &);

    char sipPyMethods[30];
};

sipQProxyStyle::sipQProxyStyle( ::QStyle*a0):  ::QProxyStyle(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQProxyStyle::sipQProxyStyle(const  ::QString& a0):  ::QProxyStyle(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQProxyStyle::~sipQProxyStyle()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQProxyStyle::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QProxyStyle);

    return  ::QProxyStyle::metaObject();
}

int sipQProxyStyle::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QProxyStyle::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QProxyStyle,_c,_id,_a);

    return _id;
}

void *sipQProxyStyle::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QProxyStyle, _clname, &sipCpp) ? sipCpp :  ::QProxyStyle::qt_metacast(_clname));
}

int sipQProxyStyle::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[0]),sipPySelf,NULL,sipName_layoutSpacing);

    if (!sipMeth)
        return  ::QProxyStyle::layoutSpacing(a0,a1,a2,a3,a4);

    extern int sipVH_QtWidgets_107(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSizePolicy::ControlType, ::QSizePolicy::ControlType, ::Qt::Orientation,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_107(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QPixmap sipQProxyStyle::generatedIconPixmap( ::QIcon::Mode a0,const  ::QPixmap& a1,const  ::QStyleOption*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_generatedIconPixmap);

    if (!sipMeth)
        return  ::QProxyStyle::generatedIconPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_QtWidgets_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIcon::Mode,const  ::QPixmap&,const  ::QStyleOption*);

    return sipVH_QtWidgets_106(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QIcon sipQProxyStyle::standardIcon( ::QStyle::StandardPixmap a0,const  ::QStyleOption*a1,const  ::QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_standardIcon);

    if (!sipMeth)
        return  ::QProxyStyle::standardIcon(a0,a1,a2);

    extern  ::QIcon sipVH_QtWidgets_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_105(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPixmap sipQProxyStyle::standardPixmap( ::QStyle::StandardPixmap a0,const  ::QStyleOption*a1,const  ::QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_standardPixmap);

    if (!sipMeth)
        return  ::QProxyStyle::standardPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_104(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQProxyStyle::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[4]),sipPySelf,NULL,sipName_styleHint);

    if (!sipMeth)
        return  ::QProxyStyle::styleHint(a0,a1,a2,a3);

    extern int sipVH_QtWidgets_103(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StyleHint,const  ::QStyleOption*,const  ::QWidget*, ::QStyleHintReturn*);

    return sipVH_QtWidgets_103(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QSize sipQProxyStyle::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[5]),sipPySelf,NULL,sipName_sizeFromContents);

    if (!sipMeth)
        return  ::QProxyStyle::sizeFromContents(a0,a1,a2,a3);

    extern  ::QSize sipVH_QtWidgets_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ContentsType,const  ::QStyleOption*,const  ::QSize&,const  ::QWidget*);

    return sipVH_QtWidgets_102(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

int sipQProxyStyle::pixelMetric( ::QStyle::PixelMetric a0,const  ::QStyleOption*a1,const  ::QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_pixelMetric);

    if (!sipMeth)
        return  ::QProxyStyle::pixelMetric(a0,a1,a2);

    extern int sipVH_QtWidgets_101(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PixelMetric,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_101(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QRect sipQProxyStyle::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[7]),sipPySelf,NULL,sipName_subControlRect);

    if (!sipMeth)
        return  ::QProxyStyle::subControlRect(a0,a1,a2,a3);

    extern  ::QRect sipVH_QtWidgets_100(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QStyle::SubControl,const  ::QWidget*);

    return sipVH_QtWidgets_100(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QStyle::SubControl sipQProxyStyle::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[8]),sipPySelf,NULL,sipName_hitTestComplexControl);

    if (!sipMeth)
        return  ::QProxyStyle::hitTestComplexControl(a0,a1,a2,a3);

    extern  ::QStyle::SubControl sipVH_QtWidgets_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*,const  ::QPoint&,const  ::QWidget*);

    return sipVH_QtWidgets_99(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQProxyStyle::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[9]),sipPySelf,NULL,sipName_drawComplexControl);

    if (!sipMeth)
    {
         ::QProxyStyle::drawComplexControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_98(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QRect sipQProxyStyle::subElementRect( ::QStyle::SubElement a0,const  ::QStyleOption*a1,const  ::QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_subElementRect);

    if (!sipMeth)
        return  ::QProxyStyle::subElementRect(a0,a1,a2);

    extern  ::QRect sipVH_QtWidgets_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::SubElement,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_97(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQProxyStyle::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[11]),sipPySelf,NULL,sipName_drawControl);

    if (!sipMeth)
    {
         ::QProxyStyle::drawControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ControlElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_96(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQProxyStyle::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[12]),sipPySelf,NULL,sipName_drawPrimitive);

    if (!sipMeth)
    {
         ::QProxyStyle::drawPrimitive(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PrimitiveElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_95(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QPalette sipQProxyStyle::standardPalette() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_standardPalette);

    if (!sipMeth)
        return  ::QProxyStyle::standardPalette();

    extern  ::QPalette sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProxyStyle::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[14]),sipPySelf,NULL,sipName_drawItemPixmap);

    if (!sipMeth)
    {
         ::QProxyStyle::drawItemPixmap(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPixmap&);

    sipVH_QtWidgets_93(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQProxyStyle::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[15]),sipPySelf,NULL,sipName_drawItemText);

    if (!sipMeth)
    {
         ::QProxyStyle::drawItemText(a0,a1,a2,a3,a4,a5,a6);
        return;
    }

    extern void sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPalette&,bool,const  ::QString&, ::QPalette::ColorRole);

    sipVH_QtWidgets_92(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4, a5, a6);
}

 ::QRect sipQProxyStyle::itemPixmapRect(const  ::QRect& a0,int a1,const  ::QPixmap& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_itemPixmapRect);

    if (!sipMeth)
        return  ::QProxyStyle::itemPixmapRect(a0,a1,a2);

    extern  ::QRect sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&,int,const  ::QPixmap&);

    return sipVH_QtWidgets_91(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QRect sipQProxyStyle::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[17]),sipPySelf,NULL,sipName_itemTextRect);

    if (!sipMeth)
        return  ::QProxyStyle::itemTextRect(a0,a1,a2,a3,a4);

    extern  ::QRect sipVH_QtWidgets_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFontMetrics&,const  ::QRect&,int,bool,const  ::QString&);

    return sipVH_QtWidgets_90(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipQProxyStyle::polish( ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QProxyStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPalette&);

    sipVH_QtWidgets_89(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::unpolish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::QProxyStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_QtWidgets_88(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::polish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QProxyStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_QtWidgets_88(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::unpolish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::QProxyStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::polish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QProxyStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQProxyStyle::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QProxyStyle::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQProxyStyle::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QProxyStyle::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQProxyStyle::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QProxyStyle::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QProxyStyle::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QProxyStyle::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QProxyStyle::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProxyStyle::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QProxyStyle::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQProxyStyle::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQProxyStyle::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQProxyStyle::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQProxyStyle::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQProxyStyle::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQProxyStyle::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQProxyStyle::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQProxyStyle::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQProxyStyle::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQProxyStyle::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QProxyStyle::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QProxyStyle_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QProxyStyle_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProxyStyle, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 171129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProxyStyle, sipName_sender, doc_QProxyStyle_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QProxyStyle_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QProxyStyle, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 171189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_QProxyStyle, sipName_receivers, doc_QProxyStyle_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QProxyStyle_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProxyStyle, &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_QProxyStyle, sipName_timerEvent, doc_QProxyStyle_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QProxyStyle_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProxyStyle, &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_QProxyStyle, sipName_childEvent, doc_QProxyStyle_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QProxyStyle_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProxyStyle, &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_QProxyStyle, sipName_customEvent, doc_QProxyStyle_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QProxyStyle_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProxyStyle, &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_QProxyStyle, sipName_connectNotify, doc_QProxyStyle_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QProxyStyle_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProxyStyle, &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_QProxyStyle, sipName_disconnectNotify, doc_QProxyStyle_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QProxyStyle_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProxyStyle, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProxyStyle, sipName_senderSignalIndex, doc_QProxyStyle_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QProxyStyle_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProxyStyle, &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_QProxyStyle, sipName_isSignalConnected, doc_QProxyStyle_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_baseStyle, "baseStyle(self) -> QStyle");

extern "C" {static PyObject *meth_QProxyStyle_baseStyle(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_baseStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProxyStyle, &sipCpp))
        {
             ::QStyle*sipRes;

            sipRes = sipCpp->baseStyle();

            return sipConvertFromType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProxyStyle, sipName_baseStyle, doc_QProxyStyle_baseStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_setBaseStyle, "setBaseStyle(self, QStyle)");

extern "C" {static PyObject *meth_QProxyStyle_setBaseStyle(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_setBaseStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyle* a0;
         ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle, &a0))
        {
            sipCpp->setBaseStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProxyStyle, sipName_setBaseStyle, doc_QProxyStyle_setBaseStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_drawPrimitive, "drawPrimitive(self, QStyle.PrimitiveElement, QStyleOption, QPainter, widget: QWidget = None)");

extern "C" {static PyObject *meth_QProxyStyle_drawPrimitive(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_drawPrimitive(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::PrimitiveElement a0;
        const  ::QStyleOption* a1;
         ::QPainter* a2;
        const  ::QWidget* a3 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_PrimitiveElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_drawPrimitive, doc_QProxyStyle_drawPrimitive);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_drawControl, "drawControl(self, QStyle.ControlElement, QStyleOption, QPainter, widget: QWidget = None)");

extern "C" {static PyObject *meth_QProxyStyle_drawControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_drawControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::ControlElement a0;
        const  ::QStyleOption* a1;
         ::QPainter* a2;
        const  ::QWidget* a3 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_ControlElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_drawControl, doc_QProxyStyle_drawControl);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_drawComplexControl, "drawComplexControl(self, QStyle.ComplexControl, QStyleOptionComplex, QPainter, widget: QWidget = None)");

extern "C" {static PyObject *meth_QProxyStyle_drawComplexControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_drawComplexControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::ComplexControl a0;
        const  ::QStyleOptionComplex* a1;
         ::QPainter* a2;
        const  ::QWidget* a3 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_drawComplexControl, doc_QProxyStyle_drawComplexControl);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_drawItemText, "drawItemText(self, QPainter, QRect, int, QPalette, bool, str, textRole: QPalette.ColorRole = QPalette.NoRole)");

extern "C" {static PyObject *meth_QProxyStyle_drawItemText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_drawItemText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_textRole,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J9iJ9bJ1|E", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, &a2, sipType_QPalette, &a3, &a4, sipType_QString,&a5, &a5State, sipType_QPalette_ColorRole, &a6))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_drawItemText, doc_QProxyStyle_drawItemText);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_drawItemPixmap, "drawItemPixmap(self, QPainter, QRect, int, QPixmap)");

extern "C" {static PyObject *meth_QProxyStyle_drawItemPixmap(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_drawItemPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
        const  ::QRect* a1;
        int a2;
        const  ::QPixmap* a3;
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9iJ9", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, &a2, sipType_QPixmap, &a3))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_drawItemPixmap, doc_QProxyStyle_drawItemPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_sizeFromContents, "sizeFromContents(self, QStyle.ContentsType, QStyleOption, QSize, QWidget) -> QSize");

extern "C" {static PyObject *meth_QProxyStyle_sizeFromContents(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_sizeFromContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::ContentsType a0;
        const  ::QStyleOption* a1;
        const  ::QSize* a2;
        const  ::QWidget* a3;
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J9J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_ContentsType, &a0, sipType_QStyleOption, &a1, sipType_QSize, &a2, sipType_QWidget, &a3))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_sizeFromContents, doc_QProxyStyle_sizeFromContents);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_subElementRect, "subElementRect(self, QStyle.SubElement, QStyleOption, QWidget) -> QRect");

extern "C" {static PyObject *meth_QProxyStyle_subElementRect(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_subElementRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::SubElement a0;
        const  ::QStyleOption* a1;
        const  ::QWidget* a2;
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_SubElement, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_subElementRect, doc_QProxyStyle_subElementRect);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_subControlRect, "subControlRect(self, QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget) -> QRect");

extern "C" {static PyObject *meth_QProxyStyle_subControlRect(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_subControlRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::ComplexControl a0;
        const  ::QStyleOptionComplex* a1;
         ::QStyle::SubControl a2;
        const  ::QWidget* a3;
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8EJ8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QStyle_SubControl, &a2, sipType_QWidget, &a3))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_subControlRect, doc_QProxyStyle_subControlRect);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_itemTextRect, "itemTextRect(self, QFontMetrics, QRect, int, bool, str) -> QRect");

extern "C" {static PyObject *meth_QProxyStyle_itemTextRect(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_itemTextRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFontMetrics* a0;
        const  ::QRect* a1;
        int a2;
        bool a3;
        const  ::QString* a4;
        int a4State = 0;
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9ibJ1", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QFontMetrics, &a0, sipType_QRect, &a1, &a2, &a3, sipType_QString,&a4, &a4State))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_itemTextRect, doc_QProxyStyle_itemTextRect);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_itemPixmapRect, "itemPixmapRect(self, QRect, int, QPixmap) -> QRect");

extern "C" {static PyObject *meth_QProxyStyle_itemPixmapRect(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_itemPixmapRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QRect* a0;
        int a1;
        const  ::QPixmap* a2;
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ9", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QRect, &a0, &a1, sipType_QPixmap, &a2))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_itemPixmapRect, doc_QProxyStyle_itemPixmapRect);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_hitTestComplexControl, "hitTestComplexControl(self, QStyle.ComplexControl, QStyleOptionComplex, QPoint, widget: QWidget = None) -> QStyle.SubControl");

extern "C" {static PyObject *meth_QProxyStyle_hitTestComplexControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_hitTestComplexControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::ComplexControl a0;
        const  ::QStyleOptionComplex* a1;
        const  ::QPoint* a2;
        const  ::QWidget* a3 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J9|J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPoint, &a2, sipType_QWidget, &a3))
        {
             ::QStyle::SubControl sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_hitTestComplexControl, doc_QProxyStyle_hitTestComplexControl);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_styleHint, "styleHint(self, QStyle.StyleHint, option: QStyleOption = None, widget: QWidget = None, returnData: QStyleHintReturn = None) -> int");

extern "C" {static PyObject *meth_QProxyStyle_styleHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_styleHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::StyleHint a0;
        const  ::QStyleOption* a1 = 0;
        const  ::QWidget* a2 = 0;
         ::QStyleHintReturn* a3 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
            sipName_returnData,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_StyleHint, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2, sipType_QStyleHintReturn, &a3))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_styleHint, doc_QProxyStyle_styleHint);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_pixelMetric, "pixelMetric(self, QStyle.PixelMetric, option: QStyleOption = None, widget: QWidget = None) -> int");

extern "C" {static PyObject *meth_QProxyStyle_pixelMetric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_pixelMetric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::PixelMetric a0;
        const  ::QStyleOption* a1 = 0;
        const  ::QWidget* a2 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_PixelMetric, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_pixelMetric, doc_QProxyStyle_pixelMetric);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_layoutSpacing, "layoutSpacing(self, QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, option: QStyleOption = None, widget: QWidget = None) -> int");

extern "C" {static PyObject *meth_QProxyStyle_layoutSpacing(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_layoutSpacing(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSizePolicy::ControlType a0;
         ::QSizePolicy::ControlType a1;
         ::Qt::Orientation a2;
        const  ::QStyleOption* a3 = 0;
        const  ::QWidget* a4 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEEE|J8J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QSizePolicy_ControlType, &a0, sipType_QSizePolicy_ControlType, &a1, sipType_Qt_Orientation, &a2, sipType_QStyleOption, &a3, sipType_QWidget, &a4))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_layoutSpacing, doc_QProxyStyle_layoutSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_standardIcon, "standardIcon(self, QStyle.StandardPixmap, option: QStyleOption = None, widget: QWidget = None) -> QIcon");

extern "C" {static PyObject *meth_QProxyStyle_standardIcon(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_standardIcon(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::StandardPixmap a0;
        const  ::QStyleOption* a1 = 0;
        const  ::QWidget* a2 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
             ::QIcon*sipRes;

            sipRes = new  ::QIcon((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_standardIcon, doc_QProxyStyle_standardIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_standardPixmap, "standardPixmap(self, QStyle.StandardPixmap, QStyleOption, widget: QWidget = None) -> QPixmap");

extern "C" {static PyObject *meth_QProxyStyle_standardPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_standardPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStyle::StandardPixmap a0;
        const  ::QStyleOption* a1;
        const  ::QWidget* a2 = 0;
        const  ::QProxyStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8|J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
             ::QPixmap*sipRes;

            sipRes = new  ::QPixmap((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_standardPixmap, doc_QProxyStyle_standardPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_generatedIconPixmap, "generatedIconPixmap(self, QIcon.Mode, QPixmap, QStyleOption) -> QPixmap");

extern "C" {static PyObject *meth_QProxyStyle_generatedIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_generatedIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIcon::Mode a0;
        const  ::QPixmap* a1;
        const  ::QStyleOption* a2;
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9J8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QIcon_Mode, &a0, sipType_QPixmap, &a1, sipType_QStyleOption, &a2))
        {
             ::QPixmap*sipRes;

            sipRes = new  ::QPixmap((sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_generatedIconPixmap, doc_QProxyStyle_generatedIconPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_standardPalette, "standardPalette(self) -> QPalette");

extern "C" {static PyObject *meth_QProxyStyle_standardPalette(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_standardPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProxyStyle, &sipCpp))
        {
             ::QPalette*sipRes;

            sipRes = new  ::QPalette((sipSelfWasArg ? sipCpp-> ::QProxyStyle::standardPalette() : sipCpp->standardPalette()));

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProxyStyle, sipName_standardPalette, doc_QProxyStyle_standardPalette);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_polish, "polish(self, QWidget)\n"
    "polish(self, QPalette) -> QPalette\n"
    "polish(self, QApplication)");

extern "C" {static PyObject *meth_QProxyStyle_polish(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_polish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWidget* a0;
         ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QWidget, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::polish(a0) : sipCpp->polish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QPalette* a0;
         ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QPalette, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::polish(*a0) : sipCpp->polish(*a0));

            return sipConvertFromType(a0,sipType_QPalette,NULL);
        }
    }

    {
         ::QApplication* a0;
         ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QApplication, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::polish(a0) : sipCpp->polish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProxyStyle, sipName_polish, doc_QProxyStyle_polish);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_unpolish, "unpolish(self, QWidget)\n"
    "unpolish(self, QApplication)");

extern "C" {static PyObject *meth_QProxyStyle_unpolish(PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_unpolish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWidget* a0;
         ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QWidget, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::unpolish(a0) : sipCpp->unpolish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QApplication* a0;
         ::QProxyStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QProxyStyle, &sipCpp, sipType_QApplication, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QProxyStyle::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_QProxyStyle, sipName_unpolish, doc_QProxyStyle_unpolish);

    return NULL;
}


PyDoc_STRVAR(doc_QProxyStyle_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QProxyStyle_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProxyStyle_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQProxyStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProxyStyle, &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_QProxyStyle, sipName_event, doc_QProxyStyle_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QProxyStyle(void *, const sipTypeDef *);}
static void *cast_QProxyStyle(void *sipCppV, const sipTypeDef *targetType)
{
     ::QProxyStyle *sipCpp = reinterpret_cast< ::QProxyStyle *>(sipCppV);

    if (targetType == sipType_QCommonStyle)
        return static_cast< ::QCommonStyle *>(sipCpp);

    if (targetType == sipType_QStyle)
        return static_cast< ::QStyle *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QProxyStyle(void *, int);}
static void release_QProxyStyle(void *sipCppV, int)
{
     ::QProxyStyle *sipCpp = reinterpret_cast< ::QProxyStyle *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QProxyStyle(sipSimpleWrapper *);}
static void dealloc_QProxyStyle(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQProxyStyle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QProxyStyle(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QProxyStyle(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QProxyStyle(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQProxyStyle *sipCpp = 0;

    {
         ::QStyle* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_style,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J:", sipType_QStyle, &a0))
        {
            sipCpp = new sipQProxyStyle(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new sipQProxyStyle(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QProxyStyle[] = {{48, 255, 1}};


static PyMethodDef methods_QProxyStyle[] = {
    {SIP_MLNAME_CAST(sipName_baseStyle), meth_QProxyStyle_baseStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_baseStyle)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QProxyStyle_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QProxyStyle_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QProxyStyle_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QProxyStyle_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawComplexControl), (PyCFunction)meth_QProxyStyle_drawComplexControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_drawComplexControl)},
    {SIP_MLNAME_CAST(sipName_drawControl), (PyCFunction)meth_QProxyStyle_drawControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_drawControl)},
    {SIP_MLNAME_CAST(sipName_drawItemPixmap), meth_QProxyStyle_drawItemPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_drawItemPixmap)},
    {SIP_MLNAME_CAST(sipName_drawItemText), (PyCFunction)meth_QProxyStyle_drawItemText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_drawItemText)},
    {SIP_MLNAME_CAST(sipName_drawPrimitive), (PyCFunction)meth_QProxyStyle_drawPrimitive, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_drawPrimitive)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QProxyStyle_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_event)},
    {SIP_MLNAME_CAST(sipName_generatedIconPixmap), meth_QProxyStyle_generatedIconPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_generatedIconPixmap)},
    {SIP_MLNAME_CAST(sipName_hitTestComplexControl), (PyCFunction)meth_QProxyStyle_hitTestComplexControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_hitTestComplexControl)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QProxyStyle_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemPixmapRect), meth_QProxyStyle_itemPixmapRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_itemPixmapRect)},
    {SIP_MLNAME_CAST(sipName_itemTextRect), meth_QProxyStyle_itemTextRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_itemTextRect)},
    {SIP_MLNAME_CAST(sipName_layoutSpacing), (PyCFunction)meth_QProxyStyle_layoutSpacing, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_layoutSpacing)},
    {SIP_MLNAME_CAST(sipName_pixelMetric), (PyCFunction)meth_QProxyStyle_pixelMetric, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_pixelMetric)},
    {SIP_MLNAME_CAST(sipName_polish), meth_QProxyStyle_polish, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_polish)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QProxyStyle_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QProxyStyle_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QProxyStyle_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBaseStyle), meth_QProxyStyle_setBaseStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_setBaseStyle)},
    {SIP_MLNAME_CAST(sipName_sizeFromContents), meth_QProxyStyle_sizeFromContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_sizeFromContents)},
    {SIP_MLNAME_CAST(sipName_standardIcon), (PyCFunction)meth_QProxyStyle_standardIcon, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_standardIcon)},
    {SIP_MLNAME_CAST(sipName_standardPalette), meth_QProxyStyle_standardPalette, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_standardPalette)},
    {SIP_MLNAME_CAST(sipName_standardPixmap), (PyCFunction)meth_QProxyStyle_standardPixmap, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_standardPixmap)},
    {SIP_MLNAME_CAST(sipName_styleHint), (PyCFunction)meth_QProxyStyle_styleHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProxyStyle_styleHint)},
    {SIP_MLNAME_CAST(sipName_subControlRect), meth_QProxyStyle_subControlRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_subControlRect)},
    {SIP_MLNAME_CAST(sipName_subElementRect), meth_QProxyStyle_subElementRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_subElementRect)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QProxyStyle_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unpolish), meth_QProxyStyle_unpolish, METH_VARARGS, SIP_MLDOC_CAST(doc_QProxyStyle_unpolish)}
};

PyDoc_STRVAR(doc_QProxyStyle, "\1QProxyStyle(style: QStyle = None)\n"
    "QProxyStyle(str)");


static pyqt5ClassPluginDef plugin_QProxyStyle = {
    & ::QProxyStyle::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QProxyStyle = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QProxyStyle,
        {0},
        &plugin_QProxyStyle
    },
    {
        sipNameNr_QProxyStyle,
        {0, 0, 1},
        32, methods_QProxyStyle,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QProxyStyle,
    -1,
    -1,
    supers_QProxyStyle,
    0,
    init_type_QProxyStyle,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QProxyStyle,
    0,
    0,
    0,
    release_QProxyStyle,
    cast_QProxyStyle,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qprogressdialog.sip"
#include <qprogressdialog.h>
#line 172448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 172452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 172458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 172464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 172473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qprogressbar.sip"
#include <qprogressbar.h>
#line 172476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 172479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlabel.sip"
#include <qlabel.h>
#line 172482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 172485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 172497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 172500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 172503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 172506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 172509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 172512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 172518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 172524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 172527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 172530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 172533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 172536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 172539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 172542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 172545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 172548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 172551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 172554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 172557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 172599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 172602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 172605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 172608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 172611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 172617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 172620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 172623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 172626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 172629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 172632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 172635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 172638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 172641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 172644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 172647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 172653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 172656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 172659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQProgressDialog(const sipQProgressDialog &);
    sipQProgressDialog &operator = (const sipQProgressDialog &);

    char sipPyMethods[52];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQProgressDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QProgressDialog);

    return  ::QProgressDialog::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QProgressDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQProgressDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QProgressDialog::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQProgressDialog::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QProgressDialog::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQProgressDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QProgressDialog::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQProgressDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QProgressDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQProgressDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QProgressDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQProgressDialog::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  ::QProgressDialog::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQProgressDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QProgressDialog::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQProgressDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QProgressDialog::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProgressDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QProgressDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQProgressDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QProgressDialog::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQProgressDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QProgressDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQProgressDialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QProgressDialog::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQProgressDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QProgressDialog::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQProgressDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QProgressDialog::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQProgressDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QProgressDialog::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QProgressDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QProgressDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQProgressDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QProgressDialog::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProgressDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QProgressDialog::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QProgressDialog::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProgressDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QProgressDialog::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProgressDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QProgressDialog::open();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 173993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 174053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "setLabel(self, 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, "setCancelButton(self, 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, "setBar(self, 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, "wasCanceled(self) -> 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, "minimum(self) -> 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, "maximum(self) -> 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, "setRange(self, 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, "value(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "labelText(self) -> 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, "minimumDuration(self) -> 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, "setAutoReset(self, 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, "autoReset(self) -> 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, "setAutoClose(self, 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, "autoClose(self) -> 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, "cancel(self)");

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, "reset(self)");

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, "setMaximum(self, 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, "setMinimum(self, 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, "setValue(self, 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, "setLabelText(self, 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, "setCancelButtonText(self, 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, "setMinimumDuration(self, 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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "forceShow(self)");

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, "open(self)\n"
    "open(self, PYQT_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 || sipIsDerivedClass((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.9-1.i686/build/py3/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 176117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 inheritance hierarchy. */
extern "C" {static void *cast_QProgressDialog(void *, const sipTypeDef *);}
static void *cast_QProgressDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::QProgressDialog *sipCpp = reinterpret_cast< ::QProgressDialog *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQProgressDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QProgressDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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 = Qt::WindowFlags();
         ::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}
};

PyDoc_STRVAR(doc_QProgressDialog, "\1QProgressDialog(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())\n"
    "QProgressDialog(str, str, int, int, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QProgressDialog[] = {
    {"canceled()", "\1canceled(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QProgressDialog = {
    & ::QProgressDialog::staticMetaObject,
    0,
    signals_QProgressDialog,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QProgressDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QProgressDialog,
        {0},
        &plugin_QProgressDialog
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qprogressbar.sip"
#include <qprogressbar.h>
#line 176402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 176406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 176412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 176415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 176421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 176424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 176430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 176433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 176436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 176439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 176445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 176448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 176454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 176460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 176463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 176466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 176469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 176472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 176475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 176478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 176481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 176484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 176487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 176490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 176493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 176547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 176553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 176556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 176559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 176565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 176568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 176571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 176574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 176577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 176580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 176583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 176586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 176589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 176598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 176604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 176607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 176610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QString text() const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQProgressBar::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QProgressBar);

    return  ::QProgressBar::metaObject();
}

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));
}

 ::QString sipQProgressBar::text() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_text);

    if (!sipMeth)
        return  ::QProgressBar::text();

    extern  ::QString sipVH_QtWidgets_195(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_195(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProgressBar::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QProgressBar::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QProgressBar::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QProgressBar::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QProgressBar::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QProgressBar::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQProgressBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QProgressBar::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQProgressBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QProgressBar::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQProgressBar::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  ::QProgressBar::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQProgressBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QProgressBar::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQProgressBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QProgressBar::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProgressBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QProgressBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQProgressBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QProgressBar::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQProgressBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QProgressBar::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQProgressBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QProgressBar::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QProgressBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QProgressBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QProgressBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QProgressBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QProgressBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QProgressBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QProgressBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QProgressBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QProgressBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QProgressBar::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QProgressBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QProgressBar::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QProgressBar::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QProgressBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QProgressBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QProgressBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QProgressBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QProgressBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QProgressBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QProgressBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QProgressBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QProgressBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QProgressBar::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QProgressBar::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QProgressBar::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQProgressBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QProgressBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQProgressBar::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QProgressBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQProgressBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QProgressBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQProgressBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QProgressBar::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQProgressBar::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QProgressBar::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQProgressBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QProgressBar::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQProgressBar::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QProgressBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 177856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 177916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "minimum(self) -> 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, "maximum(self) -> 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, "setRange(self, 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, "value(self) -> 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, "text(self) -> 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 || sipIsDerivedClass((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, "setTextVisible(self, 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, "isTextVisible(self) -> 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, "alignment(self) -> 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "orientation(self) -> 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, "setInvertedAppearance(self, 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, "setTextDirection(self, 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, "setFormat(self, 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, "format(self) -> 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, "resetFormat(self)");

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, "reset(self)");

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, "setMinimum(self, 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, "setMaximum(self, 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, "setValue(self, 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, "setOrientation(self, 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, "initStyleOption(self, 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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QProgressBar(void *, const sipTypeDef *);}
static void *cast_QProgressBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QProgressBar *sipCpp = reinterpret_cast< ::QProgressBar *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQProgressBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QProgressBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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), 251},
    {sipName_TopToBottom, static_cast<int>( ::QProgressBar::TopToBottom), 251},
};

PyDoc_STRVAR(doc_QProgressBar, "\1QProgressBar(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QProgressBar[] = {
    {"valueChanged(int)", "\1valueChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QProgressBar = {
    & ::QProgressBar::staticMetaObject,
    0,
    signals_QProgressBar,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QProgressBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QProgressBar,
        {0},
        &plugin_QProgressBar
    },
    {
        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
};

#line 192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qplaintextedit.sip"
#include <qplaintextedit.h>
#line 180103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 180107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 127 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 180110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 180113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 65 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 180116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 180119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 180122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 180128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 46 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 180133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 59 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 180136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 180139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 249 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 180142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 180145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 180148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 180151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 180154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 180157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 180160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 180163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 180166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 180169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 180172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 180175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 180178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 180181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 180187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 180190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 180193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 draw( ::QPainter*,const  ::QAbstractTextDocumentLayout::PaintContext&);
    int hitTest(const  ::QPointF&, ::Qt::HitTestAccuracy) const;
    int pageCount() const;
     ::QSizeF documentSize() const;
     ::QRectF frameBoundingRect( ::QTextFrame*) const;
     ::QRectF blockBoundingRect(const  ::QTextBlock&) const;
    void documentChanged(int,int,int);
    void resizeInlineObject( ::QTextInlineObject,int,const  ::QTextFormat&);
    void positionInlineObject( ::QTextInlineObject,int,const  ::QTextFormat&);
    void drawInlineObject( ::QPainter*,const  ::QRectF&, ::QTextInlineObject,int,const  ::QTextFormat&);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPlainTextDocumentLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPlainTextDocumentLayout);

    return  ::QPlainTextDocumentLayout::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextDocumentLayout::draw( ::QPainter*a0,const  ::QAbstractTextDocumentLayout::PaintContext& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
         ::QPlainTextDocumentLayout::draw(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_194(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QAbstractTextDocumentLayout::PaintContext&);

    sipVH_QtWidgets_194(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

int sipQPlainTextDocumentLayout::hitTest(const  ::QPointF& a0, ::Qt::HitTestAccuracy a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hitTest);

    if (!sipMeth)
        return  ::QPlainTextDocumentLayout::hitTest(a0,a1);

    extern int sipVH_QtWidgets_193(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&, ::Qt::HitTestAccuracy);

    return sipVH_QtWidgets_193(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

int sipQPlainTextDocumentLayout::pageCount() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_pageCount);

    if (!sipMeth)
        return  ::QPlainTextDocumentLayout::pageCount();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSizeF sipQPlainTextDocumentLayout::documentSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_documentSize);

    if (!sipMeth)
        return  ::QPlainTextDocumentLayout::documentSize();

    extern  ::QSizeF sipVH_QtWidgets_192(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_192(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQPlainTextDocumentLayout::frameBoundingRect( ::QTextFrame*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_frameBoundingRect);

    if (!sipMeth)
        return  ::QPlainTextDocumentLayout::frameBoundingRect(a0);

    extern  ::QRectF sipVH_QtWidgets_191(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTextFrame*);

    return sipVH_QtWidgets_191(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQPlainTextDocumentLayout::blockBoundingRect(const  ::QTextBlock& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_blockBoundingRect);

    if (!sipMeth)
        return  ::QPlainTextDocumentLayout::blockBoundingRect(a0);

    extern  ::QRectF sipVH_QtWidgets_190(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QTextBlock&);

    return sipVH_QtWidgets_190(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextDocumentLayout::documentChanged(int a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_documentChanged);

    if (!sipMeth)
    {
         ::QPlainTextDocumentLayout::documentChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_189(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);

    sipVH_QtWidgets_189(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[14],sipPySelf,NULL,sipName_resizeInlineObject);

    if (!sipMeth)
    {
         ::QPlainTextDocumentLayout::resizeInlineObject(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_188(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTextInlineObject,int,const  ::QTextFormat&);

    sipVH_QtWidgets_188(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQPlainTextDocumentLayout::positionInlineObject( ::QTextInlineObject a0,int a1,const  ::QTextFormat& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_positionInlineObject);

    if (!sipMeth)
    {
         ::QPlainTextDocumentLayout::positionInlineObject(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_188(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTextInlineObject,int,const  ::QTextFormat&);

    sipVH_QtWidgets_188(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

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[16],sipPySelf,NULL,sipName_drawInlineObject);

    if (!sipMeth)
    {
         ::QPlainTextDocumentLayout::drawInlineObject(a0,a1,a2,a3,a4);
        return;
    }

    extern void sipVH_QtWidgets_187(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRectF&, ::QTextInlineObject,int,const  ::QTextFormat&);

    sipVH_QtWidgets_187(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 180692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 180752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "resizeInlineObject(self, 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 || sipIsDerivedClass((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, "positionInlineObject(self, 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 || sipIsDerivedClass((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, "drawInlineObject(self, 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 || sipIsDerivedClass((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, "format(self, 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, "draw(self, 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 || sipIsDerivedClass((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, "hitTest(self, Union[QPointF, QPoint], 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 || sipIsDerivedClass((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, "pageCount(self) -> 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 || sipIsDerivedClass((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, "documentSize(self) -> 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 || sipIsDerivedClass((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, "frameBoundingRect(self, 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 || sipIsDerivedClass((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, "blockBoundingRect(self, 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 || sipIsDerivedClass((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, "ensureBlockLayout(self, 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, "setCursorWidth(self, 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, "cursorWidth(self) -> 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, "requestUpdate(self)");

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, "documentChanged(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QPlainTextDocumentLayout(void *, const sipTypeDef *);}
static void *cast_QPlainTextDocumentLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPlainTextDocumentLayout *sipCpp = reinterpret_cast< ::QPlainTextDocumentLayout *>(sipCppV);

    if (targetType == sipType_QAbstractTextDocumentLayout)
        return static_cast< ::QAbstractTextDocumentLayout *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPlainTextDocumentLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPlainTextDocumentLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{0, 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)");


static pyqt5ClassPluginDef plugin_QPlainTextDocumentLayout = {
    & ::QPlainTextDocumentLayout::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QPlainTextDocumentLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPlainTextDocumentLayout,
        {0},
        &plugin_QPlainTextDocumentLayout
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qplaintextedit.sip"
#include <qplaintextedit.h>
#line 181580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 181584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 181587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 181590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 46 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 181595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 181598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 127 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 181601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 181604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 181607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 181610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 181622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 181658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 181661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpagedpaintdevice.sip"
#include <qpagedpaintdevice.h>
#line 181664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 181667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 181675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 181678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 181681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 181684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 181687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 181690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 249 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 181693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 181699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 181702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 181711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 181714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 181717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 181720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 181723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 181726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 181729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 181732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 181735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 181738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 181744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 181753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 181756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 181759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 181762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 181765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 181768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 181771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 181774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 181777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 181780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 181798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 181804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 181807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 181810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 181816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 181819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 181822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 181825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 181828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 181831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 181834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 181843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 181849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 181852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
     ::QSize sipProtectVirt_viewportSizeHint(bool) const;
    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 insertFromMimeData(const  ::QMimeData*);
    bool canInsertFromMimeData(const  ::QMimeData*) const;
     ::QMimeData* createMimeDataFromSelection() const;
     ::QVariant loadResource(int,const  ::QUrl&);
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPlainTextEdit(const sipQPlainTextEdit &);
    sipQPlainTextEdit &operator = (const sipQPlainTextEdit &);

    char sipPyMethods[54];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPlainTextEdit::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPlainTextEdit);

    return  ::QPlainTextEdit::metaObject();
}

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::insertFromMimeData(const  ::QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
         ::QPlainTextEdit::insertFromMimeData(a0);
        return;
    }

    extern void sipVH_QtWidgets_186(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    sipVH_QtWidgets_186(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::canInsertFromMimeData(const  ::QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return  ::QPlainTextEdit::canInsertFromMimeData(a0);

    extern bool sipVH_QtWidgets_185(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    return sipVH_QtWidgets_185(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QMimeData* sipQPlainTextEdit::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return  ::QPlainTextEdit::createMimeDataFromSelection();

    extern  ::QMimeData* sipVH_QtWidgets_184(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_184(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QVariant sipQPlainTextEdit::loadResource(int a0,const  ::QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return  ::QPlainTextEdit::loadResource(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_183(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QUrl&);

    return sipVH_QtWidgets_183(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQPlainTextEdit::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QPlainTextEdit::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QPlainTextEdit::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QPlainTextEdit::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQPlainTextEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QPlainTextEdit::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQPlainTextEdit::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  ::QPlainTextEdit::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQPlainTextEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QPlainTextEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQPlainTextEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QPlainTextEdit::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQPlainTextEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QPlainTextEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQPlainTextEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QPlainTextEdit::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQPlainTextEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QPlainTextEdit::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QPlainTextEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQPlainTextEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QPlainTextEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QPlainTextEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QPlainTextEdit::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQPlainTextEdit::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QPlainTextEdit::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQPlainTextEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QPlainTextEdit::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQPlainTextEdit::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QPlainTextEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQPlainTextEdit::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QPlainTextEdit::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQPlainTextEdit::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QPlainTextEdit::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QPlainTextEdit::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQPlainTextEdit::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QPlainTextEdit::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQPlainTextEdit::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

 ::QSize sipQPlainTextEdit::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QAbstractScrollArea::viewportSizeHint() : viewportSizeHint());
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 183321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 183381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QPlainTextEdit_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &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_QPlainTextEdit, sipName_initStyleOption, doc_QPlainTextEdit_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QPlainTextEdit_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_viewportMargins, doc_QPlainTextEdit_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_viewportSizeHint, "viewportSizeHint(self) -> QSize");

extern "C" {static PyObject *meth_QPlainTextEdit_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &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_QPlainTextEdit, sipName_viewportSizeHint, doc_QPlainTextEdit_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_viewportEvent, "viewportEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "setDocument(self, 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, "document(self) -> 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, "setTextCursor(self, 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, "textCursor(self) -> 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, "isReadOnly(self) -> 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, "setReadOnly(self, 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, "setTextInteractionFlags(self, Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])");

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, "textInteractionFlags(self) -> 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, "mergeCurrentCharFormat(self, 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, "setCurrentCharFormat(self, 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, "currentCharFormat(self) -> 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, "tabChangesFocus(self) -> 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, "setTabChangesFocus(self, 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, "setDocumentTitle(self, 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, "documentTitle(self) -> 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, "isUndoRedoEnabled(self) -> 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, "setUndoRedoEnabled(self, 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, "setMaximumBlockCount(self, 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, "maximumBlockCount(self) -> 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, "lineWrapMode(self) -> 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, "setLineWrapMode(self, 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, "wordWrapMode(self) -> 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, "setWordWrapMode(self, 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, "setBackgroundVisible(self, 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, "backgroundVisible(self) -> 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, "setCenterOnScroll(self, 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, "centerOnScroll(self) -> 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, "find(self, str, options: Union[QTextDocument.FindFlags, QTextDocument.FindFlag] = QTextDocument.FindFlags()) -> bool\n"
    "find(self, QRegExp, options: Union[QTextDocument.FindFlags, QTextDocument.FindFlag] = QTextDocument.FindFlags()) -> 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 = QTextDocument::FindFlags();
         ::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 = QTextDocument::FindFlags();
         ::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, "toPlainText(self) -> 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, "ensureCursorVisible(self)");

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, "loadResource(self, int, QUrl) -> Any");

extern "C" {static PyObject *meth_QPlainTextEdit_loadResource(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_loadResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "createStandardContextMenu(self) -> QMenu\n"
    "createStandardContextMenu(self, QPoint) -> 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);
        }
    }

    {
        const  ::QPoint* a0;
         ::QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextEdit, &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_QPlainTextEdit, sipName_createStandardContextMenu, doc_QPlainTextEdit_createStandardContextMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_cursorForPosition, "cursorForPosition(self, 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, "cursorRect(self, QTextCursor) -> QRect\n"
    "cursorRect(self) -> 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, "overwriteMode(self) -> 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, "setOverwriteMode(self, 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, "tabStopWidth(self) -> 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, "setTabStopWidth(self, 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, "cursorWidth(self) -> 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, "setCursorWidth(self, 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, "setExtraSelections(self, object)");

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, "extraSelections(self) -> List[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, "moveCursor(self, QTextCursor.MoveOperation, mode: QTextCursor.MoveMode = 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, "canPaste(self) -> 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_, "print_(self, 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_print, "print(self, 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, "blockCount(self) -> 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, "setPlainText(self, 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, "cut(self)");

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, "copy(self)");

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, "paste(self)");

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, "undo(self)");

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, "redo(self)");

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, "clear(self)");

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, "selectAll(self)");

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, "insertPlainText(self, 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, "appendPlainText(self, 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, "appendHtml(self, 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, "centerCursor(self)");

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, "event(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any\n"
    "inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any");

extern "C" {static PyObject *meth_QPlainTextEdit_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "createMimeDataFromSelection(self) -> 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 || sipIsDerivedClass((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, "canInsertFromMimeData(self, 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 || sipIsDerivedClass((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, "insertFromMimeData(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "firstVisibleBlock(self) -> 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, "contentOffset(self) -> 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, "blockBoundingRect(self, 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, "blockBoundingGeometry(self, 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, "getPaintContext(self) -> 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, "anchorAt(self, 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, "zoomIn(self, range: int = 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, "zoomOut(self, range: int = 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, "setPlaceholderText(self, 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, "placeholderText(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QPlainTextEdit(void *, const sipTypeDef *);}
static void *cast_QPlainTextEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPlainTextEdit *sipCpp = reinterpret_cast< ::QPlainTextEdit *>(sipCppV);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPlainTextEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPlainTextEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QPlainTextEdit_initStyleOption, 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_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_viewportMargins), (PyCFunction)meth_QPlainTextEdit_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QPlainTextEdit_viewportSizeHint, 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), 249},
    {sipName_WidgetWidth, static_cast<int>( ::QPlainTextEdit::WidgetWidth), 249},
};

PyDoc_STRVAR(doc_QPlainTextEdit, "\1QPlainTextEdit(parent: QWidget = None)\n"
    "QPlainTextEdit(str, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QPlainTextEdit[] = {
    {"modificationChanged(bool)", "\1modificationChanged(self, bool)", 0, 0},
    {"blockCountChanged(int)", "\1blockCountChanged(self, int)", 0, 0},
    {"updateRequest(QRect,int)", "\1updateRequest(self, QRect, int)", 0, 0},
    {"cursorPositionChanged()", "\1cursorPositionChanged(self)", 0, 0},
    {"selectionChanged()", "\1selectionChanged(self)", 0, 0},
    {"copyAvailable(bool)", "\1copyAvailable(self, bool)", 0, 0},
    {"redoAvailable(bool)", "\1redoAvailable(self, bool)", 0, 0},
    {"undoAvailable(bool)", "\1undoAvailable(self, bool)", 0, 0},
    {"textChanged()", "\1textChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QPlainTextEdit = {
    & ::QPlainTextEdit::staticMetaObject,
    0,
    signals_QPlainTextEdit,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QPlainTextEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPlainTextEdit,
        {0},
        &plugin_QPlainTextEdit
    },
    {
        sipNameNr_QPlainTextEdit,
        {0, 0, 1},
        127, 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
};

#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qopenglwidget.sip"
#include <qopenglwidget.h>
#line 187431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 187435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 187441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 187444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 187447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 187456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 46 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 187459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 187462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 187468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 187471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 187474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 187477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 187480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 187483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 187486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 187492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 187498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 187501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 187504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 187507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 187510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 187513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 187516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 187519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 187522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 187525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 187528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 187531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 187582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 187585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 187588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 187591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 187597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 187600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 187603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 187606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 187609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 187612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 187615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 187618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 187621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 187624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 187627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 187630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 187633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 187636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 187639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 187642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 paintGL();
    void resizeGL(int,int);
    void initializeGL();
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQOpenGLWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QOpenGLWidget);

    return  ::QOpenGLWidget::metaObject();
}

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::paintGL()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_paintGL);

    if (!sipMeth)
    {
         ::QOpenGLWidget::paintGL();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::resizeGL(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_resizeGL);

    if (!sipMeth)
    {
         ::QOpenGLWidget::resizeGL(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQOpenGLWidget::initializeGL()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_initializeGL);

    if (!sipMeth)
    {
         ::QOpenGLWidget::initializeGL();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QOpenGLWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QOpenGLWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QOpenGLWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQOpenGLWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QOpenGLWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQOpenGLWidget::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  ::QOpenGLWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQOpenGLWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QOpenGLWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQOpenGLWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QOpenGLWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QOpenGLWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQOpenGLWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QOpenGLWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQOpenGLWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QOpenGLWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQOpenGLWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QOpenGLWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQOpenGLWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QOpenGLWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QOpenGLWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QOpenGLWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQOpenGLWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QOpenGLWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQOpenGLWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QOpenGLWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QOpenGLWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 188947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 189007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setFormat(self, 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, "format(self) -> 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, "isValid(self) -> 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, "makeCurrent(self)");

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, "doneCurrent(self)");

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, "context(self) -> 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, "defaultFramebufferObject(self) -> 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, "grabFramebuffer(self) -> 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, "initializeGL(self)");

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 || sipIsDerivedClass((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, "resizeGL(self, 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 || sipIsDerivedClass((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, "paintGL(self)");

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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "paintEngine(self) -> 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 || sipIsDerivedClass((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;
}


PyDoc_STRVAR(doc_QOpenGLWidget_setUpdateBehavior, "setUpdateBehavior(self, QOpenGLWidget.UpdateBehavior)");

extern "C" {static PyObject *meth_QOpenGLWidget_setUpdateBehavior(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_setUpdateBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QOpenGLWidget::UpdateBehavior a0;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QOpenGLWidget_UpdateBehavior, &a0))
        {
            sipCpp->setUpdateBehavior(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_setUpdateBehavior, doc_QOpenGLWidget_setUpdateBehavior);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_updateBehavior, "updateBehavior(self) -> QOpenGLWidget.UpdateBehavior");

extern "C" {static PyObject *meth_QOpenGLWidget_updateBehavior(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_updateBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::QOpenGLWidget::UpdateBehavior sipRes;

            sipRes = sipCpp->updateBehavior();

            return sipConvertFromEnum(sipRes,sipType_QOpenGLWidget_UpdateBehavior);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_updateBehavior, doc_QOpenGLWidget_updateBehavior);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QOpenGLWidget(void *, const sipTypeDef *);}
static void *cast_QOpenGLWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QOpenGLWidget *sipCpp = reinterpret_cast< ::QOpenGLWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQOpenGLWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QOpenGLWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{457, 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_setUpdateBehavior), meth_QOpenGLWidget_setUpdateBehavior, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_setUpdateBehavior)},
    {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_updateBehavior), meth_QOpenGLWidget_updateBehavior, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_updateBehavior)},
    {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}
};

static sipEnumMemberDef enummembers_QOpenGLWidget[] = {
    {sipName_NoPartialUpdate, static_cast<int>( ::QOpenGLWidget::NoPartialUpdate), 242},
    {sipName_PartialUpdate, static_cast<int>( ::QOpenGLWidget::PartialUpdate), 242},
};

PyDoc_STRVAR(doc_QOpenGLWidget, "\1QOpenGLWidget(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QOpenGLWidget[] = {
    {"resized()", "\1resized(self)", 0, 0},
    {"aboutToResize()", "\1aboutToResize(self)", 0, 0},
    {"frameSwapped()", "\1frameSwapped(self)", 0, 0},
    {"aboutToCompose()", "\1aboutToCompose(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QOpenGLWidget = {
    & ::QOpenGLWidget::staticMetaObject,
    0,
    signals_QOpenGLWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QOpenGLWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QOpenGLWidget,
        {0},
        &plugin_QOpenGLWidget
    },
    {
        sipNameNr_QOpenGLWidget,
        {0, 0, 1},
        60, methods_QOpenGLWidget,
        2, enummembers_QOpenGLWidget,
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmouseeventtransition.sip"
#include <qmouseeventtransition.h>
#line 190936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qstate.sip"
#include <qstate.h>
#line 190940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 190943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 190952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 190958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 190961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 190964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 190967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 190970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 190973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 190976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 190985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 190988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 190991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 190994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 190997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 191000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 191006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 191009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 191012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 onTransition( ::QEvent*);
    bool eventTest( ::QEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMouseEventTransition::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMouseEventTransition);

    return  ::QMouseEventTransition::metaObject();
}

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::onTransition( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_onTransition);

    if (!sipMeth)
    {
         ::QMouseEventTransition::onTransition(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMouseEventTransition::eventTest( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventTest);

    if (!sipMeth)
        return  ::QMouseEventTransition::eventTest(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMouseEventTransition::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMouseEventTransition::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMouseEventTransition::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMouseEventTransition::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMouseEventTransition::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMouseEventTransition::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMouseEventTransition::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMouseEventTransition::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 191365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 191425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "button(self) -> 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, "setButton(self, 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, "modifierMask(self) -> 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, "setModifierMask(self, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier])");

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, "hitTestPath(self) -> 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, "setHitTestPath(self, 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, "onTransition(self, 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 || sipIsDerivedClass((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, "eventTest(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QMouseEventTransition(void *, const sipTypeDef *);}
static void *cast_QMouseEventTransition(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMouseEventTransition *sipCpp = reinterpret_cast< ::QMouseEventTransition *>(sipCppV);

    if (targetType == sipType_QEventTransition)
        return static_cast< ::QEventTransition *>(sipCpp);

    if (targetType == sipType_QAbstractTransition)
        return static_cast< ::QAbstractTransition *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMouseEventTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMouseEventTransition(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{14, 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(sourceState: QState = None)\n"
    "QMouseEventTransition(QObject, QEvent.Type, Qt.MouseButton, sourceState: QState = None)");


static pyqt5ClassPluginDef plugin_QMouseEventTransition = {
    & ::QMouseEventTransition::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMouseEventTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMouseEventTransition,
        {0},
        &plugin_QMouseEventTransition
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 192093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 192097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QMessageBox_StandardButtons___hash__(PyObject *);}
static long slot_QMessageBox_StandardButtons___hash__(PyObject *sipSelf)
{
     ::QMessageBox::StandardButtons *sipCpp = reinterpret_cast< ::QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QMessageBox::StandardButtons::Int();
#line 192115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMessageBox::StandardButtons::Int() != 0);
#line 192140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMessageBox::StandardButtons::Int() != a0->operator QMessageBox::StandardButtons::Int());
#line 192170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMessageBox::StandardButtons::Int() == a0->operator QMessageBox::StandardButtons::Int());
#line 192206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QMessageBox::StandardButtons(*sipCpp ^ a0);
#line 192245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QMessageBox::StandardButtons(*sipCpp | a0);
#line 192317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___or__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMessageBox::StandardButtons();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QMessageBox::StandardButtons(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 192585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMessageBox_StandardButtons[] = {
    {(void *)slot_QMessageBox_StandardButtons___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QMessageBox_StandardButtons___xor__, xor_slot},
    {(void *)slot_QMessageBox_StandardButtons___ior__, ior_slot},
    {(void *)slot_QMessageBox_StandardButtons___or__, or_slot},
    {(void *)slot_QMessageBox_StandardButtons___iand__, iand_slot},
    {(void *)slot_QMessageBox_StandardButtons___and__, and_slot},
    {(void *)slot_QMessageBox_StandardButtons___invert__, invert_slot},
    {(void *)slot_QMessageBox_StandardButtons___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMessageBox_StandardButtons, "\1QMessageBox.StandardButtons()\n"
    "QMessageBox.StandardButtons(Union[QMessageBox.StandardButtons, QMessageBox.StandardButton])\n"
    "QMessageBox.StandardButtons(QMessageBox.StandardButtons)");


static pyqt5ClassPluginDef plugin_QMessageBox_StandardButtons = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMessageBox_StandardButtons = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMessageBox__StandardButtons,
        {0},
        &plugin_QMessageBox_StandardButtons
    },
    {
        sipNameNr_StandardButtons,
        {235, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMessageBox_StandardButtons,
    -1,
    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,
    0,
    convertTo_QMessageBox_StandardButtons,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 192671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 192675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 192678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 192681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcheckbox.sip"
#include <qcheckbox.h>
#line 192687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 192693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 192696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 192702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 192705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 192720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 192723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 192729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 192732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 192735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 192738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 192741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 192744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 192750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 192756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 192759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 192762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 192765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 192768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 192771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 192774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 192777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 192780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 192783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 192786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 192789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 192828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 192831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 192834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 192837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 192840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 192843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 192849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 192852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 192855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 192858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 192861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 192864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 192867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 192870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 192873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 192876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 192879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 192885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 192888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 192891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMessageBox(const sipQMessageBox &);
    sipQMessageBox &operator = (const sipQMessageBox &);

    char sipPyMethods[52];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMessageBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMessageBox);

    return  ::QMessageBox::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QMessageBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQMessageBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QMessageBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMessageBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QMessageBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQMessageBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QMessageBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMessageBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QMessageBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQMessageBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QMessageBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QMessageBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QMessageBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QMessageBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QMessageBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QMessageBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QMessageBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QMessageBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QMessageBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QMessageBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QMessageBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QMessageBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QMessageBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QMessageBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QMessageBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QMessageBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QMessageBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QMessageBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QMessageBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QMessageBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QMessageBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QMessageBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMessageBox::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  ::QMessageBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQMessageBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QMessageBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQMessageBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QMessageBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMessageBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QMessageBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMessageBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QMessageBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQMessageBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QMessageBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMessageBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QMessageBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMessageBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMessageBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMessageBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMessageBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMessageBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMessageBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMessageBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMessageBox::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMessageBox::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMessageBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMessageBox::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QMessageBox::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMessageBox::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QMessageBox::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMessageBox::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QMessageBox::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMessageBox::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QMessageBox::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMessageBox::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QMessageBox::open();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 194219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 194279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "text(self) -> 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, "setText(self, 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, "icon(self) -> 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, "setIcon(self, 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, "iconPixmap(self) -> 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, "setIconPixmap(self, 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, "textFormat(self) -> 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, "setTextFormat(self, 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, "information(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = 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, "question(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.StandardButtons(QMessageBox.Yes|QMessageBox.No), defaultButton: QMessageBox.StandardButton = 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 = QMessageBox::StandardButtons(QMessageBox::Yes|QMessageBox::No);
         ::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, "warning(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = 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, "critical(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = 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, "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, "aboutQt(QWidget, title: str = '')");

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, "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, "event(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "addButton(self, QAbstractButton, QMessageBox.ButtonRole)\n"
    "addButton(self, str, QMessageBox.ButtonRole) -> QPushButton\n"
    "addButton(self, 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, "removeButton(self, 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, "setStandardButtons(self, Union[QMessageBox.StandardButtons, QMessageBox.StandardButton])");

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, "standardButtons(self) -> 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, "standardButton(self, 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, "button(self, 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, "defaultButton(self) -> 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, "setDefaultButton(self, QPushButton)\n"
    "setDefaultButton(self, 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, "escapeButton(self) -> 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, "setEscapeButton(self, QAbstractButton)\n"
    "setEscapeButton(self, 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, "clickedButton(self) -> 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, "informativeText(self) -> 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, "setInformativeText(self, 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, "detailedText(self) -> 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, "setDetailedText(self, 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, "setWindowTitle(self, 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, "setWindowModality(self, 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, "open(self)\n"
    "open(self, PYQT_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 || sipIsDerivedClass((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 138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 196749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "buttons(self) -> List[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, "buttonRole(self, 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, "setTextInteractionFlags(self, Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])");

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, "textInteractionFlags(self) -> 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, "setCheckBox(self, 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, "checkBox(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QMessageBox(void *, const sipTypeDef *);}
static void *cast_QMessageBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMessageBox *sipCpp = reinterpret_cast< ::QMessageBox *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMessageBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMessageBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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), 238},
    {sipName_AcceptRole, static_cast<int>( ::QMessageBox::AcceptRole), 236},
    {sipName_ActionRole, static_cast<int>( ::QMessageBox::ActionRole), 236},
    {sipName_Apply, static_cast<int>( ::QMessageBox::Apply), 238},
    {sipName_ApplyRole, static_cast<int>( ::QMessageBox::ApplyRole), 236},
    {sipName_ButtonMask, static_cast<int>( ::QMessageBox::ButtonMask), 238},
    {sipName_Cancel, static_cast<int>( ::QMessageBox::Cancel), 238},
    {sipName_Close, static_cast<int>( ::QMessageBox::Close), 238},
    {sipName_Critical, static_cast<int>( ::QMessageBox::Critical), 237},
    {sipName_Default, static_cast<int>( ::QMessageBox::Default), 238},
    {sipName_DestructiveRole, static_cast<int>( ::QMessageBox::DestructiveRole), 236},
    {sipName_Discard, static_cast<int>( ::QMessageBox::Discard), 238},
    {sipName_Escape, static_cast<int>( ::QMessageBox::Escape), 238},
    {sipName_FirstButton, static_cast<int>( ::QMessageBox::FirstButton), 238},
    {sipName_FlagMask, static_cast<int>( ::QMessageBox::FlagMask), 238},
    {sipName_Help, static_cast<int>( ::QMessageBox::Help), 238},
    {sipName_HelpRole, static_cast<int>( ::QMessageBox::HelpRole), 236},
    {sipName_Ignore, static_cast<int>( ::QMessageBox::Ignore), 238},
    {sipName_Information, static_cast<int>( ::QMessageBox::Information), 237},
    {sipName_InvalidRole, static_cast<int>( ::QMessageBox::InvalidRole), 236},
    {sipName_LastButton, static_cast<int>( ::QMessageBox::LastButton), 238},
    {sipName_No, static_cast<int>( ::QMessageBox::No), 238},
    {sipName_NoAll, static_cast<int>( ::QMessageBox::NoAll), 238},
    {sipName_NoButton, static_cast<int>( ::QMessageBox::NoButton), 238},
    {sipName_NoIcon, static_cast<int>( ::QMessageBox::NoIcon), 237},
    {sipName_NoRole, static_cast<int>( ::QMessageBox::NoRole), 236},
    {sipName_NoToAll, static_cast<int>( ::QMessageBox::NoToAll), 238},
    {sipName_Ok, static_cast<int>( ::QMessageBox::Ok), 238},
    {sipName_Open, static_cast<int>( ::QMessageBox::Open), 238},
    {sipName_Question, static_cast<int>( ::QMessageBox::Question), 237},
    {sipName_RejectRole, static_cast<int>( ::QMessageBox::RejectRole), 236},
    {sipName_Reset, static_cast<int>( ::QMessageBox::Reset), 238},
    {sipName_ResetRole, static_cast<int>( ::QMessageBox::ResetRole), 236},
    {sipName_RestoreDefaults, static_cast<int>( ::QMessageBox::RestoreDefaults), 238},
    {sipName_Retry, static_cast<int>( ::QMessageBox::Retry), 238},
    {sipName_Save, static_cast<int>( ::QMessageBox::Save), 238},
    {sipName_SaveAll, static_cast<int>( ::QMessageBox::SaveAll), 238},
    {sipName_Warning, static_cast<int>( ::QMessageBox::Warning), 237},
    {sipName_Yes, static_cast<int>( ::QMessageBox::Yes), 238},
    {sipName_YesAll, static_cast<int>( ::QMessageBox::YesAll), 238},
    {sipName_YesRole, static_cast<int>( ::QMessageBox::YesRole), 236},
    {sipName_YesToAll, static_cast<int>( ::QMessageBox::YesToAll), 238},
};

PyDoc_STRVAR(doc_QMessageBox, "\1QMessageBox(parent: QWidget = None)\n"
    "QMessageBox(QMessageBox.Icon, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.NoButton, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMessageBox[] = {
    {"buttonClicked(QAbstractButton*)", "\1buttonClicked(self, QAbstractButton)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMessageBox = {
    & ::QMessageBox::staticMetaObject,
    0,
    signals_QMessageBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMessageBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMessageBox,
        {0},
        &plugin_QMessageBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenubar.sip"
#include <qmenubar.h>
#line 197262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 197266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 197269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 197272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 197275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 197296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 197299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 197305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 197308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 197311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 197314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 197317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 197320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 197323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 197326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 197329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 197335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 197341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 197347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 197350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 197353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 197356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 197359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 197362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 197365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 197368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 197371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 197374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 197377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 197413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 197416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 197419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 197422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 197425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 197431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 197434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 197437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 197440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 197443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 197446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 197449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 197452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 197455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 197458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 197464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 197467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 197470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMenuBar::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMenuBar);

    return  ::QMenuBar::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMenuBar::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMenuBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMenuBar::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQMenuBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMenuBar::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMenuBar::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QMenuBar::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQMenuBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QMenuBar::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMenuBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QMenuBar::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMenuBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QMenuBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQMenuBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QMenuBar::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQMenuBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QMenuBar::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMenuBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QMenuBar::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QMenuBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QMenuBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QMenuBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QMenuBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QMenuBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QMenuBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QMenuBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QMenuBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QMenuBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QMenuBar::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QMenuBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QMenuBar::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QMenuBar::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QMenuBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QMenuBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QMenuBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QMenuBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QMenuBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QMenuBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QMenuBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QMenuBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QMenuBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QMenuBar::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QMenuBar::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QMenuBar::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenuBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QMenuBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQMenuBar::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QMenuBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMenuBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QMenuBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMenuBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QMenuBar::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMenuBar::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QMenuBar::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQMenuBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QMenuBar::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMenuBar::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QMenuBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 198706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 198766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "addAction(self, QAction)\n"
    "addAction(self, str) -> QAction\n"
    "addAction(self, str, PYQT_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.9-1.i686/build/py3/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 199767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "addMenu(self, QMenu) -> QAction\n"
    "addMenu(self, str) -> QMenu\n"
    "addMenu(self, 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, "addSeparator(self) -> 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, "insertMenu(self, 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, "insertSeparator(self, 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, "clear(self)");

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, "activeAction(self) -> 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, "setActiveAction(self, 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, "setDefaultUp(self, 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, "isDefaultUp(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "actionGeometry(self, 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, "actionAt(self, 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, "setCornerWidget(self, QWidget, corner: Qt.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, "cornerWidget(self, corner: Qt.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, "setVisible(self, 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "changeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "isNativeMenuBar(self) -> 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, "setNativeMenuBar(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QMenuBar(void *, const sipTypeDef *);}
static void *cast_QMenuBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMenuBar *sipCpp = reinterpret_cast< ::QMenuBar *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMenuBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMenuBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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}
};

PyDoc_STRVAR(doc_QMenuBar, "\1QMenuBar(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMenuBar[] = {
    {"hovered(QAction*)", "\1hovered(self, QAction)", 0, 0},
    {"triggered(QAction*)", "\1triggered(self, QAction)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMenuBar = {
    & ::QMenuBar::staticMetaObject,
    0,
    signals_QMenuBar,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMenuBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMenuBar,
        {0},
        &plugin_QMenuBar
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 201034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 201038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 201041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 201044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 201047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 201050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 201053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 201056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 201077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 201080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 201083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 201086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 201089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 201095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 201098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 201101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 201107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 201113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 201119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 201122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 201125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 201128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 201131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 201134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 201137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 201140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 201143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 201146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 201149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 201185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 201188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 201191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 201194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 201200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 201203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 201206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 201209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 201212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 201215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 201218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 201221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 201224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 201227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 201233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 201236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 201239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMenu::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMenu);

    return  ::QMenu::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMenu::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMenu::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMenu::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQMenu::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMenu::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMenu::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QMenu::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQMenu::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QMenu::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMenu::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QMenu::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMenu::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QMenu::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQMenu::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QMenu::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQMenu::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QMenu::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMenu::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QMenu::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QMenu::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QMenu::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QMenu::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QMenu::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QMenu::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QMenu::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QMenu::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QMenu::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QMenu::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QMenu::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QMenu::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QMenu::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QMenu::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QMenu::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QMenu::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QMenu::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QMenu::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QMenu::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QMenu::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QMenu::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QMenu::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QMenu::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QMenu::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QMenu::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMenu::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QMenu::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQMenu::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QMenu::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMenu::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QMenu::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMenu::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QMenu::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMenu::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QMenu::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQMenu::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QMenu::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMenu::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QMenu::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 202481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 202541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "addAction(self, QAction)\n"
    "addAction(self, str) -> QAction\n"
    "addAction(self, QIcon, str) -> QAction\n"
    "addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) -> QAction\n"
    "addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 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.9-1.i686/build/py3/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 203542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/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 203592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "addMenu(self, QMenu) -> QAction\n"
    "addMenu(self, str) -> QMenu\n"
    "addMenu(self, 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, "addSeparator(self) -> 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, "insertMenu(self, 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, "insertSeparator(self, 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, "clear(self)");

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, "setTearOffEnabled(self, 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, "isTearOffEnabled(self) -> 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, "isTearOffMenuVisible(self) -> 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, "hideTearOffMenu(self)");

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, "setDefaultAction(self, 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, "defaultAction(self) -> 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, "setActiveAction(self, 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, "activeAction(self) -> 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, "popup(self, QPoint, action: QAction = 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_, "exec_(self) -> QAction\n"
    "exec_(self, QPoint, action: QAction = None) -> QAction\n"
    "exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = 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_exec, "exec(self) -> QAction\n"
    "exec(self, QPoint, action: QAction = None) -> QAction\n"
    "exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = 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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec();
            Py_END_ALLOW_THREADS

            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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec(*a0,a1);
            Py_END_ALLOW_THREADS

            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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "actionGeometry(self, 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, "actionAt(self, 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, "menuAction(self) -> 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, "title(self) -> 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, "setTitle(self, 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, "icon(self) -> 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, "setIcon(self, 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, "setNoReplayFor(self, 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, "columnCount(self) -> 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, "initStyleOption(self, 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, "changeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "isEmpty(self) -> 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, "separatorsCollapsible(self) -> 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, "setSeparatorsCollapsible(self, 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, "addSection(self, str) -> QAction\n"
    "addSection(self, 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, "insertSection(self, QAction, str) -> QAction\n"
    "insertSection(self, 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, "toolTipsVisible(self) -> 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, "setToolTipsVisible(self, 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;
}


PyDoc_STRVAR(doc_QMenu_showTearOffMenu, "showTearOffMenu(self)\n"
    "showTearOffMenu(self, QPoint)");

extern "C" {static PyObject *meth_QMenu_showTearOffMenu(PyObject *, PyObject *);}
static PyObject *meth_QMenu_showTearOffMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            sipCpp->showTearOffMenu();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QPoint* a0;
         ::QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMenu, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->showTearOffMenu(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_showTearOffMenu, doc_QMenu_showTearOffMenu);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMenu(void *, const sipTypeDef *);}
static void *cast_QMenu(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMenu *sipCpp = reinterpret_cast< ::QMenu *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMenu(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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_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_showTearOffMenu), meth_QMenu_showTearOffMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_showTearOffMenu)},
    {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)}
};

PyDoc_STRVAR(doc_QMenu, "\1QMenu(parent: QWidget = None)\n"
    "QMenu(str, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMenu[] = {
    {"triggered(QAction*)", "\1triggered(self, QAction)", 0, 0},
    {"hovered(QAction*)", "\1hovered(self, QAction)", 0, 0},
    {"aboutToShow()", "\1aboutToShow(self)", 0, 0},
    {"aboutToHide()", "\1aboutToHide(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMenu = {
    & ::QMenu::staticMetaObject,
    0,
    signals_QMenu,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMenu = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMenu,
        {0},
        &plugin_QMenu
    },
    {
        sipNameNr_QMenu,
        {0, 0, 1},
        82, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 205498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 205502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QMdiSubWindow_SubWindowOptions___hash__(PyObject *);}
static long slot_QMdiSubWindow_SubWindowOptions___hash__(PyObject *sipSelf)
{
     ::QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast< ::QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QMdiSubWindow::SubWindowOptions::Int();
#line 205520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiSubWindow::SubWindowOptions::Int() != 0);
#line 205545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiSubWindow::SubWindowOptions::Int() != a0->operator QMdiSubWindow::SubWindowOptions::Int());
#line 205575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiSubWindow::SubWindowOptions::Int() == a0->operator QMdiSubWindow::SubWindowOptions::Int());
#line 205611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QMdiSubWindow::SubWindowOptions(*sipCpp ^ a0);
#line 205650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QMdiSubWindow::SubWindowOptions(*sipCpp | a0);
#line 205722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMdiSubWindow::SubWindowOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QMdiSubWindow::SubWindowOptions(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 205990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMdiSubWindow_SubWindowOptions[] = {
    {(void *)slot_QMdiSubWindow_SubWindowOptions___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___xor__, xor_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___ior__, ior_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___or__, or_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___iand__, iand_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___and__, and_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___invert__, invert_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMdiSubWindow_SubWindowOptions, "\1QMdiSubWindow.SubWindowOptions()\n"
    "QMdiSubWindow.SubWindowOptions(Union[QMdiSubWindow.SubWindowOptions, QMdiSubWindow.SubWindowOption])\n"
    "QMdiSubWindow.SubWindowOptions(QMdiSubWindow.SubWindowOptions)");


static pyqt5ClassPluginDef plugin_QMdiSubWindow_SubWindowOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMdiSubWindow_SubWindowOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMdiSubWindow__SubWindowOptions,
        {0},
        &plugin_QMdiSubWindow_SubWindowOptions
    },
    {
        sipNameNr_SubWindowOptions,
        {230, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMdiSubWindow_SubWindowOptions,
    -1,
    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,
    0,
    convertTo_QMdiSubWindow_SubWindowOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 206076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 206080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 206083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 206086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 206107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 206113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 206125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 206128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 206131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 206134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 206137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 206140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 206143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 206146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 206149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 206152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 206155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 206158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 206161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 206164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 206167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 206170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 206173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 206176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 206179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 206182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 206185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 206188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 206191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 206194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 206197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 206200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 206203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 206206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 206230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 206233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 206236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 206239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 206242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 206245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 206248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 206251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 206254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 206257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 206260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 206263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 206266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 206269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 206272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 206275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 206278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 206281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 206284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMdiSubWindow::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMdiSubWindow);

    return  ::QMdiSubWindow::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMdiSubWindow::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMdiSubWindow::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQMdiSubWindow::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMdiSubWindow::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMdiSubWindow::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QMdiSubWindow::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQMdiSubWindow::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QMdiSubWindow::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMdiSubWindow::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QMdiSubWindow::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMdiSubWindow::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QMdiSubWindow::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQMdiSubWindow::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QMdiSubWindow::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQMdiSubWindow::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QMdiSubWindow::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMdiSubWindow::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QMdiSubWindow::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QMdiSubWindow::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQMdiSubWindow::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QMdiSubWindow::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMdiSubWindow::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QMdiSubWindow::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMdiSubWindow::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QMdiSubWindow::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMdiSubWindow::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QMdiSubWindow::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQMdiSubWindow::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QMdiSubWindow::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMdiSubWindow::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QMdiSubWindow::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 207514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 207574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "setWidget(self, 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 43 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 208424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "widget(self) -> 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, "isShaded(self) -> 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, "setOption(self, QMdiSubWindow.SubWindowOption, on: bool = 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, "testOption(self, 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, "setKeyboardSingleStep(self, 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, "keyboardSingleStep(self) -> 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, "setKeyboardPageStep(self, 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, "keyboardPageStep(self) -> 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, "setSystemMenu(self, 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 69 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 208698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "systemMenu(self) -> 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, "mdiArea(self) -> 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, "showSystemMenu(self)");

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, "showShaded(self)");

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, "eventFilter(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QMdiSubWindow(void *, const sipTypeDef *);}
static void *cast_QMdiSubWindow(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMdiSubWindow *sipCpp = reinterpret_cast< ::QMdiSubWindow *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMdiSubWindow *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMdiSubWindow(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{457, 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), 231},
    {sipName_RubberBandResize, static_cast<int>( ::QMdiSubWindow::RubberBandResize), 231},
};

PyDoc_STRVAR(doc_QMdiSubWindow, "\1QMdiSubWindow(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMdiSubWindow[] = {
    {"aboutToActivate()", "\1aboutToActivate(self)", 0, 0},
    {"windowStateChanged(Qt::WindowStates,Qt::WindowStates)", "\1windowStateChanged(self, Union[Qt.WindowStates, Qt.WindowState], Union[Qt.WindowStates, Qt.WindowState])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMdiSubWindow = {
    & ::QMdiSubWindow::staticMetaObject,
    0,
    signals_QMdiSubWindow,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMdiSubWindow = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMdiSubWindow,
        {0},
        &plugin_QMdiSubWindow
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 209627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 209631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QMdiArea_AreaOptions___hash__(PyObject *);}
static long slot_QMdiArea_AreaOptions___hash__(PyObject *sipSelf)
{
     ::QMdiArea::AreaOptions *sipCpp = reinterpret_cast< ::QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QMdiArea::AreaOptions::Int();
#line 209649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiArea::AreaOptions::Int() != 0);
#line 209674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiArea::AreaOptions::Int() != a0->operator QMdiArea::AreaOptions::Int());
#line 209704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiArea::AreaOptions::Int() == a0->operator QMdiArea::AreaOptions::Int());
#line 209740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QMdiArea::AreaOptions(*sipCpp ^ a0);
#line 209779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QMdiArea::AreaOptions(*sipCpp | a0);
#line 209851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMdiArea::AreaOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QMdiArea::AreaOptions(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 210119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMdiArea_AreaOptions[] = {
    {(void *)slot_QMdiArea_AreaOptions___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QMdiArea_AreaOptions___xor__, xor_slot},
    {(void *)slot_QMdiArea_AreaOptions___ior__, ior_slot},
    {(void *)slot_QMdiArea_AreaOptions___or__, or_slot},
    {(void *)slot_QMdiArea_AreaOptions___iand__, iand_slot},
    {(void *)slot_QMdiArea_AreaOptions___and__, and_slot},
    {(void *)slot_QMdiArea_AreaOptions___invert__, invert_slot},
    {(void *)slot_QMdiArea_AreaOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMdiArea_AreaOptions, "\1QMdiArea.AreaOptions()\n"
    "QMdiArea.AreaOptions(Union[QMdiArea.AreaOptions, QMdiArea.AreaOption])\n"
    "QMdiArea.AreaOptions(QMdiArea.AreaOptions)");


static pyqt5ClassPluginDef plugin_QMdiArea_AreaOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMdiArea_AreaOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMdiArea__AreaOptions,
        {0},
        &plugin_QMdiArea_AreaOptions
    },
    {
        sipNameNr_AreaOptions,
        {225, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMdiArea_AreaOptions,
    -1,
    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,
    0,
    convertTo_QMdiArea_AreaOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 210205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 210209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabwidget.sip"
#include <qtabwidget.h>
#line 210212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 210215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 210221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 210227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 210233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 210236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 210239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 210242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 210248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 210251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 210254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 210260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 210287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 210293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 210296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 210299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 210302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 210305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 210308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 210311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 210314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 210317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 210326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 210329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 210332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 210335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 210338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 210341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 210344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 210347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 210350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 210353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 210356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 210359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 210380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 210383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 210386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 210389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 210392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 210395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 210401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 210404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 210407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 210410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 210413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 210416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 210419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 210422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 210425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 210431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 210434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 210437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
     ::QSize sipProtectVirt_viewportSizeHint(bool) 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_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 childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMdiArea(const sipQMdiArea &);
    sipQMdiArea &operator = (const sipQMdiArea &);

    char sipPyMethods[50];
};

sipQMdiArea::sipQMdiArea( ::QWidget*a0):  ::QMdiArea(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMdiArea::~sipQMdiArea()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMdiArea::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMdiArea);

    return  ::QMdiArea::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMdiArea::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMdiArea::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMdiArea::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMdiArea::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQMdiArea::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMdiArea::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMdiArea::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QMdiArea::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQMdiArea::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QMdiArea::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMdiArea::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QMdiArea::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMdiArea::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QMdiArea::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQMdiArea::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QMdiArea::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQMdiArea::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QMdiArea::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMdiArea::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QMdiArea::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QMdiArea::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QMdiArea::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QMdiArea::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QMdiArea::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QMdiArea::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QMdiArea::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QMdiArea::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QMdiArea::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QMdiArea::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QMdiArea::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QMdiArea::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QMdiArea::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QMdiArea::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QMdiArea::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QMdiArea::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QMdiArea::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QMdiArea::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QMdiArea::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QMdiArea::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QMdiArea::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QMdiArea::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QMdiArea::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QMdiArea::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QMdiArea::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QMdiArea::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQMdiArea::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QMdiArea::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMdiArea::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QMdiArea::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMdiArea::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QMdiArea::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMdiArea::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QMdiArea::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQMdiArea::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QMdiArea::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMdiArea::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QMdiArea::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQMdiArea::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QMdiArea::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMdiArea::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QMdiArea::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMdiArea::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QMdiArea::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMdiArea::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QMdiArea::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQMdiArea::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

 ::QSize sipQMdiArea::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QAbstractScrollArea::viewportSizeHint() : viewportSizeHint());
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 211791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 211851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QMdiArea_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &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_QMdiArea, sipName_initStyleOption, doc_QMdiArea_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QMdiArea_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_viewportMargins, doc_QMdiArea_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_viewportSizeHint, "viewportSizeHint(self) -> QSize");

extern "C" {static PyObject *meth_QMdiArea_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &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_QMdiArea, sipName_viewportSizeHint, doc_QMdiArea_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_mousePressEvent, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "activeSubWindow(self) -> 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, "addSubWindow(self, QWidget, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags()) -> 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 = Qt::WindowFlags();
         ::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, "subWindowList(self, order: QMdiArea.WindowOrder = QMdiArea.CreationOrder) -> object");

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, "currentSubWindow(self) -> 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, "removeSubWindow(self, 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 60 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 213370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "background(self) -> 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, "setBackground(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "setOption(self, QMdiArea.AreaOption, on: bool = 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, "testOption(self, 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, "setActiveSubWindow(self, 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, "tileSubWindows(self)");

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, "cascadeSubWindows(self)");

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, "closeActiveSubWindow(self)");

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, "closeAllSubWindows(self)");

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, "activateNextSubWindow(self)");

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, "activatePreviousSubWindow(self)");

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, "setupViewport(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "activationOrder(self) -> 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, "setActivationOrder(self, 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, "setViewMode(self, 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, "viewMode(self) -> 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, "setTabShape(self, 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, "tabShape(self) -> 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, "setTabPosition(self, 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, "tabPosition(self) -> 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, "documentMode(self) -> 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, "setDocumentMode(self, 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, "setTabsClosable(self, 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, "tabsClosable(self) -> 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, "setTabsMovable(self, 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, "tabsMovable(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QMdiArea(void *, const sipTypeDef *);}
static void *cast_QMdiArea(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMdiArea *sipCpp = reinterpret_cast< ::QMdiArea *>(sipCppV);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMdiArea *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMdiArea(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QMdiArea_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QMdiArea_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QMdiArea_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {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), 229},
    {sipName_CreationOrder, static_cast<int>( ::QMdiArea::CreationOrder), 229},
    {sipName_DontMaximizeSubWindowOnActivation, static_cast<int>( ::QMdiArea::DontMaximizeSubWindowOnActivation), 226},
    {sipName_StackingOrder, static_cast<int>( ::QMdiArea::StackingOrder), 229},
    {sipName_SubWindowView, static_cast<int>( ::QMdiArea::SubWindowView), 228},
    {sipName_TabbedView, static_cast<int>( ::QMdiArea::TabbedView), 228},
};

PyDoc_STRVAR(doc_QMdiArea, "\1QMdiArea(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMdiArea[] = {
    {"subWindowActivated(QMdiSubWindow*)", "\1subWindowActivated(self, QMdiSubWindow)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMdiArea = {
    & ::QMdiArea::staticMetaObject,
    0,
    signals_QMdiArea,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMdiArea = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMdiArea,
        {0},
        &plugin_QMdiArea
    },
    {
        sipNameNr_QMdiArea,
        {0, 0, 1},
        87, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 214632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 214636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QMainWindow_DockOptions___hash__(PyObject *);}
static long slot_QMainWindow_DockOptions___hash__(PyObject *sipSelf)
{
     ::QMainWindow::DockOptions *sipCpp = reinterpret_cast< ::QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QMainWindow::DockOptions::Int();
#line 214654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMainWindow::DockOptions::Int() != 0);
#line 214679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMainWindow::DockOptions::Int() != a0->operator QMainWindow::DockOptions::Int());
#line 214709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMainWindow::DockOptions::Int() == a0->operator QMainWindow::DockOptions::Int());
#line 214745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QMainWindow::DockOptions(*sipCpp ^ a0);
#line 214784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QMainWindow::DockOptions(*sipCpp | a0);
#line 214856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMainWindow::DockOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QMainWindow::DockOptions(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 215124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMainWindow_DockOptions[] = {
    {(void *)slot_QMainWindow_DockOptions___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QMainWindow_DockOptions___xor__, xor_slot},
    {(void *)slot_QMainWindow_DockOptions___ior__, ior_slot},
    {(void *)slot_QMainWindow_DockOptions___or__, or_slot},
    {(void *)slot_QMainWindow_DockOptions___iand__, iand_slot},
    {(void *)slot_QMainWindow_DockOptions___and__, and_slot},
    {(void *)slot_QMainWindow_DockOptions___invert__, invert_slot},
    {(void *)slot_QMainWindow_DockOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMainWindow_DockOptions, "\1QMainWindow.DockOptions()\n"
    "QMainWindow.DockOptions(Union[QMainWindow.DockOptions, QMainWindow.DockOption])\n"
    "QMainWindow.DockOptions(QMainWindow.DockOptions)");


static pyqt5ClassPluginDef plugin_QMainWindow_DockOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMainWindow_DockOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMainWindow__DockOptions,
        {0},
        &plugin_QMainWindow_DockOptions
    },
    {
        sipNameNr_DockOptions,
        {221, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMainWindow_DockOptions,
    -1,
    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,
    0,
    convertTo_QMainWindow_DockOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 215210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 215214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 215217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 215220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 215223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 215226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 215229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 215232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtabwidget.sip"
#include <qtabwidget.h>
#line 215235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qtoolbar.sip"
#include <qtoolbar.h>
#line 215238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 215241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 215244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 215247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 215253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 215256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 215259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 215262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstatusbar.sip"
#include <qstatusbar.h>
#line 215265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenubar.sip"
#include <qmenubar.h>
#line 215268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 215271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 215274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 215277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 215280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 215283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 215286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 215289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 215292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 215295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 215298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 215301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 215304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 215307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 215310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 215313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 215316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 215319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 215322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 215325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 215376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 215379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 215382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 215385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 215388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 215391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 215394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 215397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 215400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 215403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 215406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 215409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 215412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 215415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 215418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 215421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 215424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 215427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 215430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 215433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 215436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 215439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 215442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QMenu* createPopupMenu();
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMainWindow::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMainWindow);

    return  ::QMainWindow::metaObject();
}

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));
}

 ::QMenu* sipQMainWindow::createPopupMenu()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_createPopupMenu);

    if (!sipMeth)
        return  ::QMainWindow::createPopupMenu();

    extern  ::QMenu* sipVH_QtWidgets_182(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_182(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMainWindow::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMainWindow::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMainWindow::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMainWindow::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMainWindow::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMainWindow::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMainWindow::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMainWindow::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQMainWindow::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMainWindow::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQMainWindow::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  ::QMainWindow::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQMainWindow::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QMainWindow::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMainWindow::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QMainWindow::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMainWindow::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QMainWindow::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQMainWindow::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QMainWindow::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQMainWindow::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QMainWindow::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQMainWindow::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QMainWindow::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QMainWindow::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QMainWindow::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QMainWindow::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QMainWindow::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QMainWindow::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QMainWindow::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QMainWindow::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QMainWindow::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QMainWindow::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QMainWindow::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QMainWindow::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QMainWindow::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QMainWindow::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QMainWindow::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QMainWindow::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QMainWindow::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QMainWindow::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QMainWindow::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QMainWindow::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QMainWindow::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QMainWindow::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QMainWindow::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QMainWindow::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QMainWindow::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMainWindow::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QMainWindow::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQMainWindow::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QMainWindow::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMainWindow::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QMainWindow::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMainWindow::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QMainWindow::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMainWindow::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QMainWindow::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQMainWindow::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QMainWindow::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQMainWindow::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QMainWindow::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 216682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 216742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "iconSize(self) -> 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, "setIconSize(self, 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, "toolButtonStyle(self) -> 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, "setToolButtonStyle(self, 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, "menuBar(self) -> 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, "setMenuBar(self, 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, "statusBar(self) -> 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, "setStatusBar(self, 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, "centralWidget(self) -> 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, "setCentralWidget(self, 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, "setCorner(self, 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, "corner(self, 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, "addToolBarBreak(self, area: Qt.ToolBarArea = 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, "insertToolBarBreak(self, 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, "addToolBar(self, Qt.ToolBarArea, QToolBar)\n"
    "addToolBar(self, QToolBar)\n"
    "addToolBar(self, 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, "insertToolBar(self, 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, "removeToolBar(self, 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, "toolBarArea(self, 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, "addDockWidget(self, Qt.DockWidgetArea, QDockWidget)\n"
    "addDockWidget(self, 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, "splitDockWidget(self, 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, "removeDockWidget(self, 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, "dockWidgetArea(self, 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, "saveState(self, version: int = 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, "restoreState(self, Union[QByteArray, bytes, bytearray], version: int = 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, "createPopupMenu(self) -> 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 || sipIsDerivedClass((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, "setAnimated(self, 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, "setDockNestingEnabled(self, 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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "isAnimated(self) -> 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, "isDockNestingEnabled(self) -> 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, "isSeparator(self, 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, "menuWidget(self) -> 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, "setMenuWidget(self, 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, "tabifyDockWidget(self, 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, "setDockOptions(self, Union[QMainWindow.DockOptions, QMainWindow.DockOption])");

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, "dockOptions(self) -> 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, "removeToolBarBreak(self, 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, "toolBarBreak(self, 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, "setUnifiedTitleAndToolBarOnMac(self, 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, "unifiedTitleAndToolBarOnMac(self) -> 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, "restoreDockWidget(self, 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, "documentMode(self) -> 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, "setDocumentMode(self, 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, "tabShape(self) -> 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, "setTabShape(self, 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, "tabPosition(self, 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, "setTabPosition(self, Union[Qt.DockWidgetAreas, Qt.DockWidgetArea], 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, "tabifiedDockWidgets(self, QDockWidget) -> object");

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, "takeCentralWidget(self) -> 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;
}


PyDoc_STRVAR(doc_QMainWindow_resizeDocks, "resizeDocks(self, Iterable[QDockWidget], Iterable[int], Qt.Orientation)");

extern "C" {static PyObject *meth_QMainWindow_resizeDocks(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_resizeDocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QDockWidget*>* a0;
        int a0State = 0;
        const  ::QList<int>* a1;
        int a1State = 0;
         ::Qt::Orientation a2;
         ::QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1E", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QList_0101QDockWidget,&a0, &a0State, sipType_QList_1800,&a1, &a1State, sipType_Qt_Orientation, &a2))
        {
            sipCpp->resizeDocks(*a0,*a1,a2);
            sipReleaseType(const_cast<QList< ::QDockWidget*> *>(a0),sipType_QList_0101QDockWidget,a0State);
            sipReleaseType(const_cast< ::QList<int> *>(a1),sipType_QList_1800,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_resizeDocks, doc_QMainWindow_resizeDocks);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMainWindow(void *, const sipTypeDef *);}
static void *cast_QMainWindow(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMainWindow *sipCpp = reinterpret_cast< ::QMainWindow *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMainWindow *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMainWindow(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{457, 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_resizeDocks), meth_QMainWindow_resizeDocks, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_resizeDocks)},
    {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), 222},
    {sipName_AllowTabbedDocks, static_cast<int>( ::QMainWindow::AllowTabbedDocks), 222},
    {sipName_AnimatedDocks, static_cast<int>( ::QMainWindow::AnimatedDocks), 222},
    {sipName_ForceTabbedDocks, static_cast<int>( ::QMainWindow::ForceTabbedDocks), 222},
    {sipName_GroupedDragging, static_cast<int>( ::QMainWindow::GroupedDragging), 222},
    {sipName_VerticalTabs, static_cast<int>( ::QMainWindow::VerticalTabs), 222},
};

PyDoc_STRVAR(doc_QMainWindow, "\1QMainWindow(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMainWindow[] = {
    {"tabifiedDockWidgetActivated(QDockWidget*)", "\1tabifiedDockWidgetActivated(self, QDockWidget)", 0, 0},
    {"toolButtonStyleChanged(Qt::ToolButtonStyle)", "\1toolButtonStyleChanged(self, Qt.ToolButtonStyle)", 0, 0},
    {"iconSizeChanged(QSize)", "\1iconSizeChanged(self, QSize)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMainWindow = {
    & ::QMainWindow::staticMetaObject,
    0,
    signals_QMainWindow,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QMainWindow = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMainWindow,
        {0},
        &plugin_QMainWindow
    },
    {
        sipNameNr_QMainWindow,
        {0, 0, 1},
        95, methods_QMainWindow,
        6, 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
};

#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 219783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 219787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 219790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 219793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 219796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 219802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 219805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 219808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 219811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 219820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 219823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 219826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 219832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 219835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 219838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 219841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 219844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 219847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 219850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 219859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 219874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 219880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistview.sip"
#include <qlistview.h>
#line 219883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 219889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 219892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 219904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 219907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 219910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 219913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 219919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 219925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 219928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 219931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 219934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 219937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 219940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 219943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 219949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 219958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 219961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 219964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 219967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 219970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 219973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 219976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 219979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 219982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 219997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 220003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 220009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 220012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 220015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 220021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 220024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 220027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 220030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 220033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 220036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 220039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 220048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 220054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 220057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 220060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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_wheelEvent(bool, ::QWheelEvent*);
    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:
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(int,const  ::QMimeData*, ::Qt::DropAction);
     ::QMimeData* mimeData(const QList< ::QListWidgetItem*>) const;
     ::QStringList mimeTypes() const;
     ::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 disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQListWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QListWidget);

    return  ::QListWidget::metaObject();
}

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));
}

 ::Qt::DropActions sipQListWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QListWidget::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_115(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQListWidget::dropMimeData(int a0,const  ::QMimeData*a1, ::Qt::DropAction a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QListWidget::dropMimeData(a0,a1,a2);

    extern bool sipVH_QtWidgets_181(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_QtWidgets_181(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QListWidget::mimeData(a0);

    extern  ::QMimeData* sipVH_QtWidgets_180(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QListWidgetItem*>);

    return sipVH_QtWidgets_180(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStringList sipQListWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QListWidget::mimeTypes();

    extern  ::QStringList sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_123(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QStyleOptionViewItem sipQListWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::QListWidget::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListWidget::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QListWidget::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[6]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QListWidget::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[7],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QListWidget::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_67(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndexList sipQListWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QListWidget::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRegion sipQListWidget::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QListWidget::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::QListWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQListWidget::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::QListWidget::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQListWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::QListWidget::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQListWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::QListWidget::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QModelIndex sipQListWidget::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::QListWidget::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

void sipQListWidget::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QListWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QListWidget::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QListWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QListWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QListWidget::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QListWidget::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QListWidget::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QListWidget::updateGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QListWidget::updateEditorGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QListWidget::updateEditorData();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListWidget::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QListWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QListWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QListWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[28],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QListWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[29],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QListWidget::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QListWidget::selectAll();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListWidget::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QListWidget::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QListWidget::reset();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQListWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::QListWidget::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQListWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::QListWidget::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQListWidget::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::QListWidget::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QListWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRect sipQListWidget::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::QListWidget::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QListWidget::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QListWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QListWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QListWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QListWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QListWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QListWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQListWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QListWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQListWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QListWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQListWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QListWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQListWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QListWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQListWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QListWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QListWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQListWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QListWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQListWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QListWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQListWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QListWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QListWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QListWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QListWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QListWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QListWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QListWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QListWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QListWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QListWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QListWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QListWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QListWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QListWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QListWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QListWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QListWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QListWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QListWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QListWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QListWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QListWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QListWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QListWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QListWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QListWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QListWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQListWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QListWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQListWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QListWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQListWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QListWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQListWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QListWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQListWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QListWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QListWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQListWidget::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QListWidget::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQListWidget::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QListWidget::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QListWidget::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[89],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QListWidget::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQListWidget::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QListView::wheelEvent(a0) : wheelEvent(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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 222402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 222462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QListWidget_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &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_QListWidget, sipName_initStyleOption, doc_QListWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QListWidget_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_viewportMargins, doc_QListWidget_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_contextMenuEvent, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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, "executeDelayedItemsLayout(self)");

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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_startDrag, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "rectForIndex(self, 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, "setPositionForIndex(self, 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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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, "item(self, 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, "row(self, 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, "insertItem(self, int, QListWidgetItem)\n"
    "insertItem(self, 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, "insertItems(self, int, Iterable[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, "addItem(self, QListWidgetItem)\n"
    "addItem(self, 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, "addItems(self, Iterable[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, "takeItem(self, 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, "count(self) -> 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, "currentItem(self) -> 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, "setCurrentItem(self, QListWidgetItem)\n"
    "setCurrentItem(self, QListWidgetItem, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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, "currentRow(self) -> 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, "setCurrentRow(self, int)\n"
    "setCurrentRow(self, int, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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, "itemAt(self, QPoint) -> QListWidgetItem\n"
    "itemAt(self, 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, "itemWidget(self, 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, "setItemWidget(self, 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 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 225575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "visualItemRect(self, 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, "sortItems(self, order: Qt.SortOrder = 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, "editItem(self, 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, "openPersistentEditor(self, 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, "closePersistentEditor(self, 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, "selectedItems(self) -> object");

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, "findItems(self, str, Union[Qt.MatchFlags, Qt.MatchFlag]) -> List[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, "clear(self)");

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, "scrollToItem(self, QListWidgetItem, hint: QAbstractItemView.ScrollHint = 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, "mimeTypes(self) -> List[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 || sipIsDerivedClass((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, "mimeData(self, Iterable[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 || sipIsDerivedClass((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, "dropMimeData(self, 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 || sipIsDerivedClass((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, "supportedDropActions(self) -> 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 || sipIsDerivedClass((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, "items(self, QMimeData) -> List[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, "indexFromItem(self, 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, "itemFromIndex(self, 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, "event(self, 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 || sipIsDerivedClass((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, "setSortingEnabled(self, 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, "isSortingEnabled(self) -> 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, "dropEvent(self, 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 || sipIsDerivedClass((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, "removeItemWidget(self, 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 171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 226210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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;
}


PyDoc_STRVAR(doc_QListWidget_setSelectionModel, "setSelectionModel(self, QItemSelectionModel)");

extern "C" {static PyObject *meth_QListWidget_setSelectionModel(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setSelectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QItemSelectionModel* a0;
         ::QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QItemSelectionModel, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QListWidget::setSelectionModel(a0) : sipCpp->setSelectionModel(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setSelectionModel, doc_QListWidget_setSelectionModel);

    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 226279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QListWidget(void *, const sipTypeDef *);}
static void *cast_QListWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QListWidget *sipCpp = reinterpret_cast< ::QListWidget *>(sipCppV);

    if (targetType == sipType_QListView)
        return static_cast< ::QListView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQListWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QListWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{212, 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_initStyleOption), (PyCFunction)meth_QListWidget_initStyleOption, 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_setSelectionModel), meth_QListWidget_setSelectionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_setSelectionModel)},
    {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_viewportMargins), (PyCFunction)meth_QListWidget_viewportMargins, 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}
};

PyDoc_STRVAR(doc_QListWidget, "\1QListWidget(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QListWidget[] = {
    {"itemSelectionChanged()", "\1itemSelectionChanged(self)", 0, 0},
    {"currentRowChanged(int)", "\1currentRowChanged(self, int)", 0, 0},
    {"currentTextChanged(QString)", "\1currentTextChanged(self, str)", 0, 0},
    {"currentItemChanged(QListWidgetItem*,QListWidgetItem*)", "\1currentItemChanged(self, QListWidgetItem, QListWidgetItem)", 0, 0},
    {"itemChanged(QListWidgetItem*)", "\1itemChanged(self, QListWidgetItem)", 0, 0},
    {"itemEntered(QListWidgetItem*)", "\1itemEntered(self, QListWidgetItem)", 0, 0},
    {"itemActivated(QListWidgetItem*)", "\1itemActivated(self, QListWidgetItem)", 0, 0},
    {"itemDoubleClicked(QListWidgetItem*)", "\1itemDoubleClicked(self, QListWidgetItem)", 0, 0},
    {"itemClicked(QListWidgetItem*)", "\1itemClicked(self, QListWidgetItem)", 0, 0},
    {"itemPressed(QListWidgetItem*)", "\1itemPressed(self, QListWidgetItem)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QListWidget = {
    & ::QListWidget::staticMetaObject,
    0,
    signals_QListWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QListWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QListWidget,
        {0},
        &plugin_QListWidget
    },
    {
        sipNameNr_QListWidget,
        {0, 0, 1},
        126, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 226591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 226595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 226598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 226601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 226604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 226607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 226613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 226616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 226619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_QtWidgets_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_QtWidgets_179(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_QtWidgets_179(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_178(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QListWidgetItem&);

    return sipVH_QtWidgets_178(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_177(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QVariant&);

    sipVH_QtWidgets_177(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern  ::QVariant sipVH_QtWidgets_176(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_176(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_175(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_175(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QListWidgetItem_clone, "clone(self) -> 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 || sipIsDerivedClass((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, "listWidget(self) -> 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, "flags(self) -> 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, "text(self) -> 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, "icon(self) -> 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, "statusTip(self) -> 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, "toolTip(self) -> 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, "whatsThis(self) -> 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, "font(self) -> 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, "textAlignment(self) -> 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, "setTextAlignment(self, 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, "checkState(self) -> 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, "setCheckState(self, 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, "sizeHint(self) -> 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, "setSizeHint(self, 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, "data(self, int) -> Any");

extern "C" {static PyObject *meth_QListWidgetItem_data(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setData(self, int, Any)");

extern "C" {static PyObject *meth_QListWidgetItem_setData(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "read(self, 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 || sipIsDerivedClass((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, "write(self, 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 || sipIsDerivedClass((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, "type(self) -> 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, "setFlags(self, Union[Qt.ItemFlags, Qt.ItemFlag])");

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, "setText(self, 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, "setIcon(self, 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, "setStatusTip(self, 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, "setToolTip(self, 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, "setWhatsThis(self, 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, "setFont(self, 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, "background(self) -> 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, "setBackground(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "foreground(self) -> 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, "setForeground(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "setSelected(self, 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, "isSelected(self) -> 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, "setHidden(self, 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, "isHidden(self) -> 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);
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQListWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QListWidgetItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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), 220},
    {sipName_UserType, static_cast<int>( ::QListWidgetItem::UserType), 220},
};

PyDoc_STRVAR(doc_QListWidgetItem, "\1QListWidgetItem(parent: QListWidget = None, type: int = QListWidgetItem.Type)\n"
    "QListWidgetItem(str, parent: QListWidget = None, type: int = QListWidgetItem.Type)\n"
    "QListWidgetItem(QIcon, str, parent: QListWidget = None, type: int = QListWidgetItem.Type)\n"
    "QListWidgetItem(QListWidgetItem)");


static pyqt5ClassPluginDef plugin_QListWidgetItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QListWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QListWidgetItem,
        {0},
        &plugin_QListWidgetItem
    },
    {
        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,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlistview.sip"
#include <qlistview.h>
#line 228082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 228086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 228089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 228092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 228095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 228098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 228101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 228104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 228107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 228110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 228113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 228122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 228143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 228149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 228152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 228161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 228164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 228176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 228179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 228182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 228185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 228188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 228191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 228194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 228200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 228206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 228209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 228212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 228215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 228218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 228221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 228224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 228230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 228239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 228242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 228245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 228248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 228251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 228254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 228257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 228260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 228263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 228281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 228284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 228287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 228290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 228293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 228296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 228302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 228305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 228308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 228311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 228314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 228317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 228320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 228323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 228326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 228329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 228335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 228338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 228341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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_wheelEvent(bool, ::QWheelEvent*);
    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 setupViewport( ::QWidget*);
    void scrollContentsBy(int,int);
    bool viewportEvent( ::QEvent*);
     ::QSize viewportSizeHint() const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void setModel( ::QAbstractItemModel*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQListView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QListView);

    return  ::QListView::metaObject();
}

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::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QListView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QListView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQListView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QListView::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQListView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QListView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQListView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QListView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQListView::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  ::QListView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QListView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QListView::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QListView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QListView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QListView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QListView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QListView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QListView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QListView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QListView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QListView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QListView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QListView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QListView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QListView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QListView::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QListView::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QListView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QListView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QListView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QListView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QListView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QListView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QListView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QListView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QListView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQListView::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  ::QListView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQListView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QListView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQListView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QListView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QListView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQListView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QListView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQListView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QListView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQListView::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  ::QListView::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQListView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QListView::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQListView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QListView::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QListView::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QListView::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QListView::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QListView::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QListView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::QListView::setModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QListView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QListView::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQListView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::QListView::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QListView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQListView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::QListView::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQListView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::QListView::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQListView::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  ::QListView::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QListView::reset();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QListView::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QListView::selectAll();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListView::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QListView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[62],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QListView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListView::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)
    {
         ::QListView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QListView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QListView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QListView::updateEditorData();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QListView::updateEditorGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QListView::updateGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQListView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QListView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QListView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QListView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QListView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QListView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QListView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QListView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQListView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::QListView::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

int sipQListView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::QListView::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQListView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::QListView::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQListView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::QListView::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQListView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::QListView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRegion sipQListView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QListView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQListView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QListView::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQListView::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QListView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_67(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QItemSelectionModel::SelectionFlags sipQListView::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QListView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQListView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QListView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStyleOptionViewItem sipQListView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::QListView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQListView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QListView::wheelEvent(a0) : wheelEvent(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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 230602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 230662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QListView_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &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_QListView, sipName_initStyleOption, doc_QListView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QListView_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_viewportMargins, doc_QListView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_contextMenuEvent, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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, "executeDelayedItemsLayout(self)");

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "setMovement(self, 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, "movement(self) -> 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, "setFlow(self, 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, "flow(self) -> 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, "setWrapping(self, 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, "isWrapping(self) -> 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, "setResizeMode(self, 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, "resizeMode(self) -> 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, "setLayoutMode(self, 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, "layoutMode(self) -> 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, "setSpacing(self, 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, "spacing(self) -> 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, "setGridSize(self, 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, "gridSize(self) -> 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, "setViewMode(self, 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, "viewMode(self) -> 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, "clearPropertyFlags(self)");

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, "isRowHidden(self, 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, "setRowHidden(self, 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, "setModelColumn(self, 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, "modelColumn(self) -> 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, "setUniformItemSizes(self, 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, "uniformItemSizes(self) -> 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, "visualRect(self, 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 || sipIsDerivedClass((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, "scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = 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 || sipIsDerivedClass((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, "indexAt(self, 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 || sipIsDerivedClass((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, "reset(self)");

extern "C" {static PyObject *meth_QListView_reset(PyObject *, PyObject *);}
static PyObject *meth_QListView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setRootIndex(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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_startDrag, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "rectForIndex(self, 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, "setPositionForIndex(self, 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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "setBatchSize(self, 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, "batchSize(self) -> 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, "setWordWrap(self, 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, "wordWrap(self) -> 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, "setSelectionRectVisible(self, 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, "isSelectionRectVisible(self) -> 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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QListView(void *, const sipTypeDef *);}
static void *cast_QListView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QListView *sipCpp = reinterpret_cast< ::QListView *>(sipCppV);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQListView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QListView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QListView_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QListView_viewportMargins, 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, SIP_MLDOC_CAST(doc_QListView_wheelEvent)},
    {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), 216},
    {sipName_Batched, static_cast<int>( ::QListView::Batched), 214},
    {sipName_Fixed, static_cast<int>( ::QListView::Fixed), 216},
    {sipName_Free, static_cast<int>( ::QListView::Free), 215},
    {sipName_IconMode, static_cast<int>( ::QListView::IconMode), 217},
    {sipName_LeftToRight, static_cast<int>( ::QListView::LeftToRight), 213},
    {sipName_ListMode, static_cast<int>( ::QListView::ListMode), 217},
    {sipName_SinglePass, static_cast<int>( ::QListView::SinglePass), 214},
    {sipName_Snap, static_cast<int>( ::QListView::Snap), 215},
    {sipName_Static, static_cast<int>( ::QListView::Static), 215},
    {sipName_TopToBottom, static_cast<int>( ::QListView::TopToBottom), 213},
};

PyDoc_STRVAR(doc_QListView, "\1QListView(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QListView[] = {
    {"indexesMoved(QModelIndexList)", "\1indexesMoved(self, object)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QListView = {
    & ::QListView::staticMetaObject,
    0,
    signals_QListView,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QListView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QListView,
        {0},
        &plugin_QListView
    },
    {
        sipNameNr_QListView,
        {0, 0, 1},
        124, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 234573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 234577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 234580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 234583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 234586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 234592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 234595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 234598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 234601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 234604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 234637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 234640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 234646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 234649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 234652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 234655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 234658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 234661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 234667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 234676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 234679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 234682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 234685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 234688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 234691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 234694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 234697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 234700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 234703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 234727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 234730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 234733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 234736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 234739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 234745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 234748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 234751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 234754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 234757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 234760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 234763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 234766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 234769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 234772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 234775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 234778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 234784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 234787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 234790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQLineEdit::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLineEdit);

    return  ::QLineEdit::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQLineEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QLineEdit::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQLineEdit::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QLineEdit::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQLineEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QLineEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQLineEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QLineEdit::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQLineEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QLineEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQLineEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QLineEdit::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQLineEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QLineEdit::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQLineEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QLineEdit::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QLineEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QLineEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QLineEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QLineEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QLineEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QLineEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QLineEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QLineEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QLineEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QLineEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QLineEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QLineEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QLineEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QLineEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QLineEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QLineEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QLineEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QLineEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QLineEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QLineEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QLineEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QLineEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QLineEdit::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QLineEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QLineEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLineEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QLineEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQLineEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QLineEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQLineEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QLineEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQLineEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QLineEdit::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLineEdit::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QLineEdit::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQLineEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QLineEdit::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQLineEdit::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QLineEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 236026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 236086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "text(self) -> 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, "displayText(self) -> 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, "maxLength(self) -> 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, "setMaxLength(self, 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, "setFrame(self, 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, "hasFrame(self) -> 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, "echoMode(self) -> 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, "setEchoMode(self, 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, "isReadOnly(self) -> 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, "setReadOnly(self, 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, "setValidator(self, 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, "validator(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "cursorPosition(self) -> 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, "setCursorPosition(self, 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, "cursorPositionAt(self, 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "alignment(self) -> 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, "cursorForward(self, bool, steps: int = 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, "cursorBackward(self, bool, steps: int = 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, "cursorWordForward(self, 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, "cursorWordBackward(self, 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, "backspace(self)");

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_, "del_(self)");

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, "home(self, 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, "end(self, 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, "isModified(self) -> 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, "setModified(self, 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, "setSelection(self, 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, "hasSelectedText(self) -> 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, "selectedText(self) -> 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, "selectionStart(self) -> 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, "isUndoAvailable(self) -> 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, "isRedoAvailable(self) -> 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, "setDragEnabled(self, 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, "dragEnabled(self) -> 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, "inputMask(self) -> 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, "setInputMask(self, 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, "hasAcceptableInput(self) -> 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, "setText(self, 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, "clear(self)");

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, "selectAll(self)");

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, "undo(self)");

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, "redo(self)");

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, "cut(self)");

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, "copy(self)");

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, "paste(self)");

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, "deselect(self)");

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, "insert(self, 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, "createStandardContextMenu(self) -> 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, "initStyleOption(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "cursorRect(self) -> 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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any\n"
    "inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any");

extern "C" {static PyObject *meth_QLineEdit_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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);
        }
    }

    {
         ::Qt::InputMethodQuery a0;
         ::QVariant* a1;
        int a1State = 0;
        const  ::QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QLineEdit, &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_QLineEdit, sipName_inputMethodQuery, doc_QLineEdit_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_event, "event(self, 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 || sipIsDerivedClass((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, "setCompleter(self, 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, "completer(self) -> 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, "setTextMargins(self, int, int, int, int)\n"
    "setTextMargins(self, 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, "getTextMargins(self) -> Tuple[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, "textMargins(self) -> 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, "placeholderText(self) -> 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, "setPlaceholderText(self, 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, "setCursorMoveStyle(self, 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, "cursorMoveStyle(self) -> 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, "setClearButtonEnabled(self, 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, "isClearButtonEnabled(self) -> 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, "addAction(self, QAction)\n"
    "addAction(self, QAction, QLineEdit.ActionPosition)\n"
    "addAction(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QLineEdit(void *, const sipTypeDef *);}
static void *cast_QLineEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::QLineEdit *sipCpp = reinterpret_cast< ::QLineEdit *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQLineEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLineEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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), 191},
    {sipName_NoEcho, static_cast<int>( ::QLineEdit::NoEcho), 192},
    {sipName_Normal, static_cast<int>( ::QLineEdit::Normal), 192},
    {sipName_Password, static_cast<int>( ::QLineEdit::Password), 192},
    {sipName_PasswordEchoOnEdit, static_cast<int>( ::QLineEdit::PasswordEchoOnEdit), 192},
    {sipName_TrailingPosition, static_cast<int>( ::QLineEdit::TrailingPosition), 191},
};

PyDoc_STRVAR(doc_QLineEdit, "\1QLineEdit(parent: QWidget = None)\n"
    "QLineEdit(str, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QLineEdit[] = {
    {"selectionChanged()", "\1selectionChanged(self)", 0, 0},
    {"editingFinished()", "\1editingFinished(self)", 0, 0},
    {"returnPressed()", "\1returnPressed(self)", 0, 0},
    {"cursorPositionChanged(int,int)", "\1cursorPositionChanged(self, int, int)", 0, 0},
    {"textEdited(QString)", "\1textEdited(self, str)", 0, 0},
    {"textChanged(QString)", "\1textChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QLineEdit = {
    & ::QLineEdit::staticMetaObject,
    0,
    signals_QLineEdit,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QLineEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLineEdit,
        {0},
        &plugin_QLineEdit
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlcdnumber.sip"
#include <qlcdnumber.h>
#line 239641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 239645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 239651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 239654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 239657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 239660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 239663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 239666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 239669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 239672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 239675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 239678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 239681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 239684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 239687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 239690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 239693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 239696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 239699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 239702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 239705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 239708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 239711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 239714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 239717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 239720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 239723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 239726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 239729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 239732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 239783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 239786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 239789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 239792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 239795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 239798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 239801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 239804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 239807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 239810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 239813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 239816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 239819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 239822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 239825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 239828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 239831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 239834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 239837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 239840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 239843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 239846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 239849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void sipProtect_initStyleOption( ::QStyleOptionFrame*) 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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQLCDNumber::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLCDNumber);

    return  ::QLCDNumber::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QLCDNumber::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQLCDNumber::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QLCDNumber::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLCDNumber::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QLCDNumber::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQLCDNumber::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QLCDNumber::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLCDNumber::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QLCDNumber::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQLCDNumber::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QLCDNumber::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQLCDNumber::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  ::QLCDNumber::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQLCDNumber::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QLCDNumber::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQLCDNumber::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QLCDNumber::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQLCDNumber::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QLCDNumber::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQLCDNumber::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QLCDNumber::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQLCDNumber::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QLCDNumber::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQLCDNumber::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QLCDNumber::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQLCDNumber::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QLCDNumber::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQLCDNumber::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QLCDNumber::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QLCDNumber::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QLCDNumber::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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);
}

void sipQLCDNumber::sipProtect_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 241091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 241151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QLCDNumber_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &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_QLCDNumber, sipName_initStyleOption, doc_QLCDNumber_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_smallDecimalPoint, "smallDecimalPoint(self) -> 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, "digitCount(self) -> 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, "setDigitCount(self, 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, "setNumDigits(self, 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.9-1.i686/build/py3/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 242564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "checkOverflow(self, float) -> bool\n"
    "checkOverflow(self, 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, "mode(self) -> 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, "setMode(self, 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, "segmentStyle(self) -> 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, "setSegmentStyle(self, 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, "value(self) -> 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, "intValue(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "display(self, str)\n"
    "display(self, float)\n"
    "display(self, 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, "setHexMode(self)");

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, "setDecMode(self)");

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, "setOctMode(self)");

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, "setBinMode(self)");

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, "setSmallDecimalPoint(self, 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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QLCDNumber(void *, const sipTypeDef *);}
static void *cast_QLCDNumber(void *sipCppV, const sipTypeDef *targetType)
{
     ::QLCDNumber *sipCpp = reinterpret_cast< ::QLCDNumber *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQLCDNumber *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLCDNumber(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{99, 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_initStyleOption), (PyCFunction)meth_QLCDNumber_initStyleOption, 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), 184},
    {sipName_Dec, static_cast<int>( ::QLCDNumber::Dec), 184},
    {sipName_Filled, static_cast<int>( ::QLCDNumber::Filled), 185},
    {sipName_Flat, static_cast<int>( ::QLCDNumber::Flat), 185},
    {sipName_Hex, static_cast<int>( ::QLCDNumber::Hex), 184},
    {sipName_Oct, static_cast<int>( ::QLCDNumber::Oct), 184},
    {sipName_Outline, static_cast<int>( ::QLCDNumber::Outline), 185},
};

PyDoc_STRVAR(doc_QLCDNumber, "\1QLCDNumber(parent: QWidget = None)\n"
    "QLCDNumber(int, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QLCDNumber[] = {
    {"overflow()", "\1overflow(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QLCDNumber = {
    & ::QLCDNumber::staticMetaObject,
    0,
    signals_QLCDNumber,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QLCDNumber = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLCDNumber,
        {0},
        &plugin_QLCDNumber
    },
    {
        sipNameNr_QLCDNumber,
        {0, 0, 1},
        66, 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
};

#line 94 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 243322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 243326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 243329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 243332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 243335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 243338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 243341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 243344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 243347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QSize sizeHint() const;
     ::QSize minimumSize() const;
     ::QSize maximumSize() const;
     ::Qt::Orientations expandingDirections() const;
    void setGeometry(const  ::QRect&);
     ::QRect geometry() const;
    bool isEmpty() const;
    bool hasHeightForWidth() const;
    int heightForWidth(int) const;
    int minimumHeightForWidth(int) const;
    void invalidate();
     ::QWidget* widget();
     ::QLayout* layout();
     ::QSpacerItem* spacerItem();
     ::QSizePolicy::ControlTypes controlTypes() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QSize sipQWidgetItem::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QWidgetItem::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQWidgetItem::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QWidgetItem::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQWidgetItem::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QWidgetItem::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::Qt::Orientations sipQWidgetItem::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QWidgetItem::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWidgetItem::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QWidgetItem::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQWidgetItem::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QWidgetItem::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWidgetItem::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QWidgetItem::isEmpty();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWidgetItem::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QWidgetItem::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQWidgetItem::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QWidgetItem::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWidgetItem::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QWidgetItem::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidgetItem::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QWidgetItem::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQWidgetItem::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QWidgetItem::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQWidgetItem::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QWidgetItem::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQWidgetItem::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QWidgetItem::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSizePolicy::ControlTypes sipQWidgetItem::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QWidgetItem::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QWidgetItem_sizeHint, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSize(self) -> 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 || sipIsDerivedClass((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, "maximumSize(self) -> 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 || sipIsDerivedClass((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, "expandingDirections(self) -> 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 || sipIsDerivedClass((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, "isEmpty(self) -> 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "geometry(self) -> 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 || sipIsDerivedClass((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, "widget(self) -> 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 || sipIsDerivedClass((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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "controlTypes(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QWidgetItem(void *, const sipTypeDef *);}
static void *cast_QWidgetItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QWidgetItem *sipCpp = reinterpret_cast< ::QWidgetItem *>(sipCppV);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWidgetItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{189, 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)");


static pyqt5ClassPluginDef plugin_QWidgetItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWidgetItem,
        {0},
        &plugin_QWidgetItem
    },
    {
        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
};

#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 244089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 244093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 244096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 244099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 244102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 244105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 244108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 244111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 244114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QSize sizeHint() const;
     ::QSize minimumSize() const;
     ::QSize maximumSize() const;
     ::Qt::Orientations expandingDirections() const;
    void setGeometry(const  ::QRect&);
     ::QRect geometry() const;
    bool isEmpty() const;
    bool hasHeightForWidth() const;
    int heightForWidth(int) const;
    int minimumHeightForWidth(int) const;
    void invalidate();
     ::QWidget* widget();
     ::QLayout* layout();
     ::QSpacerItem* spacerItem();
     ::QSizePolicy::ControlTypes controlTypes() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QSize sipQSpacerItem::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSpacerItem::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSpacerItem::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QSpacerItem::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSpacerItem::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QSpacerItem::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::Qt::Orientations sipQSpacerItem::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QSpacerItem::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSpacerItem::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QSpacerItem::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQSpacerItem::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QSpacerItem::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSpacerItem::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QSpacerItem::isEmpty();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSpacerItem::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QSpacerItem::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSpacerItem::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QSpacerItem::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSpacerItem::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QSpacerItem::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSpacerItem::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QSpacerItem::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQSpacerItem::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QSpacerItem::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQSpacerItem::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QSpacerItem::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQSpacerItem::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QSpacerItem::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSizePolicy::ControlTypes sipQSpacerItem::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QSpacerItem::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSpacerItem_changeSize, "changeSize(self, int, int, hPolicy: QSizePolicy.Policy = QSizePolicy.Minimum, vPolicy: QSizePolicy.Policy = 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSize(self) -> 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 || sipIsDerivedClass((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, "maximumSize(self) -> 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 || sipIsDerivedClass((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, "expandingDirections(self) -> 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 || sipIsDerivedClass((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, "isEmpty(self) -> 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "geometry(self) -> 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 || sipIsDerivedClass((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, "spacerItem(self) -> 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 || sipIsDerivedClass((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;
}


PyDoc_STRVAR(doc_QSpacerItem_sizePolicy, "sizePolicy(self) -> QSizePolicy");

extern "C" {static PyObject *meth_QSpacerItem_sizePolicy(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_sizePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &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_QSpacerItem, sipName_sizePolicy, doc_QSpacerItem_sizePolicy);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSpacerItem(void *, const sipTypeDef *);}
static void *cast_QSpacerItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSpacerItem *sipCpp = reinterpret_cast< ::QSpacerItem *>(sipCppV);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSpacerItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSpacerItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{189, 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_sizePolicy), meth_QSpacerItem_sizePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_sizePolicy)},
    {SIP_MLNAME_CAST(sipName_spacerItem), meth_QSpacerItem_spacerItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_spacerItem)}
};

PyDoc_STRVAR(doc_QSpacerItem, "\1QSpacerItem(int, int, hPolicy: QSizePolicy.Policy = QSizePolicy.Minimum, vPolicy: QSizePolicy.Policy = QSizePolicy.Minimum)\n"
    "QSpacerItem(QSpacerItem)");


static pyqt5ClassPluginDef plugin_QSpacerItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSpacerItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSpacerItem,
        {0},
        &plugin_QSpacerItem
    },
    {
        sipNameNr_QSpacerItem,
        {0, 0, 1},
        10, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 244863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 244867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 244870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 244873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 244876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 244879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 244882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 244885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 244888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QLayoutItem_sizeHint, "sizeHint(self) -> 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, "minimumSize(self) -> 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, "maximumSize(self) -> 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, "expandingDirections(self) -> 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, "setGeometry(self, 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, "geometry(self) -> 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, "isEmpty(self) -> 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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "minimumHeightForWidth(self, 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 || sipIsDerivedClass((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, "invalidate(self)");

extern "C" {static PyObject *meth_QLayoutItem_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "widget(self) -> 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 || sipIsDerivedClass((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, "layout(self) -> 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 || sipIsDerivedClass((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, "spacerItem(self) -> 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 || sipIsDerivedClass((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, "alignment(self) -> 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "controlTypes(self) -> 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 || sipIsDerivedClass((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;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQLayoutItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLayoutItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::Alignment();
         ::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(alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())\n"
    "QLayoutItem(QLayoutItem)");


static pyqt5ClassPluginDef plugin_QLayoutItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QLayoutItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLayoutItem,
        {0},
        &plugin_QLayoutItem
    },
    {
        sipNameNr_QLayoutItem,
        {0, 0, 1},
        17, methods_QLayoutItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLayoutItem,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlabel.sip"
#include <qlabel.h>
#line 245859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 245863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 245866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 245869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 245884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 245890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpicture.sip"
#include <qpicture.h>
#line 245893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qmovie.sip"
#include <qmovie.h>
#line 245896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 245899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 245902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 245905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 245908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 245911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 245914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 245917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 245920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 245923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 245926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 245929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 245932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 245935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 245938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 245941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 245944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 245947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 245950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 245953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 245956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 245959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 245962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 245965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 245968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 245971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 245974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 246001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 246004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 246007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 246010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 246013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 246016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 246019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 246022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 246025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 246028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 246031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 246034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 246037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 246040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 246043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 246046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 246049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 246052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 246055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 246058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 246061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 246064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 246067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 246070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 246073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 246076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 246079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void sipProtect_initStyleOption( ::QStyleOptionFrame*) const;
    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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQLabel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLabel);

    return  ::QLabel::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QLabel::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQLabel::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QLabel::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLabel::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QLabel::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQLabel::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QLabel::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLabel::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QLabel::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQLabel::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QLabel::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QLabel::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QLabel::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QLabel::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QLabel::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QLabel::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QLabel::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QLabel::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QLabel::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QLabel::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QLabel::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QLabel::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QLabel::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QLabel::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QLabel::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QLabel::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QLabel::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QLabel::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QLabel::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QLabel::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QLabel::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QLabel::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QLabel::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QLabel::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QLabel::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QLabel::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQLabel::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  ::QLabel::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQLabel::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QLabel::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQLabel::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QLabel::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQLabel::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QLabel::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQLabel::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QLabel::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQLabel::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QLabel::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQLabel::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QLabel::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQLabel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QLabel::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQLabel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QLabel::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQLabel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QLabel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QLabel::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QLabel::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QLabel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLabel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QLabel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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);
}

void sipQLabel::sipProtect_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 247321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 247381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QLabel_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &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_QLabel, sipName_initStyleOption, doc_QLabel_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_text, "text(self) -> 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, "pixmap(self) -> 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, "picture(self) -> 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, "movie(self) -> 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, "textFormat(self) -> 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, "setTextFormat(self, 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, "alignment(self) -> 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "setWordWrap(self, 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, "wordWrap(self) -> 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, "indent(self) -> 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, "setIndent(self, 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, "margin(self) -> 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, "setMargin(self, 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, "hasScaledContents(self) -> 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, "setScaledContents(self, 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "setBuddy(self, 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, "buddy(self) -> 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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "openExternalLinks(self) -> 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, "setTextInteractionFlags(self, Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])");

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, "textInteractionFlags(self) -> 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, "setOpenExternalLinks(self, 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, "clear(self)");

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, "setMovie(self, 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, "setNum(self, float)\n"
    "setNum(self, 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, "setPicture(self, 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, "setPixmap(self, 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, "setText(self, 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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "setSelection(self, 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, "hasSelectedText(self) -> 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, "selectedText(self) -> 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, "selectionStart(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QLabel(void *, const sipTypeDef *);}
static void *cast_QLabel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QLabel *sipCpp = reinterpret_cast< ::QLabel *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQLabel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLabel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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 = Qt::WindowFlags();
         ::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[] = {{99, 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_initStyleOption), (PyCFunction)meth_QLabel_initStyleOption, 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)}
};

PyDoc_STRVAR(doc_QLabel, "\1QLabel(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())\n"
    "QLabel(str, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QLabel[] = {
    {"linkHovered(QString)", "\1linkHovered(self, str)", 0, 0},
    {"linkActivated(QString)", "\1linkActivated(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QLabel = {
    & ::QLabel::staticMetaObject,
    0,
    signals_QLabel,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QLabel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLabel,
        {0},
        &plugin_QLabel
    },
    {
        sipNameNr_QLabel,
        {0, 0, 1},
        83, 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
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qkeysequenceedit.sip"
#include <qkeysequenceedit.h>
#line 250030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 250034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 250037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 250040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 250046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 250049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 250052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 250055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 250058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 250061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 250064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 250067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 250070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 250073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 250076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 250079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 250082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 250085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 250088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 250091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 250094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 250097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 250100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 250103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 250106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 250109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 250112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 250115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 250118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 250121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 250172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 250175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 250178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 250181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 250184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 250187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 250190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 250193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 250196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 250199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 250202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 250205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 250208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 250211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 250214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 250217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 250220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 250223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 250226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 250229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 250232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQKeySequenceEdit::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QKeySequenceEdit);

    return  ::QKeySequenceEdit::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQKeySequenceEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QKeySequenceEdit::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQKeySequenceEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QKeySequenceEdit::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQKeySequenceEdit::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QKeySequenceEdit::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQKeySequenceEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QKeySequenceEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQKeySequenceEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QKeySequenceEdit::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQKeySequenceEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQKeySequenceEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QKeySequenceEdit::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQKeySequenceEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QKeySequenceEdit::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQKeySequenceEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QKeySequenceEdit::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQKeySequenceEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QKeySequenceEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQKeySequenceEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QKeySequenceEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQKeySequenceEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QKeySequenceEdit::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQKeySequenceEdit::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QKeySequenceEdit::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQKeySequenceEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QKeySequenceEdit::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQKeySequenceEdit::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QKeySequenceEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 251462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 251522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keySequence(self) -> 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, "setKeySequence(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])");

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, "clear(self)");

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, "event(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QKeySequenceEdit(void *, const sipTypeDef *);}
static void *cast_QKeySequenceEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::QKeySequenceEdit *sipCpp = reinterpret_cast< ::QKeySequenceEdit *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQKeySequenceEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QKeySequenceEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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}
};

PyDoc_STRVAR(doc_QKeySequenceEdit, "\1QKeySequenceEdit(parent: QWidget = None)\n"
    "QKeySequenceEdit(Union[QKeySequence, QKeySequence.StandardKey, str, int], parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QKeySequenceEdit[] = {
    {"keySequenceChanged(QKeySequence)", "\1keySequenceChanged(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])", 0, 0},
    {"editingFinished()", "\1editingFinished(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QKeySequenceEdit = {
    & ::QKeySequenceEdit::staticMetaObject,
    0,
    signals_QKeySequenceEdit,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QKeySequenceEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QKeySequenceEdit,
        {0},
        &plugin_QKeySequenceEdit
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qkeyeventtransition.sip"
#include <qkeyeventtransition.h>
#line 253142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qstate.sip"
#include <qstate.h>
#line 253146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 253149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 253152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 253158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 253164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 253167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 253173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 253176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 253179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 253182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 253185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 253188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 253194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 253203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 253209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 253212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 253215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 onTransition( ::QEvent*);
    bool eventTest( ::QEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQKeyEventTransition::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QKeyEventTransition);

    return  ::QKeyEventTransition::metaObject();
}

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::onTransition( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_onTransition);

    if (!sipMeth)
    {
         ::QKeyEventTransition::onTransition(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQKeyEventTransition::eventTest( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventTest);

    if (!sipMeth)
        return  ::QKeyEventTransition::eventTest(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQKeyEventTransition::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QKeyEventTransition::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQKeyEventTransition::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QKeyEventTransition::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QKeyEventTransition::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QKeyEventTransition::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QKeyEventTransition::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QKeyEventTransition::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 253568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 253628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "key(self) -> 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, "setKey(self, 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, "modifierMask(self) -> 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, "setModifierMask(self, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier])");

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, "onTransition(self, 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 || sipIsDerivedClass((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, "eventTest(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QKeyEventTransition(void *, const sipTypeDef *);}
static void *cast_QKeyEventTransition(void *sipCppV, const sipTypeDef *targetType)
{
     ::QKeyEventTransition *sipCpp = reinterpret_cast< ::QKeyEventTransition *>(sipCppV);

    if (targetType == sipType_QEventTransition)
        return static_cast< ::QEventTransition *>(sipCpp);

    if (targetType == sipType_QAbstractTransition)
        return static_cast< ::QAbstractTransition *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQKeyEventTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QKeyEventTransition(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{14, 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(sourceState: QState = None)\n"
    "QKeyEventTransition(QObject, QEvent.Type, int, sourceState: QState = None)");


static pyqt5ClassPluginDef plugin_QKeyEventTransition = {
    & ::QKeyEventTransition::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QKeyEventTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QKeyEventTransition,
        {0},
        &plugin_QKeyEventTransition
    },
    {
        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
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 254238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 254242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 254245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 254248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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_174(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_174(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_173(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::QWidget*);

    return sipVH_QtWidgets_173(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}


PyDoc_STRVAR(doc_QItemEditorFactory_createEditor, "createEditor(self, 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 || sipIsDerivedClass((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, "valuePropertyName(self, 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 || sipIsDerivedClass((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, "registerEditor(self, 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, "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, "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;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQItemEditorFactory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QItemEditorFactory(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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)");


static pyqt5ClassPluginDef plugin_QItemEditorFactory = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QItemEditorFactory = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QItemEditorFactory,
        {0},
        &plugin_QItemEditorFactory
    },
    {
        sipNameNr_QItemEditorFactory,
        {0, 0, 1},
        5, methods_QItemEditorFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemEditorFactory,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 254621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 254625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 254628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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();

    extern  ::QByteArray sipVH_QtWidgets_172(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_172(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_171(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_171(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QItemEditorCreatorBase_createWidget, "createWidget(self, 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, "valuePropertyName(self) -> 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;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQItemEditorCreatorBase *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QItemEditorCreatorBase(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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)");


static pyqt5ClassPluginDef plugin_QItemEditorCreatorBase = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QItemEditorCreatorBase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QItemEditorCreatorBase,
        {0},
        &plugin_QItemEditorCreatorBase
    },
    {
        sipNameNr_QItemEditorCreatorBase,
        {0, 0, 1},
        2, methods_QItemEditorCreatorBase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemEditorCreatorBase,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qitemdelegate.sip"
#include <qitemdelegate.h>
#line 254900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 254904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 254907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 254910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 254913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 254916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 254919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 254922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 254925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 254928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 254931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 254934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 254937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 254940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 254943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 618 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 254946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 254949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 254952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 254955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 254958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 254961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 254964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 254967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 254970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 254973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 254976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 254979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 254982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 254985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void paint( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QSize sizeHint(const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QWidget* createEditor( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void setEditorData( ::QWidget*,const  ::QModelIndex&) const;
    void setModelData( ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&) const;
    void updateEditorGeometry( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void destroyEditor( ::QWidget*,const  ::QModelIndex&) const;
    bool editorEvent( ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);
    bool helpEvent( ::QHelpEvent*, ::QAbstractItemView*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQItemDelegate::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QItemDelegate);

    return  ::QItemDelegate::metaObject();
}

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::drawFocus( ::QPainter*a0,const  ::QStyleOptionViewItem& a1,const  ::QRect& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_drawFocus);

    if (!sipMeth)
    {
         ::QItemDelegate::drawFocus(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_170(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QRect&);

    sipVH_QtWidgets_170(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1]),sipPySelf,NULL,sipName_drawDisplay);

    if (!sipMeth)
    {
         ::QItemDelegate::drawDisplay(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_169(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QRect&,const  ::QString&);

    sipVH_QtWidgets_169(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,NULL,sipName_drawDecoration);

    if (!sipMeth)
    {
         ::QItemDelegate::drawDecoration(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_168(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QRect&,const  ::QPixmap&);

    sipVH_QtWidgets_168(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[3]),sipPySelf,NULL,sipName_drawCheck);

    if (!sipMeth)
    {
         ::QItemDelegate::drawCheck(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_167(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QRect&, ::Qt::CheckState);

    sipVH_QtWidgets_167(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQItemDelegate::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QItemDelegate::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QItemDelegate::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QItemDelegate::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QItemDelegate::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QItemDelegate::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQItemDelegate::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QItemDelegate::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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[11]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QItemDelegate::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QItemDelegate::sizeHint(a0,a1);

    extern  ::QSize sipVH_QtWidgets_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_39(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[13]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return  ::QItemDelegate::createEditor(a0,a1,a2);

    extern  ::QWidget* sipVH_QtWidgets_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_40(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[14]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
         ::QItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_QtWidgets_41(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&);

    sipVH_QtWidgets_42(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

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[16]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
         ::QItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_43(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQItemDelegate::destroyEditor( ::QWidget*a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_destroyEditor);

    if (!sipMeth)
    {
         ::QItemDelegate::destroyEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_QtWidgets_41(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[18],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return  ::QItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_44(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQItemDelegate::helpEvent( ::QHelpEvent*a0, ::QAbstractItemView*a1,const  ::QStyleOptionViewItem& a2,const  ::QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
        return  ::QItemDelegate::helpEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHelpEvent*, ::QAbstractItemView*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_45(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 255556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 255616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "paint(self, 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 || sipIsDerivedClass((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, "sizeHint(self, 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 || sipIsDerivedClass((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, "createEditor(self, 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 || sipIsDerivedClass((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, "setEditorData(self, 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 || sipIsDerivedClass((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, "setModelData(self, 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 || sipIsDerivedClass((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, "updateEditorGeometry(self, 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 || sipIsDerivedClass((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, "itemEditorFactory(self) -> 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, "setItemEditorFactory(self, 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, "hasClipping(self) -> 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, "setClipping(self, 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, "drawBackground(self, 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, "drawCheck(self, 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 || sipIsDerivedClass((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, "drawDecoration(self, 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 || sipIsDerivedClass((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, "drawDisplay(self, 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 || sipIsDerivedClass((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, "drawFocus(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "editorEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QItemDelegate(void *, const sipTypeDef *);}
static void *cast_QItemDelegate(void *sipCppV, const sipTypeDef *targetType)
{
     ::QItemDelegate *sipCpp = reinterpret_cast< ::QItemDelegate *>(sipCppV);

    if (targetType == sipType_QAbstractItemDelegate)
        return static_cast< ::QAbstractItemDelegate *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QItemDelegate(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QItemDelegate = {
    & ::QItemDelegate::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QItemDelegate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QItemDelegate,
        {0},
        &plugin_QItemDelegate
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 256531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 256535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QInputDialog_InputDialogOptions___hash__(PyObject *);}
static long slot_QInputDialog_InputDialogOptions___hash__(PyObject *sipSelf)
{
     ::QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast< ::QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QInputDialog::InputDialogOptions::Int();
#line 256553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QInputDialog::InputDialogOptions::Int() != 0);
#line 256578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QInputDialog::InputDialogOptions::Int() != a0->operator QInputDialog::InputDialogOptions::Int());
#line 256608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QInputDialog::InputDialogOptions::Int() == a0->operator QInputDialog::InputDialogOptions::Int());
#line 256644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QInputDialog::InputDialogOptions(*sipCpp ^ a0);
#line 256683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QInputDialog::InputDialogOptions(*sipCpp | a0);
#line 256755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QInputDialog::InputDialogOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QInputDialog::InputDialogOptions(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 257023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QInputDialog_InputDialogOptions[] = {
    {(void *)slot_QInputDialog_InputDialogOptions___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___xor__, xor_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___ior__, ior_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___or__, or_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___iand__, iand_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___and__, and_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___invert__, invert_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QInputDialog_InputDialogOptions, "\1QInputDialog.InputDialogOptions()\n"
    "QInputDialog.InputDialogOptions(Union[QInputDialog.InputDialogOptions, QInputDialog.InputDialogOption])\n"
    "QInputDialog.InputDialogOptions(QInputDialog.InputDialogOptions)");


static pyqt5ClassPluginDef plugin_QInputDialog_InputDialogOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QInputDialog_InputDialogOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QInputDialog__InputDialogOptions,
        {0},
        &plugin_QInputDialog_InputDialogOptions
    },
    {
        sipNameNr_InputDialogOptions,
        {174, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QInputDialog_InputDialogOptions,
    -1,
    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,
    0,
    convertTo_QInputDialog_InputDialogOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 257109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 257113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 257116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 257119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 257122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 257125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 257128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 257131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 257134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 257137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 257140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 257158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 257161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 257164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 257167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 257170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 257173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 257176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 257179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 257182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 257185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 257188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 257191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 257194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 257197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 257200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 257203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 257206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 257209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 257212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 257215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 257218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 257260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 257263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 257266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 257269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 257272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 257275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 257278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 257281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 257284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 257287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 257290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 257293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 257296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 257299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 257302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 257305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 257308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 257311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 257314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 257317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 257320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQInputDialog(const sipQInputDialog &);
    sipQInputDialog &operator = (const sipQInputDialog &);

    char sipPyMethods[52];
};

sipQInputDialog::sipQInputDialog( ::QWidget*a0, ::Qt::WindowFlags a1):  ::QInputDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQInputDialog::~sipQInputDialog()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQInputDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QInputDialog);

    return  ::QInputDialog::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QInputDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQInputDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QInputDialog::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQInputDialog::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QInputDialog::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQInputDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QInputDialog::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQInputDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QInputDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQInputDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QInputDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QInputDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QInputDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QInputDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QInputDialog::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QInputDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QInputDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QInputDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QInputDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QInputDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QInputDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QInputDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QInputDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QInputDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QInputDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QInputDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QInputDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QInputDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QInputDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QInputDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QInputDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QInputDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QInputDialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QInputDialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QInputDialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QInputDialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QInputDialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQInputDialog::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  ::QInputDialog::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQInputDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QInputDialog::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQInputDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QInputDialog::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQInputDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QInputDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQInputDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QInputDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQInputDialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QInputDialog::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQInputDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QInputDialog::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQInputDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QInputDialog::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQInputDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QInputDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QInputDialog::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QInputDialog::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QInputDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QInputDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQInputDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QInputDialog::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQInputDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QInputDialog::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQInputDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QInputDialog::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQInputDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QInputDialog::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 258642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 258702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "getText(QWidget, str, str, echo: QLineEdit.EchoMode = QLineEdit.Normal, text: str = '', flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags(), inputMethodHints: Union[Qt.InputMethodHints, Qt.InputMethodHint] = Qt.ImhNone) -> Tuple[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 = Qt::WindowFlags();
         ::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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::QInputDialog::getText(a0,*a1,*a2,a3,*a4,&a5,*a6,*a7));
            Py_END_ALLOW_THREADS
            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, "getInt(QWidget, str, str, value: int = 0, min: int = -2147483647, max: int = 2147483647, step: int = 1, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags()) -> Tuple[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 = Qt::WindowFlags();
         ::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;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QInputDialog::getInt(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,"(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, "getDouble(QWidget, str, str, value: float = 0, min: float = -2147483647, max: float = 2147483647, decimals: int = 1, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags()) -> Tuple[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 = Qt::WindowFlags();
         ::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, "getItem(QWidget, str, str, Iterable[str], current: int = 0, editable: bool = True, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags(), inputMethodHints: Union[Qt.InputMethodHints, Qt.InputMethodHint] = Qt.ImhNone) -> Tuple[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 = Qt::WindowFlags();
         ::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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::QInputDialog::getItem(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(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, "getMultiLineText(QWidget, str, str, text: str = '', flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags(), inputMethodHints: Union[Qt.InputMethodHints, Qt.InputMethodHint] = Qt.ImhNone) -> Tuple[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 = Qt::WindowFlags();
         ::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;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::QInputDialog::getMultiLineText(a0,*a1,*a2,*a3,&a4,*a5,*a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(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, "setInputMode(self, 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, "inputMode(self) -> 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, "setLabelText(self, 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, "labelText(self) -> 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, "setOption(self, QInputDialog.InputDialogOption, on: bool = 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, "testOption(self, 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, "setOptions(self, Union[QInputDialog.InputDialogOptions, QInputDialog.InputDialogOption])");

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, "options(self) -> 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, "setTextValue(self, 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, "textValue(self) -> 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, "setTextEchoMode(self, 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, "textEchoMode(self) -> 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, "setComboBoxEditable(self, 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, "isComboBoxEditable(self) -> 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, "setComboBoxItems(self, Iterable[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, "comboBoxItems(self) -> List[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, "setIntValue(self, 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, "intValue(self) -> 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, "setIntMinimum(self, 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, "intMinimum(self) -> 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, "setIntMaximum(self, 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, "intMaximum(self) -> 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, "setIntRange(self, 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, "setIntStep(self, 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, "intStep(self) -> 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, "setDoubleValue(self, 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, "doubleValue(self) -> 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, "setDoubleMinimum(self, 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, "doubleMinimum(self) -> 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, "setDoubleMaximum(self, 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, "doubleMaximum(self) -> 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, "setDoubleRange(self, 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, "setDoubleDecimals(self, 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, "doubleDecimals(self) -> 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, "setOkButtonText(self, 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, "okButtonText(self) -> 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, "setCancelButtonText(self, 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, "cancelButtonText(self) -> 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, "open(self)\n"
    "open(self, PYQT_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 || sipIsDerivedClass((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 98 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 261470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "setVisible(self, 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 || sipIsDerivedClass((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, "done(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QInputDialog(void *, const sipTypeDef *);}
static void *cast_QInputDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::QInputDialog *sipCpp = reinterpret_cast< ::QInputDialog *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQInputDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QInputDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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), 177},
    {sipName_IntInput, static_cast<int>( ::QInputDialog::IntInput), 177},
    {sipName_NoButtons, static_cast<int>( ::QInputDialog::NoButtons), 175},
    {sipName_TextInput, static_cast<int>( ::QInputDialog::TextInput), 177},
    {sipName_UseListViewForComboBoxItems, static_cast<int>( ::QInputDialog::UseListViewForComboBoxItems), 175},
    {sipName_UsePlainTextEditForTextInput, static_cast<int>( ::QInputDialog::UsePlainTextEditForTextInput), 175},
};

PyDoc_STRVAR(doc_QInputDialog, "\1QInputDialog(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QInputDialog[] = {
    {"doubleValueSelected(double)", "\1doubleValueSelected(self, float)", 0, 0},
    {"doubleValueChanged(double)", "\1doubleValueChanged(self, float)", 0, 0},
    {"intValueSelected(int)", "\1intValueSelected(self, int)", 0, 0},
    {"intValueChanged(int)", "\1intValueChanged(self, int)", 0, 0},
    {"textValueSelected(QString)", "\1textValueSelected(self, str)", 0, 0},
    {"textValueChanged(QString)", "\1textValueChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QInputDialog = {
    & ::QInputDialog::staticMetaObject,
    0,
    signals_QInputDialog,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QInputDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QInputDialog,
        {0},
        &plugin_QInputDialog
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 261873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 261877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 261880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 261883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 261886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 261889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 261892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 261895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 261898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 261901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 261904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 261907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 261910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 261913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 261916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 261919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 261922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 261931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 261934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 261940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 261943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 261946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 261967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 261970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 261973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 261976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 261979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 261982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 261985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 261988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 261991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 261994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 261997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 262006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 262009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 262012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 262015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 262018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 262021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 262024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 262027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 262030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 262033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 262036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 262039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 262042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 262045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 262048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 262051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 262054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 262072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 262075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 262078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 262081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 262084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 262087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 262090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 262093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 262096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 262099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 262102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 262105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 262108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 262111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 262114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 262117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 262120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 262123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 262126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 262129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 262132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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&);
     ::QMargins sipProtect_viewportMargins() const;
    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:
     ::QSize sectionSizeFromContents(int) const;
    void paintSection( ::QPainter*,const  ::QRect&,int) const;
    void setupViewport( ::QWidget*);
    void scrollContentsBy(int,int);
    bool viewportEvent( ::QEvent*);
     ::QSize viewportSizeHint() const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void setModel( ::QAbstractItemModel*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQHeaderView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QHeaderView);

    return  ::QHeaderView::metaObject();
}

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));
}

 ::QSize sipQHeaderView::sectionSizeFromContents(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sectionSizeFromContents);

    if (!sipMeth)
        return  ::QHeaderView::sectionSizeFromContents(a0);

    extern  ::QSize sipVH_QtWidgets_166(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_166(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1]),sipPySelf,NULL,sipName_paintSection);

    if (!sipMeth)
    {
         ::QHeaderView::paintSection(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_165(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int);

    sipVH_QtWidgets_165(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QHeaderView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QHeaderView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQHeaderView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QHeaderView::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQHeaderView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QHeaderView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHeaderView::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QHeaderView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQHeaderView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QHeaderView::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQHeaderView::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  ::QHeaderView::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQHeaderView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QHeaderView::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQHeaderView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QHeaderView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQHeaderView::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  ::QHeaderView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QHeaderView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QHeaderView::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QHeaderView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QHeaderView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QHeaderView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QHeaderView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QHeaderView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QHeaderView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QHeaderView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QHeaderView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QHeaderView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QHeaderView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QHeaderView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QHeaderView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QHeaderView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QHeaderView::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QHeaderView::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QHeaderView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QHeaderView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QHeaderView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QHeaderView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QHeaderView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QHeaderView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QHeaderView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QHeaderView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QHeaderView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQHeaderView::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  ::QHeaderView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQHeaderView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QHeaderView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQHeaderView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QHeaderView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHeaderView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QHeaderView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQHeaderView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QHeaderView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQHeaderView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QHeaderView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQHeaderView::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QHeaderView::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQHeaderView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QHeaderView::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQHeaderView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QHeaderView::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QHeaderView::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QHeaderView::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QHeaderView::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QHeaderView::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QHeaderView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::QHeaderView::setModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QHeaderView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QHeaderView::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQHeaderView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::QHeaderView::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QHeaderView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQHeaderView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::QHeaderView::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQHeaderView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::QHeaderView::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQHeaderView::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  ::QHeaderView::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QHeaderView::reset();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHeaderView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QHeaderView::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QHeaderView::selectAll();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHeaderView::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QHeaderView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::rowsInserted(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QHeaderView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QHeaderView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QHeaderView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QHeaderView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QHeaderView::updateEditorData();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHeaderView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QHeaderView::updateEditorGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHeaderView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QHeaderView::updateGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHeaderView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QHeaderView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QHeaderView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QHeaderView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QHeaderView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QHeaderView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QHeaderView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QHeaderView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQHeaderView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::QHeaderView::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

int sipQHeaderView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::QHeaderView::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQHeaderView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::QHeaderView::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQHeaderView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::QHeaderView::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHeaderView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::QHeaderView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRegion sipQHeaderView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QHeaderView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQHeaderView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QHeaderView::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQHeaderView::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QHeaderView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_67(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QItemSelectionModel::SelectionFlags sipQHeaderView::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QHeaderView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QHeaderView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStyleOptionViewItem sipQHeaderView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[88]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::QHeaderView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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);
}

 ::QMargins sipQHeaderView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 264488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 264548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QHeaderView_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_viewportMargins, doc_QHeaderView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_wheelEvent, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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, "executeDelayedItemsLayout(self)");

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "setModel(self, 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 || sipIsDerivedClass((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, "orientation(self) -> 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, "offset(self) -> 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, "length(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "sectionSizeHint(self, 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, "visualIndexAt(self, 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, "logicalIndexAt(self, int) -> int\n"
    "logicalIndexAt(self, int, int) -> int\n"
    "logicalIndexAt(self, 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, "sectionSize(self, 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, "sectionPosition(self, 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, "sectionViewportPosition(self, 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, "moveSection(self, 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, "resizeSection(self, 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, "isSectionHidden(self, 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, "setSectionHidden(self, 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, "count(self) -> 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, "visualIndex(self, 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, "logicalIndex(self, 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, "setHighlightSections(self, 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, "highlightSections(self) -> 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, "stretchSectionCount(self) -> 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, "setSortIndicatorShown(self, 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, "isSortIndicatorShown(self) -> 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, "setSortIndicator(self, 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, "sortIndicatorSection(self) -> 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, "sortIndicatorOrder(self) -> 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, "stretchLastSection(self) -> 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, "setStretchLastSection(self, 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, "sectionsMoved(self) -> 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, "setOffset(self, 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, "headerDataChanged(self, 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, "setOffsetToSectionPosition(self, 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, "updateSection(self, 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, "resizeSections(self)\n"
    "resizeSections(self, 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, "sectionsInserted(self, 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, "sectionsAboutToBeRemoved(self, 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, "initialize(self)");

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, "initializeSections(self)\n"
    "initializeSections(self, 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, "currentChanged(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "paintSection(self, 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 || sipIsDerivedClass((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, "sectionSizeFromContents(self, 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "visualRect(self, 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 || sipIsDerivedClass((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, "scrollTo(self, 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 || sipIsDerivedClass((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, "indexAt(self, 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 || sipIsDerivedClass((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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "hideSection(self, 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, "showSection(self, 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, "hiddenSectionCount(self) -> 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, "defaultSectionSize(self) -> 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, "setDefaultSectionSize(self, 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, "defaultAlignment(self) -> 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, "setDefaultAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "sectionsHidden(self) -> 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, "swapSections(self, 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, "cascadingSectionResizes(self) -> 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, "setCascadingSectionResizes(self, 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, "minimumSectionSize(self) -> 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, "setMinimumSectionSize(self, 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, "saveState(self) -> 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, "restoreState(self, Union[QByteArray, bytes, bytearray]) -> 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, "reset(self)");

extern "C" {static PyObject *meth_QHeaderView_reset(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setOffsetToLastSection(self)");

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, "initStyleOption(self, 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, "setSectionsMovable(self, 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, "sectionsMovable(self) -> 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, "setSectionsClickable(self, 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, "sectionsClickable(self) -> 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, "sectionResizeMode(self, 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, "setSectionResizeMode(self, int, QHeaderView.ResizeMode)\n"
    "setSectionResizeMode(self, 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, "setVisible(self, 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 || sipIsDerivedClass((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, "setResizeContentsPrecision(self, 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, "resizeContentsPrecision(self) -> 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, "maximumSectionSize(self) -> 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, "setMaximumSectionSize(self, 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;
}


PyDoc_STRVAR(doc_QHeaderView_resetDefaultSectionSize, "resetDefaultSectionSize(self)");

extern "C" {static PyObject *meth_QHeaderView_resetDefaultSectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_resetDefaultSectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->resetDefaultSectionSize();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_resetDefaultSectionSize, doc_QHeaderView_resetDefaultSectionSize);

    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 269290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QHeaderView(void *, const sipTypeDef *);}
static void *cast_QHeaderView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QHeaderView *sipCpp = reinterpret_cast< ::QHeaderView *>(sipCppV);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQHeaderView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QHeaderView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_resetDefaultSectionSize), meth_QHeaderView_resetDefaultSectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_resetDefaultSectionSize)},
    {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_viewportMargins), (PyCFunction)meth_QHeaderView_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {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), 173},
    {sipName_Fixed, static_cast<int>( ::QHeaderView::Fixed), 173},
    {sipName_Interactive, static_cast<int>( ::QHeaderView::Interactive), 173},
    {sipName_ResizeToContents, static_cast<int>( ::QHeaderView::ResizeToContents), 173},
    {sipName_Stretch, static_cast<int>( ::QHeaderView::Stretch), 173},
};

PyDoc_STRVAR(doc_QHeaderView, "\1QHeaderView(Qt.Orientation, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QHeaderView[] = {
    {"sortIndicatorChanged(int,Qt::SortOrder)", "\1sortIndicatorChanged(self, int, Qt.SortOrder)", 0, 0},
    {"sectionEntered(int)", "\1sectionEntered(self, int)", 0, 0},
    {"sectionHandleDoubleClicked(int)", "\1sectionHandleDoubleClicked(self, int)", 0, 0},
    {"sectionCountChanged(int,int)", "\1sectionCountChanged(self, int, int)", 0, 0},
    {"sectionDoubleClicked(int)", "\1sectionDoubleClicked(self, int)", 0, 0},
    {"sectionClicked(int)", "\1sectionClicked(self, int)", 0, 0},
    {"sectionPressed(int)", "\1sectionPressed(self, int)", 0, 0},
    {"sectionResized(int,int,int)", "\1sectionResized(self, int, int, int)", 0, 0},
    {"sectionMoved(int,int,int)", "\1sectionMoved(self, int, int, int)", 0, 0},
    {"geometriesChanged()", "\1geometriesChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QHeaderView = {
    & ::QHeaderView::staticMetaObject,
    0,
    signals_QHeaderView,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QHeaderView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QHeaderView,
        {0},
        &plugin_QHeaderView
    },
    {
        sipNameNr_QHeaderView,
        {0, 0, 1},
        160, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgroupbox.sip"
#include <qgroupbox.h>
#line 269643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 269647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 269650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 269656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 269668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 269671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 269674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 269683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 269686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 269689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 269692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 269698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 269701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 269707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 269713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 269716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 269719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 269722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 269725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 269728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 269731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 269734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 269737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 269740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 269743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 269746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 269788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 269791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 269794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 269797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 269800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 269803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 269809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 269812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 269815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 269818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 269821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 269824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 269827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 269830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 269833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 269836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 269839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 269842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 269845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 269848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 269851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGroupBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGroupBox);

    return  ::QGroupBox::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGroupBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGroupBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGroupBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGroupBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGroupBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGroupBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGroupBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QGroupBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQGroupBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QGroupBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQGroupBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QGroupBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGroupBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QGroupBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQGroupBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGroupBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQGroupBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QGroupBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQGroupBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QGroupBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGroupBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGroupBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGroupBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGroupBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGroupBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGroupBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGroupBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGroupBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGroupBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QGroupBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QGroupBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QGroupBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QGroupBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QGroupBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGroupBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QGroupBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QGroupBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGroupBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGroupBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGroupBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGroupBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QGroupBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QGroupBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QGroupBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGroupBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGroupBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGroupBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGroupBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGroupBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QGroupBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGroupBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QGroupBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGroupBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QGroupBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQGroupBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QGroupBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGroupBox::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QGroupBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 271087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 271147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "title(self) -> 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, "setTitle(self, 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, "alignment(self) -> 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, "setAlignment(self, 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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "isFlat(self) -> 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, "setFlat(self, 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, "isCheckable(self) -> 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, "setCheckable(self, 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, "isChecked(self) -> 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, "setChecked(self, 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, "initStyleOption(self, 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, "event(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGroupBox(void *, const sipTypeDef *);}
static void *cast_QGroupBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGroupBox *sipCpp = reinterpret_cast< ::QGroupBox *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGroupBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGroupBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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}
};

PyDoc_STRVAR(doc_QGroupBox, "\1QGroupBox(parent: QWidget = None)\n"
    "QGroupBox(str, parent: QWidget = None)");


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)", "\1toggled(self, bool)", 0, 0},
    {"clicked(bool)", "\1clicked(self, bool = False)", 0, emit_QGroupBox_clicked},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGroupBox = {
    & ::QGroupBox::staticMetaObject,
    0,
    signals_QGroupBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGroupBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGroupBox,
        {0},
        &plugin_QGroupBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgridlayout.sip"
#include <qgridlayout.h>
#line 273057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 273061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 273064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 273067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 273070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 273073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 273076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 273079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 273082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 273085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 273088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 273091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 273094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 273097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 273100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 273103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 273106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 273109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 273112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 273115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 273118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 273121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 273124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 273127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 273130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 273133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 273136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::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;
    void addItem( ::QLayoutItem*);
     ::QLayoutItem* itemAt(int) const;
     ::QLayoutItem* takeAt(int);
    int indexOf( ::QWidget*) const;
    int count() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGridLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGridLayout);

    return  ::QGridLayout::metaObject();
}

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));
}

void sipQGridLayout::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGridLayout::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGridLayout::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGridLayout::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGridLayout::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGridLayout::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGridLayout::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGridLayout::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGridLayout::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGridLayout::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGridLayout::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGridLayout::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGridLayout::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGridLayout::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSizePolicy::ControlTypes sipQGridLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QGridLayout::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQGridLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QGridLayout::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQGridLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QGridLayout::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQGridLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QGridLayout::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGridLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QGridLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQGridLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QGridLayout::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGridLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QGridLayout::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGridLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QGridLayout::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGridLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QGridLayout::isEmpty();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRect sipQGridLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QGridLayout::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGridLayout::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QGridLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::Orientations sipQGridLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QGridLayout::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQGridLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QGridLayout::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQGridLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QGridLayout::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQGridLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGridLayout::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGridLayout::addItem( ::QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
         ::QGridLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLayoutItem*);

    sipVH_QtWidgets_82(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQGridLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return  ::QGridLayout::itemAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQGridLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return  ::QGridLayout::takeAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGridLayout::indexOf( ::QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return  ::QGridLayout::indexOf(a0);

    extern int sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_85(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGridLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return  ::QGridLayout::count();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 273795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 273855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "widgetEvent(self, 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, "childEvent(self, 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 || sipIsDerivedClass((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, "addChildLayout(self, 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, "addChildWidget(self, 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.9-1.i686/build/py3/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 274175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "alignmentRect(self, 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSize(self) -> 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 || sipIsDerivedClass((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, "maximumSize(self) -> 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 || sipIsDerivedClass((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, "setRowStretch(self, 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, "setColumnStretch(self, 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, "rowStretch(self, 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, "columnStretch(self, 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, "setRowMinimumHeight(self, 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, "setColumnMinimumWidth(self, 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, "rowMinimumHeight(self, 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, "columnMinimumWidth(self, 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, "columnCount(self) -> 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, "rowCount(self) -> 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, "cellRect(self, 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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "minimumHeightForWidth(self, 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 || sipIsDerivedClass((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, "expandingDirections(self) -> 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 || sipIsDerivedClass((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, "invalidate(self)");

extern "C" {static PyObject *meth_QGridLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "addWidget(self, QWidget)\n"
    "addWidget(self, QWidget, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = 0)\n"
    "addWidget(self, QWidget, int, int, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = 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.9-1.i686/build/py3/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 274809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/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 274856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.9-1.i686/build/py3/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 274908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "addLayout(self, QLayout, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())\n"
    "addLayout(self, QLayout, int, int, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())");

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 = Qt::Alignment();
         ::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 = Qt::Alignment();
         ::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, "setOriginCorner(self, 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, "originCorner(self) -> 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, "itemAt(self, 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 || sipIsDerivedClass((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, "takeAt(self, 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 || sipIsDerivedClass((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, "count(self) -> 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "addItem(self, QLayoutItem, int, int, rowSpan: int = 1, columnSpan: int = 1, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())\n"
    "addItem(self, 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 || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QLayoutItem* a0;
        int a1;
        int a2;
        int a3 = 1;
        int a4 = 1;
         ::Qt::Alignment a5def = Qt::Alignment();
         ::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, "setDefaultPositioning(self, 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, "getItemPosition(self, int) -> Tuple[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, "setHorizontalSpacing(self, 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, "horizontalSpacing(self) -> 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, "setVerticalSpacing(self, 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, "verticalSpacing(self) -> 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, "setSpacing(self, 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, "spacing(self) -> 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, "itemAtPosition(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QGridLayout(void *, const sipTypeDef *);}
static void *cast_QGridLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGridLayout *sipCpp = reinterpret_cast< ::QGridLayout *>(sipCppV);

    if (targetType == sipType_QLayout)
        return static_cast< ::QLayout *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGridLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGridLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{187, 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()");


static pyqt5ClassPluginDef plugin_QGridLayout = {
    & ::QGridLayout::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGridLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGridLayout,
        {0},
        &plugin_QGridLayout
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 275688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 275692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QGraphicsView_OptimizationFlags___hash__(PyObject *);}
static long slot_QGraphicsView_OptimizationFlags___hash__(PyObject *sipSelf)
{
     ::QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast< ::QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QGraphicsView::OptimizationFlags::Int();
#line 275710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::OptimizationFlags::Int() != 0);
#line 275735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::OptimizationFlags::Int() != a0->operator QGraphicsView::OptimizationFlags::Int());
#line 275765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::OptimizationFlags::Int() == a0->operator QGraphicsView::OptimizationFlags::Int());
#line 275801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsView::OptimizationFlags(*sipCpp ^ a0);
#line 275840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsView::OptimizationFlags(*sipCpp | a0);
#line 275912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QGraphicsView::OptimizationFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QGraphicsView::OptimizationFlags(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 276180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsView_OptimizationFlags[] = {
    {(void *)slot_QGraphicsView_OptimizationFlags___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___xor__, xor_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___ior__, ior_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___or__, or_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___iand__, iand_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___and__, and_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___invert__, invert_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsView_OptimizationFlags, "\1QGraphicsView.OptimizationFlags()\n"
    "QGraphicsView.OptimizationFlags(Union[QGraphicsView.OptimizationFlags, QGraphicsView.OptimizationFlag])\n"
    "QGraphicsView.OptimizationFlags(QGraphicsView.OptimizationFlags)");


static pyqt5ClassPluginDef plugin_QGraphicsView_OptimizationFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsView_OptimizationFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsView__OptimizationFlags,
        {0},
        &plugin_QGraphicsView_OptimizationFlags
    },
    {
        sipNameNr_OptimizationFlags,
        {160, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsView_OptimizationFlags,
    -1,
    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,
    0,
    convertTo_QGraphicsView_OptimizationFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 276266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 276270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QGraphicsView_CacheMode___hash__(PyObject *);}
static long slot_QGraphicsView_CacheMode___hash__(PyObject *sipSelf)
{
     ::QGraphicsView::CacheMode *sipCpp = reinterpret_cast< ::QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QGraphicsView::CacheMode::Int();
#line 276288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::CacheMode::Int() != 0);
#line 276313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::CacheMode::Int() != a0->operator QGraphicsView::CacheMode::Int());
#line 276343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::CacheMode::Int() == a0->operator QGraphicsView::CacheMode::Int());
#line 276379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsView::CacheMode(*sipCpp ^ a0);
#line 276418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsView::CacheMode(*sipCpp | a0);
#line 276490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QGraphicsView::CacheMode();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QGraphicsView::CacheMode(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 276758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsView_CacheMode[] = {
    {(void *)slot_QGraphicsView_CacheMode___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QGraphicsView_CacheMode___xor__, xor_slot},
    {(void *)slot_QGraphicsView_CacheMode___ior__, ior_slot},
    {(void *)slot_QGraphicsView_CacheMode___or__, or_slot},
    {(void *)slot_QGraphicsView_CacheMode___iand__, iand_slot},
    {(void *)slot_QGraphicsView_CacheMode___and__, and_slot},
    {(void *)slot_QGraphicsView_CacheMode___invert__, invert_slot},
    {(void *)slot_QGraphicsView_CacheMode___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsView_CacheMode, "\1QGraphicsView.CacheMode()\n"
    "QGraphicsView.CacheMode(Union[QGraphicsView.CacheMode, QGraphicsView.CacheModeFlag])\n"
    "QGraphicsView.CacheMode(QGraphicsView.CacheMode)");


static pyqt5ClassPluginDef plugin_QGraphicsView_CacheMode = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsView_CacheMode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsView__CacheMode,
        {0},
        &plugin_QGraphicsView_CacheMode
    },
    {
        sipNameNr_CacheMode,
        {160, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsView_CacheMode,
    -1,
    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,
    0,
    convertTo_QGraphicsView_CacheMode,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 276844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 276848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 276851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 276854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 276857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 276860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 276866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 276869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 276872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 276911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 276914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 276917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 276920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 276923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 276926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 276929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 276932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 276935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 276938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 276941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 276944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 276947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 276953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 276956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 276959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 276962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 276965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 276968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 276971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 276974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 276977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 276980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 276983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 276986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 276989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 276995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 277004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 277007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 277010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 277013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 277016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 277019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 277022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 277025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 277028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 277031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 277034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 277037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 277040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 277043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 277046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 277049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 277052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 277055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 277058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 277064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 277067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 277070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 277073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 277076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 277079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 277082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 277085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 277088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 277091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 277094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 277100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 277103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 277106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
     ::QSize sipProtectVirt_viewportSizeHint(bool) const;
    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 drawForeground( ::QPainter*,const  ::QRectF&);
    void drawBackground( ::QPainter*,const  ::QRectF&);
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsView(const sipQGraphicsView &);
    sipQGraphicsView &operator = (const sipQGraphicsView &);

    char sipPyMethods[52];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsView);

    return  ::QGraphicsView::metaObject();
}

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::drawForeground( ::QPainter*a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_drawForeground);

    if (!sipMeth)
    {
         ::QGraphicsView::drawForeground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_163(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRectF&);

    sipVH_QtWidgets_163(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsView::drawBackground( ::QPainter*a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_drawBackground);

    if (!sipMeth)
    {
         ::QGraphicsView::drawBackground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_163(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRectF&);

    sipVH_QtWidgets_163(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsView::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsView::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsView::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQGraphicsView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QGraphicsView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQGraphicsView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QGraphicsView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QGraphicsView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQGraphicsView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGraphicsView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQGraphicsView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QGraphicsView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQGraphicsView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QGraphicsView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsView::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QGraphicsView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QGraphicsView::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsView::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QGraphicsView::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQGraphicsView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QGraphicsView::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsView::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QGraphicsView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQGraphicsView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QGraphicsView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QGraphicsView::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QGraphicsView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsView::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QGraphicsView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQGraphicsView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

 ::QSize sipQGraphicsView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QAbstractScrollArea::viewportSizeHint() : viewportSizeHint());
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 278516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 278576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QGraphicsView_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &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_QGraphicsView, sipName_initStyleOption, doc_QGraphicsView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QGraphicsView_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_viewportMargins, doc_QGraphicsView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_viewportSizeHint, "viewportSizeHint(self) -> QSize");

extern "C" {static PyObject *meth_QGraphicsView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &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_QGraphicsView, sipName_viewportSizeHint, doc_QGraphicsView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_eventFilter, "eventFilter(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "renderHints(self) -> 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, "setRenderHint(self, QPainter.RenderHint, on: bool = 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, "setRenderHints(self, Union[QPainter.RenderHints, QPainter.RenderHint])");

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, "alignment(self) -> 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "transformationAnchor(self) -> 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, "setTransformationAnchor(self, 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, "resizeAnchor(self) -> 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, "setResizeAnchor(self, 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, "dragMode(self) -> 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, "setDragMode(self, 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, "cacheMode(self) -> 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, "setCacheMode(self, Union[QGraphicsView.CacheMode, QGraphicsView.CacheModeFlag])");

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, "resetCachedContent(self)");

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, "isInteractive(self) -> 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, "setInteractive(self, 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, "scene(self) -> 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, "setScene(self, 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, "sceneRect(self) -> 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, "setSceneRect(self, QRectF)\n"
    "setSceneRect(self, 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, "rotate(self, 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, "scale(self, 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, "shear(self, 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, "translate(self, 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, "centerOn(self, Union[QPointF, QPoint])\n"
    "centerOn(self, QGraphicsItem)\n"
    "centerOn(self, 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, "ensureVisible(self, QRectF, xMargin: int = 50, yMargin: int = 50)\n"
    "ensureVisible(self, QGraphicsItem, xMargin: int = 50, yMargin: int = 50)\n"
    "ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 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, "fitInView(self, QRectF, mode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio)\n"
    "fitInView(self, QGraphicsItem, mode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio)\n"
    "fitInView(self, float, float, float, float, mode: Qt.AspectRatioMode = 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, "render(self, QPainter, target: QRectF = QRectF(), source: QRect = QRect(), mode: Qt.AspectRatioMode = 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, "items(self) -> List[QGraphicsItem]\n"
    "items(self, QPoint) -> List[QGraphicsItem]\n"
    "items(self, int, int) -> List[QGraphicsItem]\n"
    "items(self, int, int, int, int, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) -> List[QGraphicsItem]\n"
    "items(self, QRect, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) -> List[QGraphicsItem]\n"
    "items(self, QPolygon, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) -> List[QGraphicsItem]\n"
    "items(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) -> List[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, "itemAt(self, QPoint) -> QGraphicsItem\n"
    "itemAt(self, 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, "mapToScene(self, QPoint) -> QPointF\n"
    "mapToScene(self, QRect) -> QPolygonF\n"
    "mapToScene(self, QPolygon) -> QPolygonF\n"
    "mapToScene(self, QPainterPath) -> QPainterPath\n"
    "mapToScene(self, int, int) -> QPointF\n"
    "mapToScene(self, 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, "mapFromScene(self, Union[QPointF, QPoint]) -> QPoint\n"
    "mapFromScene(self, QRectF) -> QPolygon\n"
    "mapFromScene(self, QPolygonF) -> QPolygon\n"
    "mapFromScene(self, QPainterPath) -> QPainterPath\n"
    "mapFromScene(self, float, float) -> QPoint\n"
    "mapFromScene(self, 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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

extern "C" {static PyObject *meth_QGraphicsView_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "backgroundBrush(self) -> 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, "setBackgroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "foregroundBrush(self) -> 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, "setForegroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "invalidateScene(self, rect: QRectF = QRectF(), layers: Union[QGraphicsScene.SceneLayers, QGraphicsScene.SceneLayer] = 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, "updateScene(self, Iterable[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, "updateSceneRect(self, 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, "setupViewport(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "drawBackground(self, 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 || sipIsDerivedClass((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, "drawForeground(self, 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 || sipIsDerivedClass((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, "viewportUpdateMode(self) -> 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, "setViewportUpdateMode(self, 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, "optimizationFlags(self) -> 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, "setOptimizationFlag(self, QGraphicsView.OptimizationFlag, enabled: bool = 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, "setOptimizationFlags(self, Union[QGraphicsView.OptimizationFlags, QGraphicsView.OptimizationFlag])");

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, "rubberBandSelectionMode(self) -> 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, "setRubberBandSelectionMode(self, 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, "transform(self) -> 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, "viewportTransform(self) -> 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, "setTransform(self, QTransform, combine: bool = 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, "resetTransform(self)");

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, "isTransformed(self) -> 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, "rubberBandRect(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsView(void *, const sipTypeDef *);}
static void *cast_QGraphicsView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsView *sipCpp = reinterpret_cast< ::QGraphicsView *>(sipCppV);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QGraphicsView_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QGraphicsView_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QGraphicsView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {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), 166},
    {sipName_AnchorViewCenter, static_cast<int>( ::QGraphicsView::AnchorViewCenter), 166},
    {sipName_BoundingRectViewportUpdate, static_cast<int>( ::QGraphicsView::BoundingRectViewportUpdate), 167},
    {sipName_CacheBackground, static_cast<int>( ::QGraphicsView::CacheBackground), 162},
    {sipName_CacheNone, static_cast<int>( ::QGraphicsView::CacheNone), 162},
    {sipName_DontAdjustForAntialiasing, static_cast<int>( ::QGraphicsView::DontAdjustForAntialiasing), 164},
    {sipName_DontClipPainter, static_cast<int>( ::QGraphicsView::DontClipPainter), 164},
    {sipName_DontSavePainterState, static_cast<int>( ::QGraphicsView::DontSavePainterState), 164},
    {sipName_FullViewportUpdate, static_cast<int>( ::QGraphicsView::FullViewportUpdate), 167},
    {sipName_MinimalViewportUpdate, static_cast<int>( ::QGraphicsView::MinimalViewportUpdate), 167},
    {sipName_NoAnchor, static_cast<int>( ::QGraphicsView::NoAnchor), 166},
    {sipName_NoDrag, static_cast<int>( ::QGraphicsView::NoDrag), 163},
    {sipName_NoViewportUpdate, static_cast<int>( ::QGraphicsView::NoViewportUpdate), 167},
    {sipName_RubberBandDrag, static_cast<int>( ::QGraphicsView::RubberBandDrag), 163},
    {sipName_ScrollHandDrag, static_cast<int>( ::QGraphicsView::ScrollHandDrag), 163},
    {sipName_SmartViewportUpdate, static_cast<int>( ::QGraphicsView::SmartViewportUpdate), 167},
};

PyDoc_STRVAR(doc_QGraphicsView, "\1QGraphicsView(parent: QWidget = None)\n"
    "QGraphicsView(QGraphicsScene, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsView[] = {
    {"rubberBandChanged(QRect,QPointF,QPointF)", "\1rubberBandChanged(self, QRect, Union[QPointF, QPoint], Union[QPointF, QPoint])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsView = {
    & ::QGraphicsView::staticMetaObject,
    0,
    signals_QGraphicsView,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsView,
        {0},
        &plugin_QGraphicsView
    },
    {
        sipNameNr_QGraphicsView,
        {0, 0, 1},
        111, 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
};

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 282592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 282596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 282599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qvector3d.sip"
#include <qvector3d.h>
#line 282602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 282605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 282608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 282611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 282614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 282617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 282620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 282623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 282626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 282629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 282632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 282635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 282638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 282641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 282644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 282647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsRotation::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsRotation);

    return  ::QGraphicsRotation::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_164(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMatrix4x4*);

    sipVH_QtWidgets_164(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 282966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 283026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "update(self)");

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, "origin(self) -> 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, "setOrigin(self, 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, "angle(self) -> 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, "setAngle(self, 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, "axis(self) -> 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, "setAxis(self, QVector3D)\n"
    "setAxis(self, 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, "applyTo(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsRotation(void *, const sipTypeDef *);}
static void *cast_QGraphicsRotation(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsRotation *sipCpp = reinterpret_cast< ::QGraphicsRotation *>(sipCppV);

    if (targetType == sipType_QGraphicsTransform)
        return static_cast< ::QGraphicsTransform *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsRotation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsRotation(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{159, 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}
};

PyDoc_STRVAR(doc_QGraphicsRotation, "\1QGraphicsRotation(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsRotation[] = {
    {"axisChanged()", "\1axisChanged(self)", 0, 0},
    {"angleChanged()", "\1angleChanged(self)", 0, 0},
    {"originChanged()", "\1originChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsRotation = {
    & ::QGraphicsRotation::staticMetaObject,
    0,
    signals_QGraphicsRotation,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsRotation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsRotation,
        {0},
        &plugin_QGraphicsRotation
    },
    {
        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
};

#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 283652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 283656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 283659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qvector3d.sip"
#include <qvector3d.h>
#line 283662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 283665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 283668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 283671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 283674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 283677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 283680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 283683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 283686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 283689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 283695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 283701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 283704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 283707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsScale::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsScale);

    return  ::QGraphicsScale::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_164(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMatrix4x4*);

    sipVH_QtWidgets_164(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 284026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 284086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "update(self)");

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, "origin(self) -> 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, "setOrigin(self, 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, "xScale(self) -> 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, "setXScale(self, 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, "yScale(self) -> 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, "setYScale(self, 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, "zScale(self) -> 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, "setZScale(self, 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, "applyTo(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsScale(void *, const sipTypeDef *);}
static void *cast_QGraphicsScale(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsScale *sipCpp = reinterpret_cast< ::QGraphicsScale *>(sipCppV);

    if (targetType == sipType_QGraphicsTransform)
        return static_cast< ::QGraphicsTransform *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsScale *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsScale(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{159, 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)}
};

PyDoc_STRVAR(doc_QGraphicsScale, "\1QGraphicsScale(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsScale[] = {
    {"zScaleChanged()", "\1zScaleChanged(self)", 0, 0},
    {"yScaleChanged()", "\1yScaleChanged(self)", 0, 0},
    {"xScaleChanged()", "\1xScaleChanged(self)", 0, 0},
    {"scaleChanged()", "\1scaleChanged(self)", 0, 0},
    {"originChanged()", "\1originChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsScale = {
    & ::QGraphicsScale::staticMetaObject,
    0,
    signals_QGraphicsScale,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsScale = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsScale,
        {0},
        &plugin_QGraphicsScale
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 284757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 284761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 284764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 284767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 284770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 284773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 284776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 284779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 284782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 284785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 284788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 284791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 284794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 284797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 284800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 284803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 284806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 284809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 applyTo( ::QMatrix4x4*) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsTransform::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsTransform);

    return  ::QGraphicsTransform::metaObject();
}

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::applyTo( ::QMatrix4x4*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QGraphicsTransform,sipName_applyTo);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_164(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMatrix4x4*);

    sipVH_QtWidgets_164(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTransform::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsTransform::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTransform::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsTransform::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsTransform::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsTransform::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGraphicsTransform::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsTransform::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsTransform::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsTransform::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 285125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 285185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "applyTo(self, 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, "update(self)");

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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsTransform(void *, const sipTypeDef *);}
static void *cast_QGraphicsTransform(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsTransform *sipCpp = reinterpret_cast< ::QGraphicsTransform *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsTransform *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsTransform(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QGraphicsTransform = {
    & ::QGraphicsTransform::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsTransform = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsTransform,
        {0},
        &plugin_QGraphicsTransform
    },
    {
        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
};

#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 285616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 285620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 285623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 285626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QGraphicsSceneMoveEvent_oldPos, "oldPos(self) -> 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, "newPos(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneMoveEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneMoveEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneMoveEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneMoveEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsSceneMoveEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneMoveEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{150, 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()");


static pyqt5ClassPluginDef plugin_QGraphicsSceneMoveEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneMoveEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneMoveEvent,
        {0},
        &plugin_QGraphicsSceneMoveEvent
    },
    {
        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
};

#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 285841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 285845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 285848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 285851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QGraphicsSceneResizeEvent_oldSize, "oldSize(self) -> 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, "newSize(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneResizeEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneResizeEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneResizeEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneResizeEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsSceneResizeEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneResizeEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{150, 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()");


static pyqt5ClassPluginDef plugin_QGraphicsSceneResizeEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneResizeEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneResizeEvent,
        {0},
        &plugin_QGraphicsSceneResizeEvent
    },
    {
        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
};

#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 286066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 286070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 286073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 286076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 286079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 286082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 286085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 286088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 286091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 286094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_pos, "pos(self) -> 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, "scenePos(self) -> 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, "screenPos(self) -> 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, "buttons(self) -> 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, "modifiers(self) -> 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, "possibleActions(self) -> 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, "proposedAction(self) -> 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, "acceptProposedAction(self)");

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, "dropAction(self) -> 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, "setDropAction(self, 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, "source(self) -> 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, "mimeData(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneDragDropEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneDragDropEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneDragDropEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneDragDropEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneDragDropEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneDragDropEvent[] = {{150, 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)}
};


static pyqt5ClassPluginDef plugin_QGraphicsSceneDragDropEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneDragDropEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneDragDropEvent,
        {0},
        &plugin_QGraphicsSceneDragDropEvent
    },
    {
        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
};

#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 286545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 286549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 286552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 286555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 286558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneHelpEvent_scenePos, "scenePos(self) -> 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, "screenPos(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneHelpEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneHelpEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneHelpEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneHelpEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneHelpEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneHelpEvent[] = {{150, 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)}
};


static pyqt5ClassPluginDef plugin_QGraphicsSceneHelpEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneHelpEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneHelpEvent,
        {0},
        &plugin_QGraphicsSceneHelpEvent
    },
    {
        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
};

#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 286720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 286724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 286727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 286730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 286733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 286736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_pos, "pos(self) -> 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, "scenePos(self) -> 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, "screenPos(self) -> 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, "lastPos(self) -> 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, "lastScenePos(self) -> 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, "lastScreenPos(self) -> 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, "modifiers(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneHoverEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneHoverEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneHoverEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneHoverEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneHoverEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneHoverEvent[] = {{150, 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)}
};


static pyqt5ClassPluginDef plugin_QGraphicsSceneHoverEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneHoverEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneHoverEvent,
        {0},
        &plugin_QGraphicsSceneHoverEvent
    },
    {
        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
};

#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 287050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 287053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 287056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 287059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneContextMenuEvent_pos, "pos(self) -> 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, "scenePos(self) -> 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, "screenPos(self) -> 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, "modifiers(self) -> 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, "reason(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneContextMenuEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneContextMenuEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneContextMenuEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneContextMenuEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneContextMenuEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneContextMenuEvent[] = {{150, 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), 148},
    {sipName_Mouse, static_cast<int>( ::QGraphicsSceneContextMenuEvent::Mouse), 148},
    {sipName_Other, static_cast<int>( ::QGraphicsSceneContextMenuEvent::Other), 148},
};


static pyqt5ClassPluginDef plugin_QGraphicsSceneContextMenuEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneContextMenuEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneContextMenuEvent,
        {0},
        &plugin_QGraphicsSceneContextMenuEvent
    },
    {
        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
};

#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 287327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 287330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 287333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 287336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_pos, "pos(self) -> 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, "scenePos(self) -> 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, "screenPos(self) -> 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, "buttons(self) -> 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, "modifiers(self) -> 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, "delta(self) -> 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, "orientation(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneWheelEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneWheelEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneWheelEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneWheelEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneWheelEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneWheelEvent[] = {{150, 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)}
};


static pyqt5ClassPluginDef plugin_QGraphicsSceneWheelEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneWheelEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneWheelEvent,
        {0},
        &plugin_QGraphicsSceneWheelEvent
    },
    {
        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
};

#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 287659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 287662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 287665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 287668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_pos, "pos(self) -> 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, "scenePos(self) -> 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, "screenPos(self) -> 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, "buttonDownPos(self, 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, "buttonDownScenePos(self, 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, "buttonDownScreenPos(self, 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, "lastPos(self) -> 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, "lastScenePos(self) -> 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, "lastScreenPos(self) -> 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, "buttons(self) -> 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, "button(self) -> 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, "modifiers(self) -> 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, "source(self) -> 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, "flags(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneMouseEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneMouseEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneMouseEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneMouseEvent *>(sipCppV);

    if (targetType == sipType_QGraphicsSceneEvent)
        return static_cast< ::QGraphicsSceneEvent *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneMouseEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneMouseEvent[] = {{150, 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)}
};


static pyqt5ClassPluginDef plugin_QGraphicsSceneMouseEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneMouseEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneMouseEvent,
        {0},
        &plugin_QGraphicsSceneMouseEvent
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 288181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 288185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 288188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneEvent_widget, "widget(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSceneEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSceneEvent *sipCpp = reinterpret_cast< ::QGraphicsSceneEvent *>(sipCppV);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSceneEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneEvent[] = {{12, 0, 1}};


static PyMethodDef methods_QGraphicsSceneEvent[] = {
    {SIP_MLNAME_CAST(sipName_widget), meth_QGraphicsSceneEvent_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneEvent_widget)}
};


static pyqt5ClassPluginDef plugin_QGraphicsSceneEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneEvent,
        {0},
        &plugin_QGraphicsSceneEvent
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 288318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 288322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QGraphicsScene_SceneLayers___hash__(PyObject *);}
static long slot_QGraphicsScene_SceneLayers___hash__(PyObject *sipSelf)
{
     ::QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast< ::QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QGraphicsScene::SceneLayers::Int();
#line 288340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsScene::SceneLayers::Int() != 0);
#line 288365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsScene::SceneLayers::Int() != a0->operator QGraphicsScene::SceneLayers::Int());
#line 288395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsScene::SceneLayers::Int() == a0->operator QGraphicsScene::SceneLayers::Int());
#line 288431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsScene::SceneLayers(*sipCpp ^ a0);
#line 288470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsScene::SceneLayers(*sipCpp | a0);
#line 288542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QGraphicsScene::SceneLayers();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QGraphicsScene::SceneLayers(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 288810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsScene_SceneLayers[] = {
    {(void *)slot_QGraphicsScene_SceneLayers___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___xor__, xor_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___ior__, ior_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___or__, or_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___iand__, iand_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___and__, and_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___invert__, invert_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsScene_SceneLayers, "\1QGraphicsScene.SceneLayers()\n"
    "QGraphicsScene.SceneLayers(Union[QGraphicsScene.SceneLayers, QGraphicsScene.SceneLayer])\n"
    "QGraphicsScene.SceneLayers(QGraphicsScene.SceneLayers)");


static pyqt5ClassPluginDef plugin_QGraphicsScene_SceneLayers = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsScene_SceneLayers = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsScene__SceneLayers,
        {0},
        &plugin_QGraphicsScene_SceneLayers
    },
    {
        sipNameNr_SceneLayers,
        {143, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsScene_SceneLayers,
    -1,
    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,
    0,
    convertTo_QGraphicsScene_SceneLayers,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 288896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 288900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 288903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 288906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 288909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 288912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 288915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 288918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 288921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 288924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 288927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 288930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 288933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 288936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 288939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 288942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 288945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 288948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 288951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 288954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 288957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 288960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 288963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 288966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 288969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 288972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 288975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 288978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 288981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 288984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 288987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 288990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 288993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 288996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 288999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 289002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 289005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 289008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 289011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 289014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 289017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 289020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qline.sip"
#include <qline.h>
#line 289023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 289026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 289029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 289032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 289035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 289038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 289041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 289044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 289047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 289050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 289053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 289056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 289059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 289062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 289065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsScene::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsScene);

    return  ::QGraphicsScene::metaObject();
}

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::drawForeground( ::QPainter*a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_drawForeground);

    if (!sipMeth)
    {
         ::QGraphicsScene::drawForeground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_163(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRectF&);

    sipVH_QtWidgets_163(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsScene::drawBackground( ::QPainter*a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_drawBackground);

    if (!sipMeth)
    {
         ::QGraphicsScene::drawBackground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_163(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRectF&);

    sipVH_QtWidgets_163(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsScene::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::helpEvent( ::QGraphicsSceneHelpEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::helpEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_162(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHelpEvent*);

    sipVH_QtWidgets_162(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsScene::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsScene::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsScene::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsScene::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsScene::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsScene::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsScene::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsScene::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsScene::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsScene::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 289855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 289915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "sceneRect(self) -> 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, "width(self) -> 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, "height(self) -> 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, "setSceneRect(self, QRectF)\n"
    "setSceneRect(self, 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, "render(self, QPainter, target: QRectF = QRectF(), source: QRectF = QRectF(), mode: Qt.AspectRatioMode = 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, "itemIndexMethod(self) -> 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, "setItemIndexMethod(self, 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, "itemsBoundingRect(self) -> 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, "items(self, order: Qt.SortOrder = Qt.DescendingOrder) -> List[QGraphicsItem]\n"
    "items(self, Union[QPointF, QPoint], mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) -> List[QGraphicsItem]\n"
    "items(self, QRectF, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) -> List[QGraphicsItem]\n"
    "items(self, QPolygonF, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) -> List[QGraphicsItem]\n"
    "items(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) -> List[QGraphicsItem]\n"
    "items(self, float, float, float, float, Qt.ItemSelectionMode, Qt.SortOrder, deviceTransform: QTransform = QTransform()) -> List[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, "collidingItems(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) -> List[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, "selectedItems(self) -> List[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, "setSelectionArea(self, QPainterPath, QTransform)\n"
    "setSelectionArea(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, deviceTransform: QTransform = QTransform())\n"
    "setSelectionArea(self, QPainterPath, Qt.ItemSelectionOperation, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, deviceTransform: QTransform = 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;
        }
    }

    {
        const  ::QPainterPath* a0;
         ::Qt::ItemSelectionOperation a1;
         ::Qt::ItemSelectionMode a2 = Qt::IntersectsItemShape;
        const  ::QTransform& a3def = QTransform();
        const  ::QTransform* a3 = &a3def;
         ::QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_mode,
            sipName_deviceTransform,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9E|EJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainterPath, &a0, sipType_Qt_ItemSelectionOperation, &a1, sipType_Qt_ItemSelectionMode, &a2, sipType_QTransform, &a3))
        {
            sipCpp->setSelectionArea(*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_setSelectionArea, doc_QGraphicsScene_setSelectionArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_clearSelection, "clearSelection(self)");

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, "createItemGroup(self, Iterable[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, "destroyItemGroup(self, 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, "addItem(self, 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, "addEllipse(self, QRectF, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = QBrush()) -> QGraphicsEllipseItem\n"
    "addEllipse(self, float, float, float, float, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, "addLine(self, QLineF, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = QPen()) -> QGraphicsLineItem\n"
    "addLine(self, float, float, float, float, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = 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, "addPath(self, QPainterPath, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, "addPixmap(self, 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, "addPolygon(self, QPolygonF, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, "addRect(self, QRectF, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = QBrush()) -> QGraphicsRectItem\n"
    "addRect(self, float, float, float, float, pen: Union[QPen, QColor, Qt.GlobalColor, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, QGradient] = 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, "addSimpleText(self, str, font: QFont = 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, "addText(self, str, font: QFont = 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, "removeItem(self, 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, "focusItem(self) -> 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, "setFocusItem(self, QGraphicsItem, focusReason: Qt.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, "hasFocus(self) -> 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, "setFocus(self, focusReason: Qt.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, "clearFocus(self)");

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, "mouseGrabberItem(self) -> 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, "backgroundBrush(self) -> 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, "setBackgroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "foregroundBrush(self) -> 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, "setForegroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

extern "C" {static PyObject *meth_QGraphicsScene_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "views(self) -> object");

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, "advance(self)");

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, "update(self, rect: QRectF = QRectF())\n"
    "update(self, 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, "invalidate(self, rect: QRectF = QRectF(), layers: Union[QGraphicsScene.SceneLayers, QGraphicsScene.SceneLayer] = QGraphicsScene.AllLayers)\n"
    "invalidate(self, float, float, float, float, layers: Union[QGraphicsScene.SceneLayers, QGraphicsScene.SceneLayer] = 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, "clear(self)");

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, "event(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "helpEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "drawBackground(self, 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 || sipIsDerivedClass((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, "drawForeground(self, 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 || sipIsDerivedClass((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, "bspTreeDepth(self) -> 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, "setBspTreeDepth(self, 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, "selectionArea(self) -> 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, "addWidget(self, QWidget, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags()) -> 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 = Qt::WindowFlags();
         ::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, "style(self) -> 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, "setStyle(self, 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, "font(self) -> 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, "setFont(self, 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, "palette(self) -> 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, "setPalette(self, 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, "activeWindow(self) -> 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, "setActiveWindow(self, 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, "eventFilter(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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, "setStickyFocus(self, 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, "stickyFocus(self) -> 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, "itemAt(self, Union[QPointF, QPoint], QTransform) -> QGraphicsItem\n"
    "itemAt(self, 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, "isActive(self) -> 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, "activePanel(self) -> 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, "setActivePanel(self, 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, "sendEvent(self, 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, "minimumRenderSize(self) -> 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, "setMinimumRenderSize(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsScene(void *, const sipTypeDef *);}
static void *cast_QGraphicsScene(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsScene *sipCpp = reinterpret_cast< ::QGraphicsScene *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsScene *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsScene(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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), 145},
    {sipName_BackgroundLayer, static_cast<int>( ::QGraphicsScene::BackgroundLayer), 145},
    {sipName_BspTreeIndex, static_cast<int>( ::QGraphicsScene::BspTreeIndex), 144},
    {sipName_ForegroundLayer, static_cast<int>( ::QGraphicsScene::ForegroundLayer), 145},
    {sipName_ItemLayer, static_cast<int>( ::QGraphicsScene::ItemLayer), 145},
    {sipName_NoIndex, static_cast<int>( ::QGraphicsScene::NoIndex), 144},
};

PyDoc_STRVAR(doc_QGraphicsScene, "\1QGraphicsScene(parent: QObject = None)\n"
    "QGraphicsScene(QRectF, parent: QObject = None)\n"
    "QGraphicsScene(float, float, float, float, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsScene[] = {
    {"focusItemChanged(QGraphicsItem*,QGraphicsItem*,Qt::FocusReason)", "\1focusItemChanged(self, QGraphicsItem, QGraphicsItem, Qt.FocusReason)", 0, 0},
    {"selectionChanged()", "\1selectionChanged(self)", 0, 0},
    {"sceneRectChanged(QRectF)", "\1sceneRectChanged(self, QRectF)", 0, 0},
    {"changed(QList<QRectF>)", "\1changed(self, object)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsScene = {
    & ::QGraphicsScene::staticMetaObject,
    0,
    signals_QGraphicsScene,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsScene = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsScene,
        {0},
        &plugin_QGraphicsScene
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 293322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 293326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 293329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 293332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 293335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 293338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 293341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 293344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 293347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 293350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 293353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 293356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 293359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 293362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 293365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 293368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 293371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 293374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 293377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 293380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 293383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 293386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 293389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 293392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 293395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 293398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 293401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 293404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 293407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 293410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 293413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 293416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 293419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 293422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 293425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 293428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 293431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 293434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 293437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 293440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 293443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 293446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 293449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 293452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 293455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 293458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 293461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 293464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 293467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 293470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 293473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 293476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 293479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 293482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 293485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 293488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 293491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 293494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 293497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 293500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 293503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 293506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 293509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 293512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 293515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 293518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    void advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsProxyWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsProxyWidget);

    return  ::QGraphicsProxyWidget::metaObject();
}

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));
}

void sipQGraphicsProxyWidget::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsProxyWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPainterPath sipQGraphicsProxyWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsProxyWidget::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsProxyWidget::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsProxyWidget::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsProxyWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsProxyWidget::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQGraphicsProxyWidget::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsProxyWidget::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsProxyWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsProxyWidget::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsProxyWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsProxyWidget::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsProxyWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_QtWidgets_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_QtWidgets_140(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsProxyWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::updateGeometry();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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[41]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_QtWidgets_139(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsProxyWidget::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_QtWidgets_138(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQGraphicsProxyWidget::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::initStyleOption(a0);
        return;
    }

    extern void sipVH_QtWidgets_158(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_QtWidgets_158(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::windowFrameEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::WindowFrameSection sipQGraphicsProxyWidget::windowFrameSectionAt(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_QtWidgets_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_159(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QGraphicsProxyWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_160(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_QtWidgets_160(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::polishEvent();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsProxyWidget::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_161(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_QtWidgets_161(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::QGraphicsProxyWidget::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "setGraphicsItem(self, 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, "setOwnedByLayout(self, 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, "prepareGeometryChange(self)");

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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 295142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 295202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "updateMicroFocus(self)");

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, "initStyleOption(self, 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 || sipIsDerivedClass((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, "updateGeometry(self)");

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 || sipIsDerivedClass((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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "windowFrameEvent(self, 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 || sipIsDerivedClass((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, "windowFrameSectionAt(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "polishEvent(self)");

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 || sipIsDerivedClass((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, "grabKeyboardEvent(self, 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 || sipIsDerivedClass((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, "ungrabKeyboardEvent(self, 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 || sipIsDerivedClass((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, "setWidget(self, 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.9-1.i686/build/py3/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 295803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "widget(self) -> 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, "subWidgetRect(self, 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, "setGeometry(self, 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 || sipIsDerivedClass((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, "paint(self, 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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, "createProxyForChildWidget(self, 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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "grabMouseEvent(self, 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 || sipIsDerivedClass((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, "ungrabMouseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "sizeHint(self, Qt.SizeHint, constraint: QSizeF = 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "newProxyWidget(self, 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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsProxyWidget(void *, const sipTypeDef *);}
static void *cast_QGraphicsProxyWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsProxyWidget *sipCpp = reinterpret_cast< ::QGraphicsProxyWidget *>(sipCppV);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsProxyWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsProxyWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{168, 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(parent: QGraphicsItem = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


static pyqt5ClassPluginDef plugin_QGraphicsProxyWidget = {
    & ::QGraphicsProxyWidget::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsProxyWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsProxyWidget,
        {0},
        &plugin_QGraphicsProxyWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 297093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 297097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 297100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 297103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 297106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 297109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 297112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 297115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 297118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 297121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 297124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 297127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 297130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 297133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 297136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 297139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 297142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 297145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 297148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 297151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 297154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 297157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 297160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 297163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 297166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 297169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 297172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 297175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 297178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 297181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 297184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 297187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 297190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 297193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 297196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 297199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 297202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 297205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 297208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 297211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 297214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 297217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 297220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 297223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 297226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 297229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 297232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 297235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 297238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 297241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 297244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 297247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 297250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 297253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 297256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 297259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 297262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 297265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 297268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 297271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 297274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 297277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 297280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 297283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 297286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 ungrabKeyboardEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabMouseEvent( ::QEvent*);
    void showEvent( ::QShowEvent*);
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void hideEvent( ::QHideEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent( ::QCloseEvent*);
    void changeEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    bool windowFrameEvent( ::QEvent*);
    void initStyleOption( ::QStyleOption*) const;
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    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:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsWidget);

    return  ::QGraphicsWidget::metaObject();
}

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::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_161(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_QtWidgets_161(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::polishEvent();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsWidget::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_160(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_QtWidgets_160(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QGraphicsWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::WindowFrameSection sipQGraphicsWidget::windowFrameSectionAt(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::QGraphicsWidget::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_QtWidgets_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_159(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::QGraphicsWidget::windowFrameEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::QGraphicsWidget::initStyleOption(a0);
        return;
    }

    extern void sipVH_QtWidgets_158(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_QtWidgets_158(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQGraphicsWidget::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QGraphicsWidget::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_QtWidgets_138(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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[17]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_QtWidgets_139(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::QGraphicsWidget::updateGeometry();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[19]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGraphicsWidget::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_QtWidgets_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_QtWidgets_140(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QGraphicsWidget::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsWidget::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QGraphicsWidget::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsWidget::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QGraphicsWidget::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QVariant sipQGraphicsWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsWidget::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsWidget::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsWidget::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipQGraphicsWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsWidget::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsWidget::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QGraphicsWidget::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[53]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsWidget::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[54]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::QGraphicsWidget::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsWidget::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QGraphicsWidget::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsWidget::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsWidget::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsWidget::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsWidget::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "setGraphicsItem(self, 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, "setOwnedByLayout(self, 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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 299334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 299394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "updateMicroFocus(self)");

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, "layout(self) -> 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, "setLayout(self, 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, "adjustSize(self)");

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, "layoutDirection(self) -> 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, "setLayoutDirection(self, 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, "unsetLayoutDirection(self)");

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, "style(self) -> 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, "setStyle(self, 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, "font(self) -> 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, "setFont(self, 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, "palette(self) -> 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, "setPalette(self, 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, "resize(self, QSizeF)\n"
    "resize(self, 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, "size(self) -> 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, "setGeometry(self, QRectF)\n"
    "setGeometry(self, 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 || sipIsDerivedClass((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, "rect(self) -> 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, "setContentsMargins(self, 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, "getContentsMargins(self) -> Tuple[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 || sipIsDerivedClass((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, "setWindowFrameMargins(self, 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, "getWindowFrameMargins(self) -> Tuple[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, "unsetWindowFrameMargins(self)");

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, "windowFrameGeometry(self) -> 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, "windowFrameRect(self) -> 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, "windowFlags(self) -> 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, "windowType(self) -> 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, "setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])");

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, "isActiveWindow(self) -> 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, "setWindowTitle(self, 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, "windowTitle(self) -> 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, "focusPolicy(self) -> 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, "setFocusPolicy(self, 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, "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, "focusWidget(self) -> 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, "grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = 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, "releaseShortcut(self, 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, "setShortcutEnabled(self, int, enabled: bool = 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, "setShortcutAutoRepeat(self, int, enabled: bool = 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, "addAction(self, 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, "addActions(self, Iterable[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, "insertAction(self, 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, "insertActions(self, QAction, Iterable[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, "removeAction(self, 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, "actions(self) -> List[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, "setAttribute(self, Qt.WidgetAttribute, on: bool = 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, "testAttribute(self, 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, "type(self) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "paintWindowFrame(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "close(self) -> 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, "initStyleOption(self, 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 || sipIsDerivedClass((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, "sizeHint(self, Qt.SizeHint, constraint: QSizeF = 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 || sipIsDerivedClass((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, "updateGeometry(self)");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "windowFrameEvent(self, 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 || sipIsDerivedClass((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, "windowFrameSectionAt(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "polishEvent(self)");

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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "grabMouseEvent(self, 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 || sipIsDerivedClass((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, "ungrabMouseEvent(self, 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 || sipIsDerivedClass((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, "grabKeyboardEvent(self, 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 || sipIsDerivedClass((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, "ungrabKeyboardEvent(self, 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 || sipIsDerivedClass((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, "autoFillBackground(self) -> 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, "setAutoFillBackground(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsWidget(void *, const sipTypeDef *);}
static void *cast_QGraphicsWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsWidget *sipCpp = reinterpret_cast< ::QGraphicsWidget *>(sipCppV);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{133, 255, 0}, {130, 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)}
};

PyDoc_STRVAR(doc_QGraphicsWidget, "\1QGraphicsWidget(parent: QGraphicsItem = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsWidget[] = {
    {"geometryChanged()", "\1geometryChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsWidget = {
    & ::QGraphicsWidget::staticMetaObject,
    0,
    signals_QGraphicsWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsWidget,
        {0},
        &plugin_QGraphicsWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslinearlayout.sip"
#include <qgraphicslinearlayout.h>
#line 302208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 302212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 302215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 302218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 302221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 302224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 302227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 302230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 302233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void invalidate();
    void widgetEvent( ::QEvent*);
    int count() const;
     ::QGraphicsLayoutItem* itemAt(int) const;
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QSizeF sipQGraphicsLinearLayout::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGraphicsLinearLayout::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_QtWidgets_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_QtWidgets_140(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsLinearLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::QGraphicsLinearLayout::updateGeometry();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_QtWidgets_139(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsLinearLayout::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QGraphicsLinearLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_QtWidgets_138(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLinearLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QGraphicsLinearLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsLinearLayout::widgetEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
         ::QGraphicsLinearLayout::widgetEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QGraphicsLayoutItem* sipQGraphicsLinearLayout::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  ::QGraphicsLinearLayout::itemAt(a0);

    extern  ::QGraphicsLayoutItem* sipVH_QtWidgets_141(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_141(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "setGraphicsItem(self, 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, "setOwnedByLayout(self, 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, "addChildLayoutItem(self, 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, "setOrientation(self, 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, "orientation(self) -> 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, "addItem(self, 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, "addStretch(self, stretch: int = 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, "insertItem(self, 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, "insertStretch(self, int, stretch: int = 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, "removeItem(self, 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, "removeAt(self, 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 || sipIsDerivedClass((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.9-1.i686/build/py3/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 302789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "setSpacing(self, 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, "spacing(self) -> 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, "setItemSpacing(self, 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, "itemSpacing(self, 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, "setStretchFactor(self, 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, "stretchFactor(self, 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, "setAlignment(self, QGraphicsLayoutItem, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "alignment(self, 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, "setGeometry(self, 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 || sipIsDerivedClass((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, "count(self) -> 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 || sipIsDerivedClass((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, "itemAt(self, 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 || sipIsDerivedClass((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, "invalidate(self)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "sizeHint(self, Qt.SizeHint, constraint: QSizeF = 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsLinearLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsLinearLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsLinearLayout *sipCpp = reinterpret_cast< ::QGraphicsLinearLayout *>(sipCppV);

    if (targetType == sipType_QGraphicsLayout)
        return static_cast< ::QGraphicsLayout *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsLinearLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsLinearLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{129, 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(parent: QGraphicsLayoutItem = None)\n"
    "QGraphicsLinearLayout(Qt.Orientation, parent: QGraphicsLayoutItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsLinearLayout = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsLinearLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLinearLayout,
        {0},
        &plugin_QGraphicsLinearLayout
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 303368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 303372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 303375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 303378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 303381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 303384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_QtWidgets_140(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_QtWidgets_139(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_QtWidgets_138(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "setSizePolicy(self, QSizePolicy)\n"
    "setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy, controlType: QSizePolicy.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, "sizePolicy(self) -> 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, "setMinimumSize(self, QSizeF)\n"
    "setMinimumSize(self, 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, "minimumSize(self) -> 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, "setMinimumWidth(self, 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, "setMinimumHeight(self, 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, "setPreferredSize(self, QSizeF)\n"
    "setPreferredSize(self, 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, "preferredSize(self) -> 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, "setPreferredWidth(self, 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, "setPreferredHeight(self, 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, "setMaximumSize(self, QSizeF)\n"
    "setMaximumSize(self, 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, "maximumSize(self) -> 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, "setMaximumWidth(self, 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, "setMaximumHeight(self, 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, "setGeometry(self, 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 || sipIsDerivedClass((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, "geometry(self) -> 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, "getContentsMargins(self) -> Tuple[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 || sipIsDerivedClass((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, "contentsRect(self) -> 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, "effectiveSizeHint(self, Qt.SizeHint, constraint: QSizeF = 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, "updateGeometry(self)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "parentLayoutItem(self) -> 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, "setParentLayoutItem(self, 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, "isLayout(self) -> 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, "minimumWidth(self) -> 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, "minimumHeight(self) -> 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, "preferredWidth(self) -> 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, "preferredHeight(self) -> 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, "maximumWidth(self) -> 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, "maximumHeight(self) -> 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, "graphicsItem(self) -> 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, "ownedByLayout(self) -> 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, "sizeHint(self, Qt.SizeHint, constraint: QSizeF = 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, "setGraphicsItem(self, 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, "setOwnedByLayout(self, 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;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsLayoutItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsLayoutItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QGraphicsLayoutItem = None, isLayout: bool = False)");


static pyqt5ClassPluginDef plugin_QGraphicsLayoutItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsLayoutItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLayoutItem,
        {0},
        &plugin_QGraphicsLayoutItem
    },
    {
        sipNameNr_QGraphicsLayoutItem,
        {0, 0, 1},
        34, methods_QGraphicsLayoutItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsLayoutItem,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 304731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 304734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 304743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 304749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 304752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 304761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 304764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 304770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 304773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 304776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 304779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 304782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 304785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 304788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 304791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 304794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 304800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 304803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 304806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 304809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 304812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 304815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 304818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 304821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 304827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 304830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 304833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 304839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 304842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 304845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 304851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 304854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 304857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 304860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 304863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 304869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 304875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 304884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    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:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsTextItem::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsTextItem);

    return  ::QGraphicsTextItem::metaObject();
}

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::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTextItem::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsTextItem::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsTextItem::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsTextItem::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTextItem::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QGraphicsTextItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsTextItem::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QGraphicsTextItem::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsTextItem::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QGraphicsTextItem::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QVariant sipQGraphicsTextItem::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsTextItem::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsTextItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsTextItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsTextItem::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)
    {
         ::QGraphicsTextItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipQGraphicsTextItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsTextItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsTextItem::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QGraphicsTextItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTextItem::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsTextItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[34]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::QGraphicsTextItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsTextItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QGraphicsTextItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsTextItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsTextItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsTextItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsTextItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsTextItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsTextItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 306026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 306086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "updateMicroFocus(self)");

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, "event(self, 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 || sipIsDerivedClass((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, "toHtml(self) -> 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, "setHtml(self, 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, "toPlainText(self) -> 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, "setPlainText(self, 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, "font(self) -> 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, "setFont(self, 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, "setDefaultTextColor(self, Union[QColor, Qt.GlobalColor, QGradient])");

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, "defaultTextColor(self) -> 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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, "setTextWidth(self, 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, "textWidth(self) -> 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, "adjustSize(self)");

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, "setDocument(self, 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, "document(self) -> 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, "setTextInteractionFlags(self, Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])");

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, "textInteractionFlags(self) -> 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, "setTabChangesFocus(self, 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, "tabChangesFocus(self) -> 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, "setOpenExternalLinks(self, 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, "openExternalLinks(self) -> 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, "setTextCursor(self, 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, "textCursor(self) -> 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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsTextItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsTextItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsTextItem *sipCpp = reinterpret_cast< ::QGraphicsTextItem *>(sipCppV);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsTextItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsTextItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{133, 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}
};

PyDoc_STRVAR(doc_QGraphicsTextItem, "\1QGraphicsTextItem(parent: QGraphicsItem = None)\n"
    "QGraphicsTextItem(str, parent: QGraphicsItem = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsTextItem[] = {
    {"linkHovered(QString)", "\1linkHovered(self, str)", 0, 0},
    {"linkActivated(QString)", "\1linkActivated(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsTextItem = {
    & ::QGraphicsTextItem::staticMetaObject,
    0,
    signals_QGraphicsTextItem,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsTextItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsTextItem,
        {0},
        &plugin_QGraphicsTextItem
    },
    {
        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
};

#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 307959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 307963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 307966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 307969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 307972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 307975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 307978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 307981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 307984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 307987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 307990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 307993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 307996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 307999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 308002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 308005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 308008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 308011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 308014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 308017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 308020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 308023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 308026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 308029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 308032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 308035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 308038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 308041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 308044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 308047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 308050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 308059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 308062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 308068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 308077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 308080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 308083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 308086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 308089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 308092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 308095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 308098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 308101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsObject::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsObject);

    return  ::QGraphicsObject::metaObject();
}

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::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsObject::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsObject::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QGraphicsObject,sipName_boundingRect);

    if (!sipMeth)
        return  ::QRectF();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPainterPath sipQGraphicsObject::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsObject::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsObject::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QGraphicsObject::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::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  ::QGraphicsObject::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsObject::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsObject::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsObject::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QGraphicsObject::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsObject::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsObject::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsObject::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QGraphicsObject,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQGraphicsObject::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsObject::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsObject::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsObject::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsObject::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsObject::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QGraphicsObject::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsObject::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QGraphicsObject::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QGraphicsObject::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsObject::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsObject::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsObject::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsObject::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsObject::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsObject::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsObject::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 309787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 309847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())");

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();
         ::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, "ungrabGesture(self, 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, "updateMicroFocus(self)");

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, "event(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsObject(void *, const sipTypeDef *);}
static void *cast_QGraphicsObject(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsObject *sipCpp = reinterpret_cast< ::QGraphicsObject *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsObject *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsObject(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 0, 0}, {122, 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}
};

PyDoc_STRVAR(doc_QGraphicsObject, "\1QGraphicsObject(parent: QGraphicsItem = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsObject[] = {
    {"scaleChanged()", "\1scaleChanged(self)", 0, 0},
    {"rotationChanged()", "\1rotationChanged(self)", 0, 0},
    {"zChanged()", "\1zChanged(self)", 0, 0},
    {"yChanged()", "\1yChanged(self)", 0, 0},
    {"xChanged()", "\1xChanged(self)", 0, 0},
    {"enabledChanged()", "\1enabledChanged(self)", 0, 0},
    {"visibleChanged()", "\1visibleChanged(self)", 0, 0},
    {"opacityChanged()", "\1opacityChanged(self)", 0, 0},
    {"parentChanged()", "\1parentChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsObject = {
    & ::QGraphicsObject::staticMetaObject,
    0,
    signals_QGraphicsObject,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsObject,
        {0},
        &plugin_QGraphicsObject
    },
    {
        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
};

#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 310388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 310391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 310394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 310397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 310400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 310403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 310406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 310409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 310412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 310415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 310421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 310424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 310427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 310430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 310433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 310439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 310445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 310448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 310451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 310454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 310460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 310469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 310472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 310475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 310478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 310484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQGraphicsItemGroup::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsItemGroup::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPainterPath sipQGraphicsItemGroup::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsItemGroup::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsItemGroup::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  ::QGraphicsItemGroup::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItemGroup::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItemGroup::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsItemGroup::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsItemGroup::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQGraphicsItemGroup::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsItemGroup::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsItemGroup::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsItemGroup::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsItemGroup::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsItemGroup::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsItemGroup::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QGraphicsItemGroup::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsItemGroup::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsItemGroup::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "addToGroup(self, 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, "removeFromGroup(self, 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 611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 311993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsItemGroup(void *, const sipTypeDef *);}
static void *cast_QGraphicsItemGroup(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsItemGroup *sipCpp = reinterpret_cast< ::QGraphicsItemGroup *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsItemGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsItemGroup(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{122, 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(parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsItemGroup = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsItemGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsItemGroup,
        {0},
        &plugin_QGraphicsItemGroup
    },
    {
        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
};

#line 576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 312325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 312329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 312332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 312335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 312338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 312341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 312344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 312347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 312350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 312353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 312356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 312359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 312362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 312365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 312368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 312371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 312374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 312377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 312380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 312383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 312386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 312389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 312392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 312395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 312398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 312401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 312404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 312407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 312410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 312413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 312416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 312419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 312422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 312425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 312428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 312431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 312434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 312437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 312440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    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:
    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()
{
    sipInstanceDestroyed(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_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsSimpleTextItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsSimpleTextItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsSimpleTextItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsSimpleTextItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipQGraphicsSimpleTextItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsSimpleTextItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsSimpleTextItem::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  ::QGraphicsSimpleTextItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[26]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsSimpleTextItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[27]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::QGraphicsSimpleTextItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsSimpleTextItem::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  ::QGraphicsSimpleTextItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsSimpleTextItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsSimpleTextItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsSimpleTextItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsSimpleTextItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsSimpleTextItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsSimpleTextItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "setText(self, 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, "text(self) -> 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, "setFont(self, 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, "font(self) -> 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsSimpleTextItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsSimpleTextItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsSimpleTextItem *sipCpp = reinterpret_cast< ::QGraphicsSimpleTextItem *>(sipCppV);

    if (targetType == sipType_QAbstractGraphicsShapeItem)
        return static_cast< ::QAbstractGraphicsShapeItem *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsSimpleTextItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsSimpleTextItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QGraphicsItem = None)\n"
    "QGraphicsSimpleTextItem(str, parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsSimpleTextItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsSimpleTextItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSimpleTextItem,
        {0},
        &plugin_QGraphicsSimpleTextItem
    },
    {
        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
};

#line 538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 314419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 314423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 314426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 314429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 314432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 314435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 314438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 314441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 314444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 314447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 314450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 314453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 314456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 314459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 314462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 314465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 314468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 314471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 314474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 314477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 314480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 314483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 314486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 314489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 314492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 314495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 314498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 314501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 314504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 314507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 314510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 314513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 314516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 314519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 314522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 314525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 314528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQGraphicsPixmapItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsPixmapItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPainterPath sipQGraphicsPixmapItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsPixmapItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPixmapItem::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  ::QGraphicsPixmapItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPixmapItem::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPixmapItem::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsPixmapItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsPixmapItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQGraphicsPixmapItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsPixmapItem::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsPixmapItem::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsPixmapItem::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsPixmapItem::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPixmapItem::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPixmapItem::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QGraphicsPixmapItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsPixmapItem::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsPixmapItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "pixmap(self) -> 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, "setPixmap(self, 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, "transformationMode(self) -> 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, "setTransformationMode(self, 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, "offset(self) -> 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, "setOffset(self, Union[QPointF, QPoint])\n"
    "setOffset(self, 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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, "shapeMode(self) -> 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, "setShapeMode(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsPixmapItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsPixmapItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsPixmapItem *sipCpp = reinterpret_cast< ::QGraphicsPixmapItem *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsPixmapItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsPixmapItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{122, 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), 137},
    {sipName_HeuristicMaskShape, static_cast<int>( ::QGraphicsPixmapItem::HeuristicMaskShape), 137},
    {sipName_MaskShape, static_cast<int>( ::QGraphicsPixmapItem::MaskShape), 137},
};

PyDoc_STRVAR(doc_QGraphicsPixmapItem, "\1QGraphicsPixmapItem(parent: QGraphicsItem = None)\n"
    "QGraphicsPixmapItem(QPixmap, parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsPixmapItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsPixmapItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsPixmapItem,
        {0},
        &plugin_QGraphicsPixmapItem
    },
    {
        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
};

#line 510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 316640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 316644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qline.sip"
#include <qline.h>
#line 316647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 316650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 316653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 316656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 316659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 316662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 316665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 316668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 316671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 316674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 316677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 316680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 316683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 316686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 316689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 316692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 316695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 316698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 316701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 316704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 316707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 316710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 316713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 316716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 316719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 316722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 316725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 316728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 316731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 316734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 316737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 316740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 316743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 316746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 316749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 316752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQGraphicsLineItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsLineItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsLineItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPainterPath sipQGraphicsLineItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsLineItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsLineItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QGraphicsLineItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsLineItem::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  ::QGraphicsLineItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsLineItem::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsLineItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsLineItem::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QGraphicsLineItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsLineItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsLineItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsLineItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQGraphicsLineItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsLineItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsLineItem::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsLineItem::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QGraphicsLineItem::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsLineItem::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QGraphicsLineItem::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsLineItem::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsLineItem::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QGraphicsLineItem::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsLineItem::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QGraphicsLineItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsLineItem::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QGraphicsLineItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "pen(self) -> 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, "setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])");

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, "line(self) -> 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, "setLine(self, QLineF)\n"
    "setLine(self, 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsLineItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsLineItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsLineItem *sipCpp = reinterpret_cast< ::QGraphicsLineItem *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsLineItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsLineItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{122, 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(parent: QGraphicsItem = None)\n"
    "QGraphicsLineItem(QLineF, parent: QGraphicsItem = None)\n"
    "QGraphicsLineItem(float, float, float, float, parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsLineItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsLineItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLineItem,
        {0},
        &plugin_QGraphicsLineItem
    },
    {
        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
};

#line 484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 318782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 318786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 318789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 318792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 318795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 318798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 318801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 318804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 318807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 318810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 318813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 318816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 318819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 318822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 318825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 318828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 318831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 318834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 318837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 318840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 318843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 318846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 318849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 318852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 318855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 318858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 318861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 318864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 318867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 318870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 318873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 318876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 318879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 318882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 318885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 318888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 318891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 318894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    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:
    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()
{
    sipInstanceDestroyed(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_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsPolygonItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsPolygonItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsPolygonItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsPolygonItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipQGraphicsPolygonItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsPolygonItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsPolygonItem::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  ::QGraphicsPolygonItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[26]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsPolygonItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[27]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::QGraphicsPolygonItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPolygonItem::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  ::QGraphicsPolygonItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsPolygonItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsPolygonItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsPolygonItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsPolygonItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsPolygonItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsPolygonItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "polygon(self) -> 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, "setPolygon(self, 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, "fillRule(self) -> 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, "setFillRule(self, 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsPolygonItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsPolygonItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsPolygonItem *sipCpp = reinterpret_cast< ::QGraphicsPolygonItem *>(sipCppV);

    if (targetType == sipType_QAbstractGraphicsShapeItem)
        return static_cast< ::QAbstractGraphicsShapeItem *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsPolygonItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsPolygonItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QGraphicsItem = None)\n"
    "QGraphicsPolygonItem(QPolygonF, parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsPolygonItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsPolygonItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsPolygonItem,
        {0},
        &plugin_QGraphicsPolygonItem
    },
    {
        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
};

#line 454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 320875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 320879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 320882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 320885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 320888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 320891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 320894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 320897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 320900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 320903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 320906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 320909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 320912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 320915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 320918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 320921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 320924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 320927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 320930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 320933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 320936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 320939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 320942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 320945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 320948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 320951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 320954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 320957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 320960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 320963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 320966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 320969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 320972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 320975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 320978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 320981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 320984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 320987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    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:
    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()
{
    sipInstanceDestroyed(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_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsEllipseItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsEllipseItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsEllipseItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsEllipseItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipQGraphicsEllipseItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsEllipseItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsEllipseItem::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  ::QGraphicsEllipseItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[26]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsEllipseItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[27]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::QGraphicsEllipseItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsEllipseItem::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  ::QGraphicsEllipseItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsEllipseItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsEllipseItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsEllipseItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsEllipseItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsEllipseItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsEllipseItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "rect(self) -> 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, "setRect(self, QRectF)\n"
    "setRect(self, 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, "startAngle(self) -> 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, "setStartAngle(self, 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, "spanAngle(self) -> 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, "setSpanAngle(self, 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsEllipseItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsEllipseItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsEllipseItem *sipCpp = reinterpret_cast< ::QGraphicsEllipseItem *>(sipCppV);

    if (targetType == sipType_QAbstractGraphicsShapeItem)
        return static_cast< ::QAbstractGraphicsShapeItem *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsEllipseItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsEllipseItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QGraphicsItem = None)\n"
    "QGraphicsEllipseItem(QRectF, parent: QGraphicsItem = None)\n"
    "QGraphicsEllipseItem(float, float, float, float, parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsEllipseItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsEllipseItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsEllipseItem,
        {0},
        &plugin_QGraphicsEllipseItem
    },
    {
        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
};

#line 428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 323076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 323080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 323083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 323086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 323089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 323092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 323095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 323098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 323101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 323104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 323107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 323110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 323113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 323116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 323119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 323122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 323125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 323128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 323131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 323134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 323137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 323140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 323143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 323146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 323149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 323152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 323155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 323158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 323161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 323164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 323167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 323170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 323173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 323176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 323179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 323182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 323185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 323188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    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:
    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()
{
    sipInstanceDestroyed(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_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsRectItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsRectItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsRectItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsRectItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipQGraphicsRectItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsRectItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsRectItem::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  ::QGraphicsRectItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[26]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsRectItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[27]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::QGraphicsRectItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsRectItem::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  ::QGraphicsRectItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsRectItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsRectItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsRectItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsRectItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsRectItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsRectItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "rect(self) -> 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, "setRect(self, QRectF)\n"
    "setRect(self, 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsRectItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsRectItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsRectItem *sipCpp = reinterpret_cast< ::QGraphicsRectItem *>(sipCppV);

    if (targetType == sipType_QAbstractGraphicsShapeItem)
        return static_cast< ::QAbstractGraphicsShapeItem *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsRectItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsRectItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QGraphicsItem = None)\n"
    "QGraphicsRectItem(QRectF, parent: QGraphicsItem = None)\n"
    "QGraphicsRectItem(float, float, float, float, parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsRectItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsRectItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsRectItem,
        {0},
        &plugin_QGraphicsRectItem
    },
    {
        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
};

#line 404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 325161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 325165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 325168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 325171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 325174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 325177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 325180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 325183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 325186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 325189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 325192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 325195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 325198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 325201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 325204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 325207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 325210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 325213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 325216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 325219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 325222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 325225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 325228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 325231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 325234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 325237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 325240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 325243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 325246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 325249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 325252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 325255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 325258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 325261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 325264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 325267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 325270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 325273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    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:
    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()
{
    sipInstanceDestroyed(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_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsPathItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QGraphicsPathItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsPathItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsPathItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipQGraphicsPathItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QGraphicsPathItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsPathItem::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  ::QGraphicsPathItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[26]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QGraphicsPathItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[27]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::QGraphicsPathItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPathItem::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  ::QGraphicsPathItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsPathItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QGraphicsPathItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsPathItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::QGraphicsPathItem::boundingRect();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsPathItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QGraphicsPathItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "path(self) -> 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, "setPath(self, 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, "boundingRect(self) -> 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 || sipIsDerivedClass((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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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 || sipIsDerivedClass((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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "type(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsPathItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsPathItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsPathItem *sipCpp = reinterpret_cast< ::QGraphicsPathItem *>(sipCppV);

    if (targetType == sipType_QAbstractGraphicsShapeItem)
        return static_cast< ::QAbstractGraphicsShapeItem *>(sipCpp);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsPathItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsPathItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QGraphicsItem = None)\n"
    "QGraphicsPathItem(QPainterPath, parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsPathItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsPathItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsPathItem,
        {0},
        &plugin_QGraphicsPathItem
    },
    {
        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
};

#line 384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 327196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 327200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 327203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 327206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 327209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 327212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 327215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 327218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 327221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 327224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 327227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 327230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 327233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 327236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 327239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 327242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 327245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 327248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 327251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 327254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 327257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 327260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 327263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 327266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 327269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 327272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 327275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 327278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 327281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 327284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 327287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 327290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 327293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 327296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 327299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 327302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 327305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 327308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQAbstractGraphicsShapeItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::advance(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQAbstractGraphicsShapeItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QAbstractGraphicsShapeItem,sipName_boundingRect);

    if (!sipMeth)
        return  ::QRectF();

    extern  ::QRectF sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPainterPath sipQAbstractGraphicsShapeItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::shape();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractGraphicsShapeItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::contains(a0);

    extern bool sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractGraphicsShapeItem::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  ::QAbstractGraphicsShapeItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractGraphicsShapeItem::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractGraphicsShapeItem::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQAbstractGraphicsShapeItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractGraphicsShapeItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QAbstractGraphicsShapeItem,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQAbstractGraphicsShapeItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::type();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractGraphicsShapeItem::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractGraphicsShapeItem::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractGraphicsShapeItem::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractGraphicsShapeItem::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractGraphicsShapeItem::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::sceneEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractGraphicsShapeItem::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::QAbstractGraphicsShapeItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractGraphicsShapeItem::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QAbstractGraphicsShapeItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "pen(self) -> 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, "setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])");

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, "brush(self) -> 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, "setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QAbstractGraphicsShapeItem(void *, const sipTypeDef *);}
static void *cast_QAbstractGraphicsShapeItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractGraphicsShapeItem *sipCpp = reinterpret_cast< ::QAbstractGraphicsShapeItem *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractGraphicsShapeItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractGraphicsShapeItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{122, 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(parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QAbstractGraphicsShapeItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractGraphicsShapeItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractGraphicsShapeItem,
        {0},
        &plugin_QAbstractGraphicsShapeItem
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 329100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 329104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QGraphicsItem_GraphicsItemFlags___hash__(PyObject *);}
static long slot_QGraphicsItem_GraphicsItemFlags___hash__(PyObject *sipSelf)
{
     ::QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast< ::QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QGraphicsItem::GraphicsItemFlags::Int();
#line 329122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsItem::GraphicsItemFlags::Int() != 0);
#line 329147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsItem::GraphicsItemFlags::Int() != a0->operator QGraphicsItem::GraphicsItemFlags::Int());
#line 329177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsItem::GraphicsItemFlags::Int() == a0->operator QGraphicsItem::GraphicsItemFlags::Int());
#line 329213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsItem::GraphicsItemFlags(*sipCpp ^ a0);
#line 329252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsItem::GraphicsItemFlags(*sipCpp | a0);
#line 329324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QGraphicsItem::GraphicsItemFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QGraphicsItem::GraphicsItemFlags(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 329592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsItem_GraphicsItemFlags[] = {
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___xor__, xor_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___ior__, ior_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___or__, or_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___iand__, iand_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___and__, and_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___invert__, invert_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsItem_GraphicsItemFlags, "\1QGraphicsItem.GraphicsItemFlags()\n"
    "QGraphicsItem.GraphicsItemFlags(Union[QGraphicsItem.GraphicsItemFlags, QGraphicsItem.GraphicsItemFlag])\n"
    "QGraphicsItem.GraphicsItemFlags(QGraphicsItem.GraphicsItemFlags)");


static pyqt5ClassPluginDef plugin_QGraphicsItem_GraphicsItemFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsItem_GraphicsItemFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsItem__GraphicsItemFlags,
        {0},
        &plugin_QGraphicsItem_GraphicsItemFlags
    },
    {
        sipNameNr_GraphicsItemFlags,
        {122, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsItem_GraphicsItemFlags,
    -1,
    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,
    0,
    convertTo_QGraphicsItem_GraphicsItemFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 329678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 329682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 329685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 329688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 329691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 329694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 329697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 329700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 329703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 329706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 329709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 329712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 329715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 329718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 329721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 329724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 329727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 329730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 329733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 329736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 329739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 329742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 329745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 329748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 329751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 329754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 329757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 1012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 329760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 329763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 329766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 329769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 329772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 329775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 329778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 329781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_QtWidgets_156(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_155(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_QtWidgets_154(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_153(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_152(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_151(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_QtWidgets_150(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtWidgets_149(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_148(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_QtWidgets_147(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtWidgets_146(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_145(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_144(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "scene(self) -> 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, "parentItem(self) -> 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, "topLevelItem(self) -> 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, "setParentItem(self, 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, "group(self) -> 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, "setGroup(self, 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, "flags(self) -> 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, "setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = 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, "setFlags(self, Union[QGraphicsItem.GraphicsItemFlags, QGraphicsItem.GraphicsItemFlag])");

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, "toolTip(self) -> 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, "setToolTip(self, 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, "cursor(self) -> 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, "setCursor(self, Union[QCursor, Qt.CursorShape])");

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, "hasCursor(self) -> 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, "unsetCursor(self)");

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, "isVisible(self) -> 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, "setVisible(self, 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, "hide(self)");

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, "show(self)");

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, "isEnabled(self) -> 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, "setEnabled(self, 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, "isSelected(self) -> 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, "setSelected(self, 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, "acceptDrops(self) -> 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, "setAcceptDrops(self, 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, "acceptedMouseButtons(self) -> 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, "setAcceptedMouseButtons(self, Union[Qt.MouseButtons, Qt.MouseButton])");

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, "hasFocus(self) -> 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, "setFocus(self, focusReason: Qt.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, "clearFocus(self)");

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, "pos(self) -> 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, "x(self) -> 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, "y(self) -> 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, "scenePos(self) -> 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, "setPos(self, Union[QPointF, QPoint])\n"
    "setPos(self, 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, "moveBy(self, 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, "ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)\n"
    "ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 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, "advance(self, 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 || sipIsDerivedClass((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, "zValue(self) -> 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, "setZValue(self, 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, "boundingRect(self) -> 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, "childrenBoundingRect(self) -> 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, "sceneBoundingRect(self) -> 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, "shape(self) -> 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 || sipIsDerivedClass((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, "contains(self, Union[QPointF, QPoint]) -> 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 || sipIsDerivedClass((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, "collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = 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 || sipIsDerivedClass((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, "collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = 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 || sipIsDerivedClass((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, "collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) -> object");

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, "isObscuredBy(self, 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 || sipIsDerivedClass((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, "opaqueArea(self) -> 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 || sipIsDerivedClass((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, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = 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, "update(self, rect: QRectF = QRectF())\n"
    "update(self, 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, "mapToItem(self, QGraphicsItem, Union[QPointF, QPoint]) -> QPointF\n"
    "mapToItem(self, QGraphicsItem, QRectF) -> QPolygonF\n"
    "mapToItem(self, QGraphicsItem, QPolygonF) -> QPolygonF\n"
    "mapToItem(self, QGraphicsItem, QPainterPath) -> QPainterPath\n"
    "mapToItem(self, QGraphicsItem, float, float) -> QPointF\n"
    "mapToItem(self, 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, "mapToParent(self, Union[QPointF, QPoint]) -> QPointF\n"
    "mapToParent(self, QRectF) -> QPolygonF\n"
    "mapToParent(self, QPolygonF) -> QPolygonF\n"
    "mapToParent(self, QPainterPath) -> QPainterPath\n"
    "mapToParent(self, float, float) -> QPointF\n"
    "mapToParent(self, 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, "mapToScene(self, Union[QPointF, QPoint]) -> QPointF\n"
    "mapToScene(self, QRectF) -> QPolygonF\n"
    "mapToScene(self, QPolygonF) -> QPolygonF\n"
    "mapToScene(self, QPainterPath) -> QPainterPath\n"
    "mapToScene(self, float, float) -> QPointF\n"
    "mapToScene(self, 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, "mapFromItem(self, QGraphicsItem, Union[QPointF, QPoint]) -> QPointF\n"
    "mapFromItem(self, QGraphicsItem, QRectF) -> QPolygonF\n"
    "mapFromItem(self, QGraphicsItem, QPolygonF) -> QPolygonF\n"
    "mapFromItem(self, QGraphicsItem, QPainterPath) -> QPainterPath\n"
    "mapFromItem(self, QGraphicsItem, float, float) -> QPointF\n"
    "mapFromItem(self, 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, "mapFromParent(self, Union[QPointF, QPoint]) -> QPointF\n"
    "mapFromParent(self, QRectF) -> QPolygonF\n"
    "mapFromParent(self, QPolygonF) -> QPolygonF\n"
    "mapFromParent(self, QPainterPath) -> QPainterPath\n"
    "mapFromParent(self, float, float) -> QPointF\n"
    "mapFromParent(self, 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, "mapFromScene(self, Union[QPointF, QPoint]) -> QPointF\n"
    "mapFromScene(self, QRectF) -> QPolygonF\n"
    "mapFromScene(self, QPolygonF) -> QPolygonF\n"
    "mapFromScene(self, QPainterPath) -> QPainterPath\n"
    "mapFromScene(self, float, float) -> QPointF\n"
    "mapFromScene(self, 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, "isAncestorOf(self, 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, "data(self, int) -> Any");

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, "setData(self, int, Any)");

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, "type(self) -> 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 || sipIsDerivedClass((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, "installSceneEventFilter(self, 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, "removeSceneEventFilter(self, 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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "hoverEnterEvent(self, 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 || sipIsDerivedClass((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, "hoverLeaveEvent(self, 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 || sipIsDerivedClass((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, "hoverMoveEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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 || sipIsDerivedClass((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, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "prepareGeometryChange(self)");

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, "sceneEvent(self, 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 || sipIsDerivedClass((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, "sceneEventFilter(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "transform(self) -> 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, "sceneTransform(self) -> 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, "deviceTransform(self, 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, "setTransform(self, QTransform, combine: bool = 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, "resetTransform(self)");

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, "isObscured(self, rect: QRectF = QRectF()) -> bool\n"
    "isObscured(self, 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, "parentWidget(self) -> 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, "topLevelWidget(self) -> 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, "window(self) -> 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, "childItems(self) -> List[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, "isWidget(self) -> 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, "isWindow(self) -> 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, "cacheMode(self) -> 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, "setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = 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, "isVisibleTo(self, 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, "acceptHoverEvents(self) -> 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, "setAcceptHoverEvents(self, 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, "grabMouse(self)");

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, "ungrabMouse(self)");

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, "grabKeyboard(self)");

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, "ungrabKeyboard(self)");

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, "boundingRegion(self, 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, "boundingRegionGranularity(self) -> 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, "setBoundingRegionGranularity(self, 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, "scroll(self, float, float, rect: QRectF = 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, "commonAncestorItem(self, 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, "isUnderMouse(self) -> 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, "opacity(self) -> 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, "effectiveOpacity(self) -> 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, "setOpacity(self, 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, "itemTransform(self, QGraphicsItem) -> Tuple[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, "isClipped(self) -> 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, "clipPath(self) -> 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, "mapRectToItem(self, QGraphicsItem, QRectF) -> QRectF\n"
    "mapRectToItem(self, 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, "mapRectToParent(self, QRectF) -> QRectF\n"
    "mapRectToParent(self, 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, "mapRectToScene(self, QRectF) -> QRectF\n"
    "mapRectToScene(self, 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, "mapRectFromItem(self, QGraphicsItem, QRectF) -> QRectF\n"
    "mapRectFromItem(self, 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, "mapRectFromParent(self, QRectF) -> QRectF\n"
    "mapRectFromParent(self, 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, "mapRectFromScene(self, QRectF) -> QRectF\n"
    "mapRectFromScene(self, 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, "parentObject(self) -> 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, "panel(self) -> 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, "isPanel(self) -> 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, "toGraphicsObject(self) -> 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, "panelModality(self) -> 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, "setPanelModality(self, 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, "isBlockedByModalPanel(self) -> Tuple[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, "graphicsEffect(self) -> 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, "setGraphicsEffect(self, 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, "acceptTouchEvents(self) -> 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, "setAcceptTouchEvents(self, 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, "filtersChildEvents(self) -> 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, "setFiltersChildEvents(self, 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, "isActive(self) -> 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, "setActive(self, 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, "focusProxy(self) -> 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, "setFocusProxy(self, 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, "focusItem(self) -> 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, "setX(self, 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, "setY(self, 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, "setRotation(self, 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, "rotation(self) -> 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, "setScale(self, 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, "scale(self) -> 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, "transformations(self) -> object");

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, "setTransformations(self, Iterable[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, "transformOriginPoint(self) -> 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, "setTransformOriginPoint(self, Union[QPointF, QPoint])\n"
    "setTransformOriginPoint(self, 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, "stackBefore(self, 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, "inputMethodHints(self) -> 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, "setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])");

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, "updateMicroFocus(self)");

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;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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), 123},
    {sipName_ItemAcceptsInputMethod, static_cast<int>( ::QGraphicsItem::ItemAcceptsInputMethod), 125},
    {sipName_ItemChildAddedChange, static_cast<int>( ::QGraphicsItem::ItemChildAddedChange), 124},
    {sipName_ItemChildRemovedChange, static_cast<int>( ::QGraphicsItem::ItemChildRemovedChange), 124},
    {sipName_ItemClipsChildrenToShape, static_cast<int>( ::QGraphicsItem::ItemClipsChildrenToShape), 125},
    {sipName_ItemClipsToShape, static_cast<int>( ::QGraphicsItem::ItemClipsToShape), 125},
    {sipName_ItemContainsChildrenInShape, static_cast<int>( ::QGraphicsItem::ItemContainsChildrenInShape), 125},
    {sipName_ItemCoordinateCache, static_cast<int>( ::QGraphicsItem::ItemCoordinateCache), 123},
    {sipName_ItemCursorChange, static_cast<int>( ::QGraphicsItem::ItemCursorChange), 124},
    {sipName_ItemCursorHasChanged, static_cast<int>( ::QGraphicsItem::ItemCursorHasChanged), 124},
    {sipName_ItemDoesntPropagateOpacityToChildren, static_cast<int>( ::QGraphicsItem::ItemDoesntPropagateOpacityToChildren), 125},
    {sipName_ItemEnabledChange, static_cast<int>( ::QGraphicsItem::ItemEnabledChange), 124},
    {sipName_ItemEnabledHasChanged, static_cast<int>( ::QGraphicsItem::ItemEnabledHasChanged), 124},
    {sipName_ItemFlagsChange, static_cast<int>( ::QGraphicsItem::ItemFlagsChange), 124},
    {sipName_ItemFlagsHaveChanged, static_cast<int>( ::QGraphicsItem::ItemFlagsHaveChanged), 124},
    {sipName_ItemHasNoContents, static_cast<int>( ::QGraphicsItem::ItemHasNoContents), 125},
    {sipName_ItemIgnoresParentOpacity, static_cast<int>( ::QGraphicsItem::ItemIgnoresParentOpacity), 125},
    {sipName_ItemIgnoresTransformations, static_cast<int>( ::QGraphicsItem::ItemIgnoresTransformations), 125},
    {sipName_ItemIsFocusable, static_cast<int>( ::QGraphicsItem::ItemIsFocusable), 125},
    {sipName_ItemIsMovable, static_cast<int>( ::QGraphicsItem::ItemIsMovable), 125},
    {sipName_ItemIsPanel, static_cast<int>( ::QGraphicsItem::ItemIsPanel), 125},
    {sipName_ItemIsSelectable, static_cast<int>( ::QGraphicsItem::ItemIsSelectable), 125},
    {sipName_ItemMatrixChange, static_cast<int>( ::QGraphicsItem::ItemMatrixChange), 124},
    {sipName_ItemNegativeZStacksBehindParent, static_cast<int>( ::QGraphicsItem::ItemNegativeZStacksBehindParent), 125},
    {sipName_ItemOpacityChange, static_cast<int>( ::QGraphicsItem::ItemOpacityChange), 124},
    {sipName_ItemOpacityHasChanged, static_cast<int>( ::QGraphicsItem::ItemOpacityHasChanged), 124},
    {sipName_ItemParentChange, static_cast<int>( ::QGraphicsItem::ItemParentChange), 124},
    {sipName_ItemParentHasChanged, static_cast<int>( ::QGraphicsItem::ItemParentHasChanged), 124},
    {sipName_ItemPositionChange, static_cast<int>( ::QGraphicsItem::ItemPositionChange), 124},
    {sipName_ItemPositionHasChanged, static_cast<int>( ::QGraphicsItem::ItemPositionHasChanged), 124},
    {sipName_ItemRotationChange, static_cast<int>( ::QGraphicsItem::ItemRotationChange), 124},
    {sipName_ItemRotationHasChanged, static_cast<int>( ::QGraphicsItem::ItemRotationHasChanged), 124},
    {sipName_ItemScaleChange, static_cast<int>( ::QGraphicsItem::ItemScaleChange), 124},
    {sipName_ItemScaleHasChanged, static_cast<int>( ::QGraphicsItem::ItemScaleHasChanged), 124},
    {sipName_ItemSceneChange, static_cast<int>( ::QGraphicsItem::ItemSceneChange), 124},
    {sipName_ItemSceneHasChanged, static_cast<int>( ::QGraphicsItem::ItemSceneHasChanged), 124},
    {sipName_ItemScenePositionHasChanged, static_cast<int>( ::QGraphicsItem::ItemScenePositionHasChanged), 124},
    {sipName_ItemSelectedChange, static_cast<int>( ::QGraphicsItem::ItemSelectedChange), 124},
    {sipName_ItemSelectedHasChanged, static_cast<int>( ::QGraphicsItem::ItemSelectedHasChanged), 124},
    {sipName_ItemSendsGeometryChanges, static_cast<int>( ::QGraphicsItem::ItemSendsGeometryChanges), 125},
    {sipName_ItemSendsScenePositionChanges, static_cast<int>( ::QGraphicsItem::ItemSendsScenePositionChanges), 125},
    {sipName_ItemStacksBehindParent, static_cast<int>( ::QGraphicsItem::ItemStacksBehindParent), 125},
    {sipName_ItemToolTipChange, static_cast<int>( ::QGraphicsItem::ItemToolTipChange), 124},
    {sipName_ItemToolTipHasChanged, static_cast<int>( ::QGraphicsItem::ItemToolTipHasChanged), 124},
    {sipName_ItemTransformChange, static_cast<int>( ::QGraphicsItem::ItemTransformChange), 124},
    {sipName_ItemTransformHasChanged, static_cast<int>( ::QGraphicsItem::ItemTransformHasChanged), 124},
    {sipName_ItemTransformOriginPointChange, static_cast<int>( ::QGraphicsItem::ItemTransformOriginPointChange), 124},
    {sipName_ItemTransformOriginPointHasChanged, static_cast<int>( ::QGraphicsItem::ItemTransformOriginPointHasChanged), 124},
    {sipName_ItemUsesExtendedStyleOption, static_cast<int>( ::QGraphicsItem::ItemUsesExtendedStyleOption), 125},
    {sipName_ItemVisibleChange, static_cast<int>( ::QGraphicsItem::ItemVisibleChange), 124},
    {sipName_ItemVisibleHasChanged, static_cast<int>( ::QGraphicsItem::ItemVisibleHasChanged), 124},
    {sipName_ItemZValueChange, static_cast<int>( ::QGraphicsItem::ItemZValueChange), 124},
    {sipName_ItemZValueHasChanged, static_cast<int>( ::QGraphicsItem::ItemZValueHasChanged), 124},
    {sipName_NoCache, static_cast<int>( ::QGraphicsItem::NoCache), 123},
    {sipName_NonModal, static_cast<int>( ::QGraphicsItem::NonModal), 127},
    {sipName_PanelModal, static_cast<int>( ::QGraphicsItem::PanelModal), 127},
    {sipName_SceneModal, static_cast<int>( ::QGraphicsItem::SceneModal), 127},
};


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(parent: QGraphicsItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsItem,
        {0},
        &plugin_QGraphicsItem
    },
    {
        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,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsgridlayout.sip"
#include <qgraphicsgridlayout.h>
#line 336249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 336253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 336256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 336259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 336262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 336265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 336268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 336271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 336274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void invalidate();
    void widgetEvent( ::QEvent*);
    int count() const;
     ::QGraphicsLayoutItem* itemAt(int) const;
    void removeAt(int);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QSizeF sipQGraphicsGridLayout::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGraphicsGridLayout::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_QtWidgets_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_QtWidgets_140(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsGridLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::QGraphicsGridLayout::updateGeometry();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_QtWidgets_139(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsGridLayout::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QGraphicsGridLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_QtWidgets_138(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsGridLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QGraphicsGridLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsGridLayout::widgetEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
         ::QGraphicsGridLayout::widgetEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsGridLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return  ::QGraphicsGridLayout::count();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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_141(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_141(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsGridLayout::removeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_removeAt);

    if (!sipMeth)
    {
         ::QGraphicsGridLayout::removeAt(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, "setGraphicsItem(self, 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, "setOwnedByLayout(self, 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, "addChildLayoutItem(self, 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, "addItem(self, QGraphicsLayoutItem, int, int, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())\n"
    "addItem(self, QGraphicsLayoutItem, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())");

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 = Qt::Alignment();
         ::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 = Qt::Alignment();
         ::Qt::Alignment* a3 = &a3def;
        int a3State = 0;
         ::QGraphicsGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:ii|J1", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, &a1, &a2, sipType_Qt_Alignment, &a3, &a3State))
        {
            sipCpp->addItem(a0,a1,a2,*a3);
            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, "setHorizontalSpacing(self, 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, "horizontalSpacing(self) -> 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, "setVerticalSpacing(self, 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, "verticalSpacing(self) -> 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, "setSpacing(self, 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, "setRowSpacing(self, 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, "rowSpacing(self, 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, "setColumnSpacing(self, 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, "columnSpacing(self, 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, "setRowStretchFactor(self, 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, "rowStretchFactor(self, 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, "setColumnStretchFactor(self, 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, "columnStretchFactor(self, 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, "setRowMinimumHeight(self, 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, "rowMinimumHeight(self, 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, "setRowPreferredHeight(self, 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, "rowPreferredHeight(self, 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, "setRowMaximumHeight(self, 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, "rowMaximumHeight(self, 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, "setRowFixedHeight(self, 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, "setColumnMinimumWidth(self, 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, "columnMinimumWidth(self, 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, "setColumnPreferredWidth(self, 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, "columnPreferredWidth(self, 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, "setColumnMaximumWidth(self, 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, "columnMaximumWidth(self, 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, "setColumnFixedWidth(self, 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, "setRowAlignment(self, int, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "rowAlignment(self, 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, "setColumnAlignment(self, int, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "columnAlignment(self, 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, "setAlignment(self, QGraphicsLayoutItem, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "alignment(self, 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, "rowCount(self) -> 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, "columnCount(self) -> 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, "itemAt(self, int, int) -> QGraphicsLayoutItem\n"
    "itemAt(self, 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 || sipIsDerivedClass((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, "count(self) -> 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 || sipIsDerivedClass((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, "removeAt(self, 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 || sipIsDerivedClass((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.9-1.i686/build/py3/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 337778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "invalidate(self)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "sizeHint(self, Qt.SizeHint, constraint: QSizeF = 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 || sipIsDerivedClass((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, "removeItem(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsGridLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsGridLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsGridLayout *sipCpp = reinterpret_cast< ::QGraphicsGridLayout *>(sipCppV);

    if (targetType == sipType_QGraphicsLayout)
        return static_cast< ::QGraphicsLayout *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsGridLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsGridLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{129, 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(parent: QGraphicsLayoutItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsGridLayout = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsGridLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsGridLayout,
        {0},
        &plugin_QGraphicsGridLayout
    },
    {
        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
};

#line 180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 338096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 338100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 338103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 338106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 338109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 338112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 338115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 338118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 338121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 338124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 338127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 338130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 338133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 338136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 338139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 338142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 338145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 338148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 338151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 338154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 338157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 338160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 338163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 338166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
     ::QRectF boundingRectFor(const  ::QRectF&) const;
    void draw( ::QPainter*);
    void sourceChanged( ::QGraphicsEffect::ChangeFlags);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsOpacityEffect::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsOpacityEffect);

    return  ::QGraphicsOpacityEffect::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsOpacityEffect::boundingRectFor(const  ::QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return  ::QGraphicsOpacityEffect::boundingRectFor(a0);

    extern  ::QRectF sipVH_QtWidgets_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    return sipVH_QtWidgets_142(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::draw( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
         ::QGraphicsOpacityEffect::draw(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::sourceChanged( ::QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
         ::QGraphicsOpacityEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_143(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_143(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 338556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 338616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "sourceChanged(self, Union[QGraphicsEffect.ChangeFlags, QGraphicsEffect.ChangeFlag])");

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 || sipIsDerivedClass((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, "updateBoundingRect(self)");

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, "sourceIsPixmap(self) -> 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, "sourceBoundingRect(self, system: Qt.CoordinateSystem = 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, "drawSource(self, 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, "sourcePixmap(self, system: Qt.CoordinateSystem = Qt.LogicalCoordinates, mode: QGraphicsEffect.PixmapPadMode = QGraphicsEffect.PadToEffectiveBoundingRect) -> Tuple[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, "opacity(self) -> 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, "opacityMask(self) -> 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, "setOpacity(self, 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, "setOpacityMask(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])");

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, "draw(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsOpacityEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsOpacityEffect(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsOpacityEffect *sipCpp = reinterpret_cast< ::QGraphicsOpacityEffect *>(sipCppV);

    if (targetType == sipType_QGraphicsEffect)
        return static_cast< ::QGraphicsEffect *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsOpacityEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsOpacityEffect(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{116, 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}
};

PyDoc_STRVAR(doc_QGraphicsOpacityEffect, "\1QGraphicsOpacityEffect(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsOpacityEffect[] = {
    {"opacityMaskChanged(QBrush)", "\1opacityMaskChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])", 0, 0},
    {"opacityChanged(qreal)", "\1opacityChanged(self, float)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsOpacityEffect = {
    & ::QGraphicsOpacityEffect::staticMetaObject,
    0,
    signals_QGraphicsOpacityEffect,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsOpacityEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsOpacityEffect,
        {0},
        &plugin_QGraphicsOpacityEffect
    },
    {
        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
};

#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 339333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 339337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 339340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 339343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 339346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 339349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 339352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 339355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 339358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 339361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 339364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 339367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 339370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 339373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 339376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 339379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 339382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 339385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 339388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 339391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 339394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 339397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 339400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 339403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 339406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
     ::QRectF boundingRectFor(const  ::QRectF&) const;
    void draw( ::QPainter*);
    void sourceChanged( ::QGraphicsEffect::ChangeFlags);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsDropShadowEffect::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsDropShadowEffect);

    return  ::QGraphicsDropShadowEffect::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsDropShadowEffect::boundingRectFor(const  ::QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return  ::QGraphicsDropShadowEffect::boundingRectFor(a0);

    extern  ::QRectF sipVH_QtWidgets_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    return sipVH_QtWidgets_142(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsDropShadowEffect::sourceChanged( ::QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
         ::QGraphicsDropShadowEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_143(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_143(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 339796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 339856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "sourceChanged(self, Union[QGraphicsEffect.ChangeFlags, QGraphicsEffect.ChangeFlag])");

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 || sipIsDerivedClass((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, "updateBoundingRect(self)");

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, "sourceIsPixmap(self) -> 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, "sourceBoundingRect(self, system: Qt.CoordinateSystem = 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, "drawSource(self, 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, "sourcePixmap(self, system: Qt.CoordinateSystem = Qt.LogicalCoordinates, mode: QGraphicsEffect.PixmapPadMode = QGraphicsEffect.PadToEffectiveBoundingRect) -> Tuple[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, "boundingRectFor(self, 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 || sipIsDerivedClass((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, "offset(self) -> 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, "xOffset(self) -> 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, "yOffset(self) -> 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, "blurRadius(self) -> 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, "color(self) -> 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, "setOffset(self, Union[QPointF, QPoint])\n"
    "setOffset(self, float, float)\n"
    "setOffset(self, 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, "setXOffset(self, 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, "setYOffset(self, 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, "setBlurRadius(self, 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, "setColor(self, Union[QColor, Qt.GlobalColor, QGradient])");

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, "draw(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsDropShadowEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsDropShadowEffect(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsDropShadowEffect *sipCpp = reinterpret_cast< ::QGraphicsDropShadowEffect *>(sipCppV);

    if (targetType == sipType_QGraphicsEffect)
        return static_cast< ::QGraphicsEffect *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsDropShadowEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsDropShadowEffect(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{116, 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)}
};

PyDoc_STRVAR(doc_QGraphicsDropShadowEffect, "\1QGraphicsDropShadowEffect(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsDropShadowEffect[] = {
    {"colorChanged(QColor)", "\1colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient])", 0, 0},
    {"blurRadiusChanged(qreal)", "\1blurRadiusChanged(self, float)", 0, 0},
    {"offsetChanged(QPointF)", "\1offsetChanged(self, Union[QPointF, QPoint])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsDropShadowEffect = {
    & ::QGraphicsDropShadowEffect::staticMetaObject,
    0,
    signals_QGraphicsDropShadowEffect,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsDropShadowEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsDropShadowEffect,
        {0},
        &plugin_QGraphicsDropShadowEffect
    },
    {
        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
};

#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 340812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 340816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QGraphicsBlurEffect_BlurHints___hash__(PyObject *);}
static long slot_QGraphicsBlurEffect_BlurHints___hash__(PyObject *sipSelf)
{
     ::QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast< ::QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QGraphicsBlurEffect::BlurHints::Int();
#line 340834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsBlurEffect::BlurHints::Int() != 0);
#line 340859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsBlurEffect::BlurHints::Int() != a0->operator QGraphicsBlurEffect::BlurHints::Int());
#line 340889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsBlurEffect::BlurHints::Int() == a0->operator QGraphicsBlurEffect::BlurHints::Int());
#line 340925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsBlurEffect::BlurHints(*sipCpp ^ a0);
#line 340964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsBlurEffect::BlurHints(*sipCpp | a0);
#line 341036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QGraphicsBlurEffect::BlurHints();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QGraphicsBlurEffect::BlurHints(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 341304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsBlurEffect_BlurHints[] = {
    {(void *)slot_QGraphicsBlurEffect_BlurHints___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___xor__, xor_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___ior__, ior_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___or__, or_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___iand__, iand_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___and__, and_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___invert__, invert_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsBlurEffect_BlurHints, "\1QGraphicsBlurEffect.BlurHints()\n"
    "QGraphicsBlurEffect.BlurHints(Union[QGraphicsBlurEffect.BlurHints, QGraphicsBlurEffect.BlurHint])\n"
    "QGraphicsBlurEffect.BlurHints(QGraphicsBlurEffect.BlurHints)");


static pyqt5ClassPluginDef plugin_QGraphicsBlurEffect_BlurHints = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsBlurEffect_BlurHints = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsBlurEffect__BlurHints,
        {0},
        &plugin_QGraphicsBlurEffect_BlurHints
    },
    {
        sipNameNr_BlurHints,
        {111, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsBlurEffect_BlurHints,
    -1,
    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,
    0,
    convertTo_QGraphicsBlurEffect_BlurHints,
    0,
    0,
    0,
    0,
    0
};

#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 341390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 341394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 341397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 341400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 341403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 341406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 341409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 341412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 341415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 341418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 341421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 341424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 341427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 341430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 341433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 341436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 341439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 341442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 341445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 341448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 341451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 341454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 341457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 341460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
     ::QRectF boundingRectFor(const  ::QRectF&) const;
    void draw( ::QPainter*);
    void sourceChanged( ::QGraphicsEffect::ChangeFlags);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsBlurEffect::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsBlurEffect);

    return  ::QGraphicsBlurEffect::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsBlurEffect::boundingRectFor(const  ::QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return  ::QGraphicsBlurEffect::boundingRectFor(a0);

    extern  ::QRectF sipVH_QtWidgets_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    return sipVH_QtWidgets_142(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsBlurEffect::sourceChanged( ::QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
         ::QGraphicsBlurEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_143(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_143(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 341850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 341910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "sourceChanged(self, Union[QGraphicsEffect.ChangeFlags, QGraphicsEffect.ChangeFlag])");

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 || sipIsDerivedClass((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, "updateBoundingRect(self)");

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, "sourceIsPixmap(self) -> 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, "sourceBoundingRect(self, system: Qt.CoordinateSystem = 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, "drawSource(self, 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, "sourcePixmap(self, system: Qt.CoordinateSystem = Qt.LogicalCoordinates, mode: QGraphicsEffect.PixmapPadMode = QGraphicsEffect.PadToEffectiveBoundingRect) -> Tuple[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, "boundingRectFor(self, 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 || sipIsDerivedClass((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, "blurRadius(self) -> 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, "blurHints(self) -> 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, "setBlurRadius(self, 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, "setBlurHints(self, Union[QGraphicsBlurEffect.BlurHints, QGraphicsBlurEffect.BlurHint])");

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, "draw(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsBlurEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsBlurEffect(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsBlurEffect *sipCpp = reinterpret_cast< ::QGraphicsBlurEffect *>(sipCppV);

    if (targetType == sipType_QGraphicsEffect)
        return static_cast< ::QGraphicsEffect *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsBlurEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsBlurEffect(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{116, 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), 112},
    {sipName_PerformanceHint, static_cast<int>( ::QGraphicsBlurEffect::PerformanceHint), 112},
    {sipName_QualityHint, static_cast<int>( ::QGraphicsBlurEffect::QualityHint), 112},
};

PyDoc_STRVAR(doc_QGraphicsBlurEffect, "\1QGraphicsBlurEffect(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsBlurEffect[] = {
    {"blurHintsChanged(QGraphicsBlurEffect::BlurHints)", "\1blurHintsChanged(self, Union[QGraphicsBlurEffect.BlurHints, QGraphicsBlurEffect.BlurHint])", 0, 0},
    {"blurRadiusChanged(qreal)", "\1blurRadiusChanged(self, float)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsBlurEffect = {
    & ::QGraphicsBlurEffect::staticMetaObject,
    0,
    signals_QGraphicsBlurEffect,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsBlurEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsBlurEffect,
        {0},
        &plugin_QGraphicsBlurEffect
    },
    {
        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
};

#line 78 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 342664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 342668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 342671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 342674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 342677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 342680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 342683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 342686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 342689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 342692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 342695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 342698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 342701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 342704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 342707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 342710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 342713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 342716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 342719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 342722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 342725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 342728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 342731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 342734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
     ::QRectF boundingRectFor(const  ::QRectF&) const;
    void draw( ::QPainter*);
    void sourceChanged( ::QGraphicsEffect::ChangeFlags);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsColorizeEffect::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsColorizeEffect);

    return  ::QGraphicsColorizeEffect::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsColorizeEffect::boundingRectFor(const  ::QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return  ::QGraphicsColorizeEffect::boundingRectFor(a0);

    extern  ::QRectF sipVH_QtWidgets_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    return sipVH_QtWidgets_142(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::draw( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
         ::QGraphicsColorizeEffect::draw(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::sourceChanged( ::QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
         ::QGraphicsColorizeEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_143(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_143(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 343124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 343184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "sourceChanged(self, Union[QGraphicsEffect.ChangeFlags, QGraphicsEffect.ChangeFlag])");

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 || sipIsDerivedClass((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, "updateBoundingRect(self)");

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, "sourceIsPixmap(self) -> 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, "sourceBoundingRect(self, system: Qt.CoordinateSystem = 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, "drawSource(self, 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, "sourcePixmap(self, system: Qt.CoordinateSystem = Qt.LogicalCoordinates, mode: QGraphicsEffect.PixmapPadMode = QGraphicsEffect.PadToEffectiveBoundingRect) -> Tuple[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, "color(self) -> 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, "strength(self) -> 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, "setColor(self, Union[QColor, Qt.GlobalColor, QGradient])");

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, "setStrength(self, 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, "draw(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsColorizeEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsColorizeEffect(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsColorizeEffect *sipCpp = reinterpret_cast< ::QGraphicsColorizeEffect *>(sipCppV);

    if (targetType == sipType_QGraphicsEffect)
        return static_cast< ::QGraphicsEffect *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsColorizeEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsColorizeEffect(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{116, 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}
};

PyDoc_STRVAR(doc_QGraphicsColorizeEffect, "\1QGraphicsColorizeEffect(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsColorizeEffect[] = {
    {"strengthChanged(qreal)", "\1strengthChanged(self, float)", 0, 0},
    {"colorChanged(QColor)", "\1colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsColorizeEffect = {
    & ::QGraphicsColorizeEffect::staticMetaObject,
    0,
    signals_QGraphicsColorizeEffect,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsColorizeEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsColorizeEffect,
        {0},
        &plugin_QGraphicsColorizeEffect
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 343901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 343905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QGraphicsEffect_ChangeFlags___hash__(PyObject *);}
static long slot_QGraphicsEffect_ChangeFlags___hash__(PyObject *sipSelf)
{
     ::QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast< ::QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QGraphicsEffect::ChangeFlags::Int();
#line 343923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsEffect::ChangeFlags::Int() != 0);
#line 343948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsEffect::ChangeFlags::Int() != a0->operator QGraphicsEffect::ChangeFlags::Int());
#line 343978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsEffect::ChangeFlags::Int() == a0->operator QGraphicsEffect::ChangeFlags::Int());
#line 344014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsEffect::ChangeFlags(*sipCpp ^ a0);
#line 344053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QGraphicsEffect::ChangeFlags(*sipCpp | a0);
#line 344125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QGraphicsEffect::ChangeFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QGraphicsEffect::ChangeFlags(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 344393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsEffect_ChangeFlags[] = {
    {(void *)slot_QGraphicsEffect_ChangeFlags___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___xor__, xor_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___ior__, ior_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___or__, or_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___iand__, iand_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___and__, and_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___invert__, invert_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsEffect_ChangeFlags, "\1QGraphicsEffect.ChangeFlags()\n"
    "QGraphicsEffect.ChangeFlags(Union[QGraphicsEffect.ChangeFlags, QGraphicsEffect.ChangeFlag])\n"
    "QGraphicsEffect.ChangeFlags(QGraphicsEffect.ChangeFlags)");


static pyqt5ClassPluginDef plugin_QGraphicsEffect_ChangeFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsEffect_ChangeFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsEffect__ChangeFlags,
        {0},
        &plugin_QGraphicsEffect_ChangeFlags
    },
    {
        sipNameNr_ChangeFlags,
        {116, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsEffect_ChangeFlags,
    -1,
    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,
    0,
    convertTo_QGraphicsEffect_ChangeFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 344479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 344483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 344486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 344489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 344492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 344495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 344498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 344501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 344504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 344507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 344510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 344513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 344516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 344519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 344522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 344525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 344528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 344531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 344534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 344537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 344540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 344543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 sourceChanged( ::QGraphicsEffect::ChangeFlags);
    void draw( ::QPainter*);
     ::QRectF boundingRectFor(const  ::QRectF&) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGraphicsEffect::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsEffect);

    return  ::QGraphicsEffect::metaObject();
}

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::sourceChanged( ::QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
         ::QGraphicsEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_143(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_143(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::draw( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QGraphicsEffect,sipName_draw);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRectF sipQGraphicsEffect::boundingRectFor(const  ::QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return  ::QGraphicsEffect::boundingRectFor(a0);

    extern  ::QRectF sipVH_QtWidgets_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    return sipVH_QtWidgets_142(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsEffect::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGraphicsEffect::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsEffect::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGraphicsEffect::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsEffect::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGraphicsEffect::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QGraphicsEffect::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGraphicsEffect::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGraphicsEffect::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGraphicsEffect::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 344930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 344990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "boundingRectFor(self, 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 || sipIsDerivedClass((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, "boundingRect(self) -> 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, "isEnabled(self) -> 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, "setEnabled(self, 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, "update(self)");

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, "draw(self, 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, "sourceChanged(self, Union[QGraphicsEffect.ChangeFlags, QGraphicsEffect.ChangeFlag])");

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 || sipIsDerivedClass((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, "updateBoundingRect(self)");

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, "sourceIsPixmap(self) -> 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, "sourceBoundingRect(self, system: Qt.CoordinateSystem = 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, "drawSource(self, 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, "sourcePixmap(self, system: Qt.CoordinateSystem = Qt.LogicalCoordinates, mode: QGraphicsEffect.PixmapPadMode = QGraphicsEffect.PadToEffectiveBoundingRect) -> Tuple[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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsEffect(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsEffect *sipCpp = reinterpret_cast< ::QGraphicsEffect *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsEffect(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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), 119},
    {sipName_PadToEffectiveBoundingRect, static_cast<int>( ::QGraphicsEffect::PadToEffectiveBoundingRect), 119},
    {sipName_PadToTransparentBorder, static_cast<int>( ::QGraphicsEffect::PadToTransparentBorder), 119},
    {sipName_SourceAttached, static_cast<int>( ::QGraphicsEffect::SourceAttached), 117},
    {sipName_SourceBoundingRectChanged, static_cast<int>( ::QGraphicsEffect::SourceBoundingRectChanged), 117},
    {sipName_SourceDetached, static_cast<int>( ::QGraphicsEffect::SourceDetached), 117},
    {sipName_SourceInvalidated, static_cast<int>( ::QGraphicsEffect::SourceInvalidated), 117},
};

PyDoc_STRVAR(doc_QGraphicsEffect, "\1QGraphicsEffect(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsEffect[] = {
    {"enabledChanged(bool)", "\1enabledChanged(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QGraphicsEffect = {
    & ::QGraphicsEffect::staticMetaObject,
    0,
    signals_QGraphicsEffect,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsEffect,
        {0},
        &plugin_QGraphicsEffect
    },
    {
        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
};

#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 345747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 345751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 345754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 345757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 345760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 345763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 345766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 345769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 345772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 345775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void invalidate();
    void widgetEvent( ::QEvent*);
    int count() const;
     ::QGraphicsLayoutItem* itemAt(int) const;
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QSizeF sipQGraphicsAnchorLayout::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QGraphicsAnchorLayout::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_QtWidgets_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_QtWidgets_140(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsAnchorLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::QGraphicsAnchorLayout::updateGeometry();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_QtWidgets_139(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsAnchorLayout::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QGraphicsAnchorLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_QtWidgets_138(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsAnchorLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QGraphicsAnchorLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsAnchorLayout::widgetEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
         ::QGraphicsAnchorLayout::widgetEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QGraphicsLayoutItem* sipQGraphicsAnchorLayout::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  ::QGraphicsAnchorLayout::itemAt(a0);

    extern  ::QGraphicsLayoutItem* sipVH_QtWidgets_141(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_141(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "setGraphicsItem(self, 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, "setOwnedByLayout(self, 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, "addChildLayoutItem(self, 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, "addAnchor(self, 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, "anchor(self, 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, "addCornerAnchors(self, 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, "addAnchors(self, QGraphicsLayoutItem, QGraphicsLayoutItem, orientations: Union[Qt.Orientations, Qt.Orientation] = 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, "setHorizontalSpacing(self, 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, "setVerticalSpacing(self, 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, "setSpacing(self, 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, "horizontalSpacing(self) -> 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, "verticalSpacing(self) -> 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, "removeAt(self, 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "count(self) -> 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 || sipIsDerivedClass((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, "itemAt(self, 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 || sipIsDerivedClass((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, "invalidate(self)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "sizeHint(self, Qt.SizeHint, constraint: QSizeF = 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsAnchorLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsAnchorLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsAnchorLayout *sipCpp = reinterpret_cast< ::QGraphicsAnchorLayout *>(sipCppV);

    if (targetType == sipType_QGraphicsLayout)
        return static_cast< ::QGraphicsLayout *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsAnchorLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsAnchorLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{129, 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(parent: QGraphicsLayoutItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsAnchorLayout = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsAnchorLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsAnchorLayout,
        {0},
        &plugin_QGraphicsAnchorLayout
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 346696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 346700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 346703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 346706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 346709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 346712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 346715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 346718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    void removeAt(int);
     ::QGraphicsLayoutItem* itemAt(int) const;
    int count() const;
    void widgetEvent( ::QEvent*);
    void invalidate();
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQGraphicsLayout::removeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QGraphicsLayout,sipName_removeAt);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QGraphicsLayoutItem* sipQGraphicsLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QGraphicsLayout,sipName_itemAt);

    if (!sipMeth)
        return 0;

    extern  ::QGraphicsLayoutItem* sipVH_QtWidgets_141(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_141(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_QGraphicsLayout,sipName_count);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsLayout::widgetEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
         ::QGraphicsLayout::widgetEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QGraphicsLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsLayout::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QGraphicsLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_QtWidgets_138(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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[6]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::QGraphicsLayout::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_QtWidgets_139(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::QGraphicsLayout::updateGeometry();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSizeF sipQGraphicsLayout::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_QGraphicsLayout,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSizeF();

    extern  ::QSizeF sipVH_QtWidgets_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_QtWidgets_140(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::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, "sizeHint(self, Qt.SizeHint, constraint: QSizeF = 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, "setGraphicsItem(self, 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, "setOwnedByLayout(self, 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, "setContentsMargins(self, 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, "getContentsMargins(self) -> Tuple[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 || sipIsDerivedClass((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, "activate(self)");

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, "isActivated(self) -> 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, "invalidate(self)");

extern "C" {static PyObject *meth_QGraphicsLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "widgetEvent(self, 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 || sipIsDerivedClass((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, "count(self) -> 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, "itemAt(self, 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, "removeAt(self, 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, "updateGeometry(self)");

extern "C" {static PyObject *meth_QGraphicsLayout_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "addChildLayoutItem(self, 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 347392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsLayout *sipCpp = reinterpret_cast< ::QGraphicsLayout *>(sipCppV);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGraphicsLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{130, 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(parent: QGraphicsLayoutItem = None)");


static pyqt5ClassPluginDef plugin_QGraphicsLayout = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLayout,
        {0},
        &plugin_QGraphicsLayout
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 347556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 347560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 347563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 347566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 347569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 347572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 347575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 347578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 347581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 347584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 347587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 347590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 347593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 347596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 347599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 347602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 347605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 347608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 347611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsAnchor_setSpacing, "setSpacing(self, 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, "unsetSpacing(self)");

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, "spacing(self) -> 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, "setSizePolicy(self, 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, "sizePolicy(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGraphicsAnchor(void *, const sipTypeDef *);}
static void *cast_QGraphicsAnchor(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGraphicsAnchor *sipCpp = reinterpret_cast< ::QGraphicsAnchor *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_QGraphicsAnchor(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsAnchor[] = {{32, 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)}
};


static pyqt5ClassPluginDef plugin_QGraphicsAnchor = {
    & ::QGraphicsAnchor::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsAnchor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsAnchor,
        {0},
        &plugin_QGraphicsAnchor
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 347861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 347865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QGestureRecognizer_Result___hash__(PyObject *);}
static long slot_QGestureRecognizer_Result___hash__(PyObject *sipSelf)
{
     ::QGestureRecognizer::Result *sipCpp = reinterpret_cast< ::QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QGestureRecognizer::Result::Int();
#line 347883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGestureRecognizer::Result::Int() != 0);
#line 347908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGestureRecognizer::Result::Int() != a0->operator QGestureRecognizer::Result::Int());
#line 347938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGestureRecognizer::Result::Int() == a0->operator QGestureRecognizer::Result::Int());
#line 347974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QGestureRecognizer::Result(*sipCpp ^ a0);
#line 348013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QGestureRecognizer::Result(*sipCpp | a0);
#line 348085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___or__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QGestureRecognizer::Result();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QGestureRecognizer::Result(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 348353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGestureRecognizer_Result[] = {
    {(void *)slot_QGestureRecognizer_Result___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QGestureRecognizer_Result___xor__, xor_slot},
    {(void *)slot_QGestureRecognizer_Result___ior__, ior_slot},
    {(void *)slot_QGestureRecognizer_Result___or__, or_slot},
    {(void *)slot_QGestureRecognizer_Result___iand__, iand_slot},
    {(void *)slot_QGestureRecognizer_Result___and__, and_slot},
    {(void *)slot_QGestureRecognizer_Result___invert__, invert_slot},
    {(void *)slot_QGestureRecognizer_Result___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGestureRecognizer_Result, "\1QGestureRecognizer.Result()\n"
    "QGestureRecognizer.Result(Union[QGestureRecognizer.Result, QGestureRecognizer.ResultFlag])\n"
    "QGestureRecognizer.Result(QGestureRecognizer.Result)");


static pyqt5ClassPluginDef plugin_QGestureRecognizer_Result = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGestureRecognizer_Result = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGestureRecognizer__Result,
        {0},
        &plugin_QGestureRecognizer_Result
    },
    {
        sipNameNr_Result,
        {106, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGestureRecognizer_Result,
    -1,
    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,
    0,
    convertTo_QGestureRecognizer_Result,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 348439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 348446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 348449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 348452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 348455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGesture*);

    sipVH_QtWidgets_137(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGesture*, ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_136(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_135(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    return sipVH_QtWidgets_135(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QGestureRecognizer_create, "create(self, 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 || sipIsDerivedClass((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, "recognize(self, 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, "reset(self, 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 || sipIsDerivedClass((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, "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, "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;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGestureRecognizer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGestureRecognizer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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), 108},
    {sipName_ConsumeEventHint, static_cast<int>( ::QGestureRecognizer::ConsumeEventHint), 108},
    {sipName_FinishGesture, static_cast<int>( ::QGestureRecognizer::FinishGesture), 108},
    {sipName_Ignore, static_cast<int>( ::QGestureRecognizer::Ignore), 108},
    {sipName_MayBeGesture, static_cast<int>( ::QGestureRecognizer::MayBeGesture), 108},
    {sipName_TriggerGesture, static_cast<int>( ::QGestureRecognizer::TriggerGesture), 108},
};

PyDoc_STRVAR(doc_QGestureRecognizer, "\1QGestureRecognizer()\n"
    "QGestureRecognizer(QGestureRecognizer)");


static pyqt5ClassPluginDef plugin_QGestureRecognizer = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGestureRecognizer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGestureRecognizer,
        {0},
        &plugin_QGestureRecognizer
    },
    {
        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,
    -1,
    -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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 348838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 348842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 348845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 348848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 348851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 348857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QGestureEvent_gestures, "gestures(self) -> List[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, "gesture(self, 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, "activeGestures(self) -> List[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, "canceledGestures(self) -> List[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, "setAccepted(self, bool)\n"
    "setAccepted(self, QGesture, bool)\n"
    "setAccepted(self, 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, "isAccepted(self) -> bool\n"
    "isAccepted(self, QGesture) -> bool\n"
    "isAccepted(self, 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, "accept(self)\n"
    "accept(self, QGesture)\n"
    "accept(self, 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, "ignore(self)\n"
    "ignore(self, QGesture)\n"
    "ignore(self, 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, "widget(self) -> 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, "mapToGraphicsScene(self, Union[QPointF, QPoint]) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGestureEvent(void *, const sipTypeDef *);}
static void *cast_QGestureEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGestureEvent *sipCpp = reinterpret_cast< ::QGestureEvent *>(sipCppV);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGestureEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGestureEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{12, 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(object)\n"
    "QGestureEvent(QGestureEvent)");


static pyqt5ClassPluginDef plugin_QGestureEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGestureEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGestureEvent,
        {0},
        &plugin_QGestureEvent
    },
    {
        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
};

#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 349450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 349454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 349457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 349460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 349463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 349466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 349469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 349472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 349475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 349478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 349481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 349484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 349487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 349490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 349493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 349496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 349499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 349502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 349505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTapAndHoldGesture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTapAndHoldGesture);

    return  ::QTapAndHoldGesture::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 349799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 349859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "position(self) -> 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, "setPosition(self, Union[QPointF, QPoint])");

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, "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, "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 inheritance hierarchy. */
extern "C" {static void *cast_QTapAndHoldGesture(void *, const sipTypeDef *);}
static void *cast_QTapAndHoldGesture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTapAndHoldGesture *sipCpp = reinterpret_cast< ::QTapAndHoldGesture *>(sipCppV);

    if (targetType == sipType_QGesture)
        return static_cast< ::QGesture *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTapAndHoldGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTapAndHoldGesture(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{103, 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(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QTapAndHoldGesture = {
    & ::QTapAndHoldGesture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTapAndHoldGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTapAndHoldGesture,
        {0},
        &plugin_QTapAndHoldGesture
    },
    {
        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
};

#line 135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 350344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 350348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 350351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 350354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 350357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 350360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 350363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 350366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 350369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 350372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 350375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 350378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 350381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 350384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 350387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 350390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 350393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 350396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 350399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTapGesture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTapGesture);

    return  ::QTapGesture::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 350693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 350753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "position(self) -> 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, "setPosition(self, Union[QPointF, QPoint])");

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 inheritance hierarchy. */
extern "C" {static void *cast_QTapGesture(void *, const sipTypeDef *);}
static void *cast_QTapGesture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTapGesture *sipCpp = reinterpret_cast< ::QTapGesture *>(sipCppV);

    if (targetType == sipType_QGesture)
        return static_cast< ::QGesture *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTapGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTapGesture(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{103, 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(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QTapGesture = {
    & ::QTapGesture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTapGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTapGesture,
        {0},
        &plugin_QTapGesture
    },
    {
        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
};

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 351183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 351187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 351190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 351193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 351196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 351199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 351202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 351205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 351208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 351211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 351214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 351217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 351220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 351223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 351226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 351229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 351232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 351235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 351238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSwipeGesture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSwipeGesture);

    return  ::QSwipeGesture::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 351532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 351592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "horizontalDirection(self) -> 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, "verticalDirection(self) -> 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, "swipeAngle(self) -> 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, "setSwipeAngle(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QSwipeGesture(void *, const sipTypeDef *);}
static void *cast_QSwipeGesture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSwipeGesture *sipCpp = reinterpret_cast< ::QSwipeGesture *>(sipCppV);

    if (targetType == sipType_QGesture)
        return static_cast< ::QGesture *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSwipeGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSwipeGesture(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{103, 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), 413},
    {sipName_Left, static_cast<int>( ::QSwipeGesture::Left), 413},
    {sipName_NoDirection, static_cast<int>( ::QSwipeGesture::NoDirection), 413},
    {sipName_Right, static_cast<int>( ::QSwipeGesture::Right), 413},
    {sipName_Up, static_cast<int>( ::QSwipeGesture::Up), 413},
};

PyDoc_STRVAR(doc_QSwipeGesture, "\1QSwipeGesture(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QSwipeGesture = {
    & ::QSwipeGesture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QSwipeGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSwipeGesture,
        {0},
        &plugin_QSwipeGesture
    },
    {
        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
};

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 352086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 352090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QPinchGesture_ChangeFlags___hash__(PyObject *);}
static long slot_QPinchGesture_ChangeFlags___hash__(PyObject *sipSelf)
{
     ::QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast< ::QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QPinchGesture::ChangeFlags::Int();
#line 352108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QPinchGesture::ChangeFlags::Int() != 0);
#line 352133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QPinchGesture::ChangeFlags::Int() != a0->operator QPinchGesture::ChangeFlags::Int());
#line 352163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QPinchGesture::ChangeFlags::Int() == a0->operator QPinchGesture::ChangeFlags::Int());
#line 352199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QPinchGesture::ChangeFlags(*sipCpp ^ a0);
#line 352238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QPinchGesture::ChangeFlags(*sipCpp | a0);
#line 352310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QPinchGesture::ChangeFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QPinchGesture::ChangeFlags(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 352578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QPinchGesture_ChangeFlags[] = {
    {(void *)slot_QPinchGesture_ChangeFlags___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___xor__, xor_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___ior__, ior_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___or__, or_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___iand__, iand_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___and__, and_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___invert__, invert_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QPinchGesture_ChangeFlags, "\1QPinchGesture.ChangeFlags()\n"
    "QPinchGesture.ChangeFlags(Union[QPinchGesture.ChangeFlags, QPinchGesture.ChangeFlag])\n"
    "QPinchGesture.ChangeFlags(QPinchGesture.ChangeFlags)");


static pyqt5ClassPluginDef plugin_QPinchGesture_ChangeFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QPinchGesture_ChangeFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPinchGesture__ChangeFlags,
        {0},
        &plugin_QPinchGesture_ChangeFlags
    },
    {
        sipNameNr_ChangeFlags,
        {244, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPinchGesture_ChangeFlags,
    -1,
    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,
    0,
    convertTo_QPinchGesture_ChangeFlags,
    0,
    0,
    0,
    0,
    0
};

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 352664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 352668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 352671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 352674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 352677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 352683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 352686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 352689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 352692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 352695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 352698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 352701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 352704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 352707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 352710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 352716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 352719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 352722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPinchGesture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPinchGesture);

    return  ::QPinchGesture::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 353016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 353076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "totalChangeFlags(self) -> 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, "setTotalChangeFlags(self, Union[QPinchGesture.ChangeFlags, QPinchGesture.ChangeFlag])");

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, "changeFlags(self) -> 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, "setChangeFlags(self, Union[QPinchGesture.ChangeFlags, QPinchGesture.ChangeFlag])");

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, "startCenterPoint(self) -> 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, "lastCenterPoint(self) -> 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, "centerPoint(self) -> 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, "setStartCenterPoint(self, Union[QPointF, QPoint])");

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, "setLastCenterPoint(self, Union[QPointF, QPoint])");

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, "setCenterPoint(self, Union[QPointF, QPoint])");

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, "totalScaleFactor(self) -> 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, "lastScaleFactor(self) -> 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, "scaleFactor(self) -> 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, "setTotalScaleFactor(self, 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, "setLastScaleFactor(self, 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, "setScaleFactor(self, 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, "totalRotationAngle(self) -> 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, "lastRotationAngle(self) -> 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, "rotationAngle(self) -> 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, "setTotalRotationAngle(self, 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, "setLastRotationAngle(self, 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, "setRotationAngle(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QPinchGesture(void *, const sipTypeDef *);}
static void *cast_QPinchGesture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPinchGesture *sipCpp = reinterpret_cast< ::QPinchGesture *>(sipCppV);

    if (targetType == sipType_QGesture)
        return static_cast< ::QGesture *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPinchGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPinchGesture(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{103, 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), 245},
    {sipName_RotationAngleChanged, static_cast<int>( ::QPinchGesture::RotationAngleChanged), 245},
    {sipName_ScaleFactorChanged, static_cast<int>( ::QPinchGesture::ScaleFactorChanged), 245},
};

PyDoc_STRVAR(doc_QPinchGesture, "\1QPinchGesture(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QPinchGesture = {
    & ::QPinchGesture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QPinchGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPinchGesture,
        {0},
        &plugin_QPinchGesture
    },
    {
        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
};

#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 354100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 354104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 354107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 354110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 354113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 354116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 354119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 354122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 354125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 354128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 354131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 354134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 354137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 354140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 354143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 354146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 354149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 354152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 354155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPanGesture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPanGesture);

    return  ::QPanGesture::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 354449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 354509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "lastOffset(self) -> 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, "offset(self) -> 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, "delta(self) -> 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, "acceleration(self) -> 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, "setLastOffset(self, Union[QPointF, QPoint])");

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, "setOffset(self, Union[QPointF, QPoint])");

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, "setAcceleration(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QPanGesture(void *, const sipTypeDef *);}
static void *cast_QPanGesture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPanGesture *sipCpp = reinterpret_cast< ::QPanGesture *>(sipCppV);

    if (targetType == sipType_QGesture)
        return static_cast< ::QGesture *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPanGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPanGesture(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{103, 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(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QPanGesture = {
    & ::QPanGesture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QPanGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPanGesture,
        {0},
        &plugin_QPanGesture
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 355086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 355090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 355093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 355096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 355099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 355102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 355105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 355108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 355111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 355114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 355117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 355120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 355123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 355126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 355129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 355132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 355135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 355138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQGesture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGesture);

    return  ::QGesture::metaObject();
}

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));
}

bool sipQGesture::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QGesture::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGesture::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QGesture::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGesture::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGesture::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGesture::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QGesture::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGesture::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGesture::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGesture::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGesture::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 355432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 355492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "gestureType(self) -> 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, "state(self) -> 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, "hotSpot(self) -> 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, "setHotSpot(self, Union[QPointF, QPoint])");

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, "hasHotSpot(self) -> 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, "unsetHotSpot(self)");

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, "setGestureCancelPolicy(self, 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, "gestureCancelPolicy(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QGesture(void *, const sipTypeDef *);}
static void *cast_QGesture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGesture *sipCpp = reinterpret_cast< ::QGesture *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGesture(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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), 104},
    {sipName_CancelNone, static_cast<int>( ::QGesture::CancelNone), 104},
};

PyDoc_STRVAR(doc_QGesture, "\1QGesture(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QGesture = {
    & ::QGesture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGesture,
        {0},
        &plugin_QGesture
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 356099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 356103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QFormLayout_TakeRowResult(void *, int);}
static void release_QFormLayout_TakeRowResult(void *sipCppV, int)
{
    delete reinterpret_cast< ::QFormLayout::TakeRowResult *>(sipCppV);
}


extern "C" {static void assign_QFormLayout_TakeRowResult(void *, SIP_SSIZE_T, const void *);}
static void assign_QFormLayout_TakeRowResult(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QFormLayout::TakeRowResult *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QFormLayout::TakeRowResult *>(sipSrc);
}


extern "C" {static void *array_QFormLayout_TakeRowResult(SIP_SSIZE_T);}
static void *array_QFormLayout_TakeRowResult(SIP_SSIZE_T sipNrElem)
{
    return new  ::QFormLayout::TakeRowResult[sipNrElem];
}


extern "C" {static void *copy_QFormLayout_TakeRowResult(const void *, SIP_SSIZE_T);}
static void *copy_QFormLayout_TakeRowResult(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QFormLayout::TakeRowResult(reinterpret_cast<const  ::QFormLayout::TakeRowResult *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFormLayout_TakeRowResult(sipSimpleWrapper *);}
static void dealloc_QFormLayout_TakeRowResult(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFormLayout_TakeRowResult(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QFormLayout_TakeRowResult(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFormLayout_TakeRowResult(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QFormLayout::TakeRowResult *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFormLayout::TakeRowResult();

            return sipCpp;
        }
    }

    {
        const  ::QFormLayout::TakeRowResult* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QFormLayout_TakeRowResult, &a0))
        {
            sipCpp = new  ::QFormLayout::TakeRowResult(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QFormLayout_TakeRowResult_fieldItem(void *, PyObject *, PyObject *);}
static PyObject *varget_QFormLayout_TakeRowResult_fieldItem(void *sipSelf, PyObject *, PyObject *)
{
     ::QLayoutItem*sipVal;
     ::QFormLayout::TakeRowResult *sipCpp = reinterpret_cast< ::QFormLayout::TakeRowResult *>(sipSelf);

    sipVal = sipCpp->fieldItem;

    return sipConvertFromType(sipVal, sipType_QLayoutItem, NULL);
}


extern "C" {static int varset_QFormLayout_TakeRowResult_fieldItem(void *, PyObject *, PyObject *);}
static int varset_QFormLayout_TakeRowResult_fieldItem(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QLayoutItem*sipVal;
     ::QFormLayout::TakeRowResult *sipCpp = reinterpret_cast< ::QFormLayout::TakeRowResult *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QLayoutItem *>(sipForceConvertToType(sipPy,sipType_QLayoutItem,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->fieldItem = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QFormLayout_TakeRowResult_labelItem(void *, PyObject *, PyObject *);}
static PyObject *varget_QFormLayout_TakeRowResult_labelItem(void *sipSelf, PyObject *, PyObject *)
{
     ::QLayoutItem*sipVal;
     ::QFormLayout::TakeRowResult *sipCpp = reinterpret_cast< ::QFormLayout::TakeRowResult *>(sipSelf);

    sipVal = sipCpp->labelItem;

    return sipConvertFromType(sipVal, sipType_QLayoutItem, NULL);
}


extern "C" {static int varset_QFormLayout_TakeRowResult_labelItem(void *, PyObject *, PyObject *);}
static int varset_QFormLayout_TakeRowResult_labelItem(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QLayoutItem*sipVal;
     ::QFormLayout::TakeRowResult *sipCpp = reinterpret_cast< ::QFormLayout::TakeRowResult *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QLayoutItem *>(sipForceConvertToType(sipPy,sipType_QLayoutItem,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->labelItem = sipVal;

    return 0;
}

sipVariableDef variables_QFormLayout_TakeRowResult[] = {
    {InstanceVariable, sipName_fieldItem, (PyMethodDef *)varget_QFormLayout_TakeRowResult_fieldItem, (PyMethodDef *)varset_QFormLayout_TakeRowResult_fieldItem, NULL, NULL},
    {InstanceVariable, sipName_labelItem, (PyMethodDef *)varget_QFormLayout_TakeRowResult_labelItem, (PyMethodDef *)varset_QFormLayout_TakeRowResult_labelItem, NULL, NULL},
};

PyDoc_STRVAR(doc_QFormLayout_TakeRowResult, "\1QFormLayout.TakeRowResult()\n"
    "QFormLayout.TakeRowResult(QFormLayout.TakeRowResult)");


static pyqt5ClassPluginDef plugin_QFormLayout_TakeRowResult = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFormLayout_TakeRowResult = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFormLayout__TakeRowResult,
        {0},
        &plugin_QFormLayout_TakeRowResult
    },
    {
        sipNameNr_TakeRowResult,
        {94, 255, 0},
        0, 0,
        0, 0,
        2, variables_QFormLayout_TakeRowResult,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFormLayout_TakeRowResult,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QFormLayout_TakeRowResult,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFormLayout_TakeRowResult,
    assign_QFormLayout_TakeRowResult,
    array_QFormLayout_TakeRowResult,
    copy_QFormLayout_TakeRowResult,
    release_QFormLayout_TakeRowResult,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 356304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 356308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 356313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 356316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 356319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 356322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 356325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 356328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 356331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 356334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 356337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 356340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 356343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 356346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 356349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 356352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 356355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 356358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 356361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 356364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 356367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 356370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 356373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 356376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 356379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 356382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 356385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 356388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::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;
    void addItem( ::QLayoutItem*);
     ::QLayoutItem* itemAt(int) const;
     ::QLayoutItem* takeAt(int);
    int indexOf( ::QWidget*) const;
    int count() const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFormLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFormLayout);

    return  ::QFormLayout::metaObject();
}

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));
}

void sipQFormLayout::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFormLayout::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFormLayout::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFormLayout::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFormLayout::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFormLayout::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFormLayout::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFormLayout::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFormLayout::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFormLayout::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFormLayout::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFormLayout::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQFormLayout::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFormLayout::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSizePolicy::ControlTypes sipQFormLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QFormLayout::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQFormLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QFormLayout::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQFormLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QFormLayout::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQFormLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QFormLayout::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFormLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QFormLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFormLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QFormLayout::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFormLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QFormLayout::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFormLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QFormLayout::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFormLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QFormLayout::isEmpty();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRect sipQFormLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QFormLayout::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFormLayout::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QFormLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::Orientations sipQFormLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QFormLayout::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQFormLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QFormLayout::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQFormLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QFormLayout::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFormLayout::addItem( ::QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
         ::QFormLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLayoutItem*);

    sipVH_QtWidgets_82(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQFormLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return  ::QFormLayout::itemAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFormLayout::indexOf( ::QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return  ::QFormLayout::indexOf(a0);

    extern int sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_85(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFormLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return  ::QFormLayout::count();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 357035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 357095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "widgetEvent(self, 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, "childEvent(self, 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 || sipIsDerivedClass((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, "addChildLayout(self, 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, "addChildWidget(self, 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.9-1.i686/build/py3/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 357415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "alignmentRect(self, 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, "setFieldGrowthPolicy(self, 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, "fieldGrowthPolicy(self) -> 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, "setRowWrapPolicy(self, 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, "rowWrapPolicy(self) -> 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, "setLabelAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "labelAlignment(self) -> 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, "setFormAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "formAlignment(self) -> 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, "setHorizontalSpacing(self, 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, "horizontalSpacing(self) -> 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, "setVerticalSpacing(self, 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, "verticalSpacing(self) -> 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, "spacing(self) -> 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, "setSpacing(self, 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, "addRow(self, QWidget, QWidget)\n"
    "addRow(self, QWidget, QLayout)\n"
    "addRow(self, str, QWidget)\n"
    "addRow(self, str, QLayout)\n"
    "addRow(self, QWidget)\n"
    "addRow(self, 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, "insertRow(self, int, QWidget, QWidget)\n"
    "insertRow(self, int, QWidget, QLayout)\n"
    "insertRow(self, int, str, QWidget)\n"
    "insertRow(self, int, str, QLayout)\n"
    "insertRow(self, int, QWidget)\n"
    "insertRow(self, 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, "setItem(self, 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, "setWidget(self, 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, "setLayout(self, 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, "itemAt(self, int, QFormLayout.ItemRole) -> QLayoutItem\n"
    "itemAt(self, 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 || sipIsDerivedClass((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, "getItemPosition(self, int) -> Tuple[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, "getWidgetPosition(self, QWidget) -> Tuple[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, "getLayoutPosition(self, QLayout) -> Tuple[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, "labelForField(self, QWidget) -> QWidget\n"
    "labelForField(self, 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, "addItem(self, 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 || sipIsDerivedClass((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, "takeAt(self, 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "minimumSize(self) -> 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "invalidate(self)");

extern "C" {static PyObject *meth_QFormLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "expandingDirections(self) -> 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 || sipIsDerivedClass((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, "count(self) -> 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 || sipIsDerivedClass((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, "rowCount(self) -> 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;
}


PyDoc_STRVAR(doc_QFormLayout_removeRow, "removeRow(self, int)\n"
    "removeRow(self, QWidget)\n"
    "removeRow(self, QLayout)");

extern "C" {static PyObject *meth_QFormLayout_removeRow(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_removeRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            sipCpp->removeRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QWidget* a0;
         ::QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->removeRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QLayout* a0;
         ::QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->removeRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_removeRow, doc_QFormLayout_removeRow);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_takeRow, "takeRow(self, int) -> QFormLayout.TakeRowResult\n"
    "takeRow(self, QWidget) -> QFormLayout.TakeRowResult\n"
    "takeRow(self, QLayout) -> QFormLayout.TakeRowResult");

extern "C" {static PyObject *meth_QFormLayout_takeRow(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_takeRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
             ::QFormLayout::TakeRowResult*sipRes;

            sipRes = new  ::QFormLayout::TakeRowResult(sipCpp->takeRow(a0));

            return sipConvertFromNewType(sipRes,sipType_QFormLayout_TakeRowResult,NULL);
        }
    }

    {
         ::QWidget* a0;
         ::QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QWidget, &a0))
        {
             ::QFormLayout::TakeRowResult*sipRes;

            sipRes = new  ::QFormLayout::TakeRowResult(sipCpp->takeRow(a0));

            return sipConvertFromNewType(sipRes,sipType_QFormLayout_TakeRowResult,NULL);
        }
    }

    {
         ::QLayout* a0;
         ::QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QLayout, &a0))
        {
             ::QFormLayout::TakeRowResult*sipRes;

            sipRes = new  ::QFormLayout::TakeRowResult(sipCpp->takeRow(a0));

            return sipConvertFromNewType(sipRes,sipType_QFormLayout_TakeRowResult,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_takeRow, doc_QFormLayout_takeRow);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFormLayout(void *, const sipTypeDef *);}
static void *cast_QFormLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFormLayout *sipCpp = reinterpret_cast< ::QFormLayout *>(sipCppV);

    if (targetType == sipType_QLayout)
        return static_cast< ::QLayout *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFormLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFormLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{187, 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_removeRow), meth_QFormLayout_removeRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_removeRow)},
    {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_takeRow), meth_QFormLayout_takeRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_takeRow)},
    {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(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QFormLayout = {
    & ::QFormLayout::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFormLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFormLayout,
        {0},
        &plugin_QFormLayout
    },
    {
        sipNameNr_QFormLayout,
        {0, 0, 1},
        50, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 358992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 358996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QFontDialog_FontDialogOptions___hash__(PyObject *);}
static long slot_QFontDialog_FontDialogOptions___hash__(PyObject *sipSelf)
{
     ::QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast< ::QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QFontDialog::FontDialogOptions::Int();
#line 359014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontDialog::FontDialogOptions::Int() != 0);
#line 359039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontDialog::FontDialogOptions::Int() != a0->operator QFontDialog::FontDialogOptions::Int());
#line 359069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontDialog::FontDialogOptions::Int() == a0->operator QFontDialog::FontDialogOptions::Int());
#line 359105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QFontDialog::FontDialogOptions(*sipCpp ^ a0);
#line 359144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QFontDialog::FontDialogOptions(*sipCpp | a0);
#line 359216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFontDialog::FontDialogOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QFontDialog::FontDialogOptions(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 359484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFontDialog_FontDialogOptions[] = {
    {(void *)slot_QFontDialog_FontDialogOptions___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___xor__, xor_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___ior__, ior_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___or__, or_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___iand__, iand_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___and__, and_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___invert__, invert_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFontDialog_FontDialogOptions, "\1QFontDialog.FontDialogOptions()\n"
    "QFontDialog.FontDialogOptions(Union[QFontDialog.FontDialogOptions, QFontDialog.FontDialogOption])\n"
    "QFontDialog.FontDialogOptions(QFontDialog.FontDialogOptions)");


static pyqt5ClassPluginDef plugin_QFontDialog_FontDialogOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFontDialog_FontDialogOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFontDialog__FontDialogOptions,
        {0},
        &plugin_QFontDialog_FontDialogOptions
    },
    {
        sipNameNr_FontDialogOptions,
        {91, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFontDialog_FontDialogOptions,
    -1,
    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,
    0,
    convertTo_QFontDialog_FontDialogOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 359570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 359574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 359577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 359580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 359583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 359586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 359589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 359607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 359613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 359616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 359619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 359622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 359628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 359631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 359637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 359643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 359646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 359649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 359652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 359655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 359658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 359661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 359664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 359667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 359670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 359673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 359712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 359715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 359718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 359721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 359724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 359727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 359733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 359736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 359739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 359742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 359745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 359748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 359751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 359754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 359757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 359760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 359763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 359769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 359772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 359775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFontDialog(const sipQFontDialog &);
    sipQFontDialog &operator = (const sipQFontDialog &);

    char sipPyMethods[52];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFontDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFontDialog);

    return  ::QFontDialog::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QFontDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQFontDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QFontDialog::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFontDialog::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QFontDialog::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFontDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QFontDialog::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFontDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QFontDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQFontDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QFontDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QFontDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QFontDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QFontDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QFontDialog::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QFontDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QFontDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QFontDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QFontDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QFontDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QFontDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QFontDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QFontDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QFontDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QFontDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QFontDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QFontDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QFontDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QFontDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QFontDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QFontDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QFontDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFontDialog::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  ::QFontDialog::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQFontDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QFontDialog::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQFontDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QFontDialog::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFontDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QFontDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFontDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QFontDialog::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQFontDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QFontDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFontDialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QFontDialog::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFontDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFontDialog::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFontDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFontDialog::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQFontDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFontDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFontDialog::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFontDialog::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFontDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFontDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFontDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QFontDialog::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFontDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QFontDialog::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QFontDialog::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFontDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QFontDialog::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFontDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QFontDialog::open();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 361109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 361169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "getFont(QFont, parent: QWidget = None, caption: str = '', options: Union[QFontDialog.FontDialogOptions, QFontDialog.FontDialogOption] = QFontDialog.FontDialogOptions()) -> Tuple[QFont, bool]\n"
    "getFont(parent: QWidget = None) -> Tuple[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 = QFontDialog::FontDialogOptions();
         ::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, "changeEvent(self, 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 || sipIsDerivedClass((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, "done(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "setCurrentFont(self, 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, "currentFont(self) -> 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, "selectedFont(self) -> 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, "setOption(self, QFontDialog.FontDialogOption, on: bool = 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, "testOption(self, 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, "setOptions(self, Union[QFontDialog.FontDialogOptions, QFontDialog.FontDialogOption])");

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, "options(self) -> 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, "open(self)\n"
    "open(self, PYQT_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 || sipIsDerivedClass((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 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 362863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "setVisible(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QFontDialog(void *, const sipTypeDef *);}
static void *cast_QFontDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFontDialog *sipCpp = reinterpret_cast< ::QFontDialog *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFontDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFontDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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},
};

PyDoc_STRVAR(doc_QFontDialog, "\1QFontDialog(parent: QWidget = None)\n"
    "QFontDialog(QFont, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFontDialog[] = {
    {"fontSelected(QFont)", "\1fontSelected(self, QFont)", 0, 0},
    {"currentFontChanged(QFont)", "\1currentFontChanged(self, QFont)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QFontDialog = {
    & ::QFontDialog::staticMetaObject,
    0,
    signals_QFontDialog,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFontDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFontDialog,
        {0},
        &plugin_QFontDialog
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 363153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 363157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QFontComboBox_FontFilters___hash__(PyObject *);}
static long slot_QFontComboBox_FontFilters___hash__(PyObject *sipSelf)
{
     ::QFontComboBox::FontFilters *sipCpp = reinterpret_cast< ::QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QFontComboBox::FontFilters::Int();
#line 363175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontComboBox::FontFilters::Int() != 0);
#line 363200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontComboBox::FontFilters::Int() != a0->operator QFontComboBox::FontFilters::Int());
#line 363230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontComboBox::FontFilters::Int() == a0->operator QFontComboBox::FontFilters::Int());
#line 363266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QFontComboBox::FontFilters(*sipCpp ^ a0);
#line 363305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QFontComboBox::FontFilters(*sipCpp | a0);
#line 363377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___or__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFontComboBox::FontFilters();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QFontComboBox::FontFilters(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 363645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFontComboBox_FontFilters[] = {
    {(void *)slot_QFontComboBox_FontFilters___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QFontComboBox_FontFilters___xor__, xor_slot},
    {(void *)slot_QFontComboBox_FontFilters___ior__, ior_slot},
    {(void *)slot_QFontComboBox_FontFilters___or__, or_slot},
    {(void *)slot_QFontComboBox_FontFilters___iand__, iand_slot},
    {(void *)slot_QFontComboBox_FontFilters___and__, and_slot},
    {(void *)slot_QFontComboBox_FontFilters___invert__, invert_slot},
    {(void *)slot_QFontComboBox_FontFilters___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFontComboBox_FontFilters, "\1QFontComboBox.FontFilters()\n"
    "QFontComboBox.FontFilters(Union[QFontComboBox.FontFilters, QFontComboBox.FontFilter])\n"
    "QFontComboBox.FontFilters(QFontComboBox.FontFilters)");


static pyqt5ClassPluginDef plugin_QFontComboBox_FontFilters = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFontComboBox_FontFilters = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFontComboBox__FontFilters,
        {0},
        &plugin_QFontComboBox_FontFilters
    },
    {
        sipNameNr_FontFilters,
        {88, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFontComboBox_FontFilters,
    -1,
    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,
    0,
    convertTo_QFontComboBox_FontFilters,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 363731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 363735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 363738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 363741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 363744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 363747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 363750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 363753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 363756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 363789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 363792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 363795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 363798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 363801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 363804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 363807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 363810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 363813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 363816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 363819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcombobox.sip"
#include <qcombobox.h>
#line 363822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 363825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 363828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 363831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 363834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 363837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 363840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 363843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 363846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 363849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 363852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 363855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 363858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 363861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 363864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 363867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 363870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 363873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 363876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 363879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 363882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 363906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 363909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 363912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 363915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 363918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 363921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 363924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 363927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 363930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 363933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 363936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 363939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 363942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 363945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 363948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 363951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 363954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 363957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 363960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 363963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 363966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 363969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 363972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void showPopup();
    void hidePopup();

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFontComboBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFontComboBox);

    return  ::QFontComboBox::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QFontComboBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQFontComboBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QFontComboBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFontComboBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QFontComboBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFontComboBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QFontComboBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFontComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QFontComboBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQFontComboBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QFontComboBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFontComboBox::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  ::QFontComboBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQFontComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QFontComboBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQFontComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QFontComboBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFontComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QFontComboBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFontComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QFontComboBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQFontComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QFontComboBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFontComboBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QFontComboBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFontComboBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFontComboBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFontComboBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFontComboBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQFontComboBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFontComboBox::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFontComboBox::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFontComboBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
         ::QFontComboBox::showPopup();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFontComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
         ::QFontComboBox::hidePopup();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 365240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 365300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "fontFilters(self) -> 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, "setWritingSystem(self, 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, "writingSystem(self) -> 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, "setFontFilters(self, Union[QFontComboBox.FontFilters, QFontComboBox.FontFilter])");

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, "currentFont(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "setCurrentFont(self, 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, "event(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QFontComboBox(void *, const sipTypeDef *);}
static void *cast_QFontComboBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFontComboBox *sipCpp = reinterpret_cast< ::QFontComboBox *>(sipCppV);

    if (targetType == sipType_QComboBox)
        return static_cast< ::QComboBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFontComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFontComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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},
};

PyDoc_STRVAR(doc_QFontComboBox, "\1QFontComboBox(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFontComboBox[] = {
    {"currentFontChanged(QFont)", "\1currentFontChanged(self, QFont)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QFontComboBox = {
    & ::QFontComboBox::staticMetaObject,
    0,
    signals_QFontComboBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFontComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFontComboBox,
        {0},
        &plugin_QFontComboBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfocusframe.sip"
#include <qfocusframe.h>
#line 367055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 367059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 367065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 367068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 367071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 367074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 367077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 367080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 367083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 367086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 367089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 367092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 367095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 367098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 367101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 367104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 367107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 367110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 367113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 367116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 367119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 367122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 367125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 367128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 367131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 367134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 367137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 367140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 367143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 367146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 367197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 367200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 367203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 367206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 367209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 367212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 367215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 367218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 367221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 367224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 367227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 367230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 367233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 367236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 367239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 367242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 367245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 367248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 367251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 367254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 367257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 367260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFocusFrame::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFocusFrame);

    return  ::QFocusFrame::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFocusFrame::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFocusFrame::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQFocusFrame::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFocusFrame::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFocusFrame::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QFocusFrame::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQFocusFrame::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QFocusFrame::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFocusFrame::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QFocusFrame::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFocusFrame::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QFocusFrame::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQFocusFrame::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QFocusFrame::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQFocusFrame::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QFocusFrame::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFocusFrame::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QFocusFrame::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QFocusFrame::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQFocusFrame::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QFocusFrame::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFocusFrame::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QFocusFrame::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFocusFrame::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QFocusFrame::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFocusFrame::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QFocusFrame::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQFocusFrame::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QFocusFrame::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFocusFrame::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QFocusFrame::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 368496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 368556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setWidget(self, 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, "widget(self) -> 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, "initStyleOption(self, 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, "eventFilter(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QFocusFrame(void *, const sipTypeDef *);}
static void *cast_QFocusFrame(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFocusFrame *sipCpp = reinterpret_cast< ::QFocusFrame *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFocusFrame *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFocusFrame(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QFocusFrame = {
    & ::QFocusFrame::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFocusFrame = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFocusFrame,
        {0},
        &plugin_QFocusFrame
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfilesystemmodel.sip"
#include <qfilesystemmodel.h>
#line 370177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 370181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 370184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 370187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 370190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 370193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 370196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 370199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 370202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 303 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 370205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 370208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 370211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 370214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 370217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 370220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 370223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 370226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 370229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 370232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 370235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 370238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 370241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 370244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 370247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 370250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 370253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 370256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 370259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 370262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 146 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 370265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 370268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 370271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 370274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 370277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 370280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 370283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 370286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 370289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 370292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::QModelIndex index(int,int,const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    bool hasChildren(const  ::QModelIndex&) const;
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    void fetchMore(const  ::QModelIndex&);
    bool canFetchMore(const  ::QModelIndex&) const;
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::QModelIndex buddy(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QSize span(const  ::QModelIndex&) const;
    bool submit();
    void revert();
     ::Qt::DropActions supportedDragActions() const;
    QHash<int, ::QByteArray> roleNames() const;
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFileSystemModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFileSystemModel);

    return  ::QFileSystemModel::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileSystemModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFileSystemModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFileSystemModel::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQFileSystemModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFileSystemModel::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[7]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::QFileSystemModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtWidgets_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_131(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQFileSystemModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return  ::QFileSystemModel::parent(a0);

    extern  ::QModelIndex sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_118(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQFileSystemModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QFileSystemModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtWidgets_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_131(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQFileSystemModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return  ::QFileSystemModel::rowCount(a0);

    extern int sipVH_QtWidgets_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_130(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFileSystemModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return  ::QFileSystemModel::columnCount(a0);

    extern int sipVH_QtWidgets_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_130(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::QFileSystemModel::hasChildren(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQFileSystemModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::QFileSystemModel::data(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtWidgets_129(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQFileSystemModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QFileSystemModel::setData(a0,a1,a2);

    extern bool sipVH_QtWidgets_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtWidgets_128(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQFileSystemModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QFileSystemModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtWidgets_127(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileSystemModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QFileSystemModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtWidgets_126(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMap<int, ::QVariant> sipQFileSystemModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QFileSystemModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_125(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QFileSystemModel::setItemData(a0,a1);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtWidgets_124(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipQFileSystemModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QFileSystemModel::mimeTypes();

    extern  ::QStringList sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_123(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMimeData* sipQFileSystemModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QFileSystemModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtWidgets_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtWidgets_122(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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[21],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QFileSystemModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_113(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::Qt::DropActions sipQFileSystemModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QFileSystemModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_115(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFileSystemModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QFileSystemModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[24],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QFileSystemModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[25],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QFileSystemModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileSystemModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QFileSystemModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQFileSystemModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QFileSystemModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QFileSystemModel::canFetchMore(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::ItemFlags sipQFileSystemModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QFileSystemModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_120(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileSystemModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QFileSystemModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtWidgets_119(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQFileSystemModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QFileSystemModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_118(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[32]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QFileSystemModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtWidgets_117(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QSize sipQFileSystemModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QFileSystemModel::span(a0);

    extern  ::QSize sipVH_QtWidgets_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_116(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QFileSystemModel::submit();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFileSystemModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QFileSystemModel::revert();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQFileSystemModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QFileSystemModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_115(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

QHash<int, ::QByteArray> sipQFileSystemModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QFileSystemModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_114(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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[38]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QFileSystemModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_113(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[39],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QFileSystemModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtWidgets_112(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

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[40],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QFileSystemModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtWidgets_112(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 371271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 371331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "encodeData(self, object, 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, "decodeData(self, 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, "beginInsertRows(self, 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, "endInsertRows(self)");

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, "beginRemoveRows(self, 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, "endRemoveRows(self)");

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, "beginInsertColumns(self, 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, "endInsertColumns(self)");

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, "beginRemoveColumns(self, 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, "endRemoveColumns(self)");

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, "persistentIndexList(self) -> object");

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, "changePersistentIndex(self, 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, "changePersistentIndexList(self, object, object)");

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, "createIndex(self, 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 371962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "beginMoveRows(self, 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, "endMoveRows(self)");

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, "beginMoveColumns(self, 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, "endMoveColumns(self)");

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, "beginResetModel(self)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginResetModel, doc_QFileSystemModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endResetModel, "endResetModel(self)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endResetModel, doc_QFileSystemModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_resetInternalData, "resetInternalData(self)");

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, "index(self, int, int, parent: QModelIndex = QModelIndex()) -> QModelIndex\n"
    "index(self, str, column: int = 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 || sipIsDerivedClass((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, "parent(self, 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 || sipIsDerivedClass((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, "hasChildren(self, parent: QModelIndex = 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 || sipIsDerivedClass((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, "canFetchMore(self, 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 || sipIsDerivedClass((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, "fetchMore(self, 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 || sipIsDerivedClass((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, "rowCount(self, parent: QModelIndex = 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 || sipIsDerivedClass((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, "columnCount(self, parent: QModelIndex = 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 || sipIsDerivedClass((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, "myComputer(self, role: int = Qt.DisplayRole) -> Any");

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, "data(self, QModelIndex, role: int = Qt.DisplayRole) -> Any");

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 || sipIsDerivedClass((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, "setData(self, QModelIndex, Any, role: int = 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 || sipIsDerivedClass((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, "headerData(self, int, Qt.Orientation, role: int = Qt.DisplayRole) -> Any");

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 || sipIsDerivedClass((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, "flags(self, 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 || sipIsDerivedClass((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, "sort(self, int, order: Qt.SortOrder = 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 || sipIsDerivedClass((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, "mimeTypes(self) -> List[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 || sipIsDerivedClass((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, "mimeData(self, object) -> 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 || sipIsDerivedClass((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, "dropMimeData(self, 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 || sipIsDerivedClass((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, "supportedDropActions(self) -> 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 || sipIsDerivedClass((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, "setRootPath(self, 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, "rootPath(self) -> 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, "rootDirectory(self) -> 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, "setIconProvider(self, 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, "iconProvider(self) -> 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, "setFilter(self, Union[QDir.Filters, QDir.Filter])");

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, "filter(self) -> 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, "setResolveSymlinks(self, 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, "resolveSymlinks(self) -> 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, "setReadOnly(self, 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, "isReadOnly(self) -> 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, "setNameFilterDisables(self, 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, "nameFilterDisables(self) -> 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, "setNameFilters(self, Iterable[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, "nameFilters(self) -> List[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, "filePath(self, 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, "isDir(self, 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, "size(self, 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, "type(self, 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, "lastModified(self, 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, "mkdir(self, 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, "permissions(self, 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, "rmdir(self, 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, "fileName(self, 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, "fileIcon(self, 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, "fileInfo(self, 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, "remove(self, 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, "event(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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;
}


PyDoc_STRVAR(doc_QFileSystemModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QFileSystemModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QFileSystemModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_sibling, doc_QFileSystemModel_sibling);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFileSystemModel(void *, const sipTypeDef *);}
static void *cast_QFileSystemModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFileSystemModel *sipCpp = reinterpret_cast< ::QFileSystemModel *>(sipCppV);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFileSystemModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileSystemModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{0, 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_sibling), meth_QFileSystemModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_sibling)},
    {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},
};

PyDoc_STRVAR(doc_QFileSystemModel, "\1QFileSystemModel(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFileSystemModel[] = {
    {"directoryLoaded(QString)", "\1directoryLoaded(self, str)", 0, 0},
    {"rootPathChanged(QString)", "\1rootPathChanged(self, str)", 0, 0},
    {"fileRenamed(QString,QString,QString)", "\1fileRenamed(self, str, str, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QFileSystemModel = {
    & ::QFileSystemModel::staticMetaObject,
    0,
    signals_QFileSystemModel,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFileSystemModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileSystemModel,
        {0},
        &plugin_QFileSystemModel
    },
    {
        sipNameNr_QFileSystemModel,
        {0, 0, 1},
        76, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 373875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 373879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QFileIconProvider_Options___hash__(PyObject *);}
static long slot_QFileIconProvider_Options___hash__(PyObject *sipSelf)
{
     ::QFileIconProvider::Options *sipCpp = reinterpret_cast< ::QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QFileIconProvider::Options::Int();
#line 373897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileIconProvider::Options::Int() != 0);
#line 373922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileIconProvider::Options::Int() != a0->operator QFileIconProvider::Options::Int());
#line 373952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileIconProvider::Options::Int() == a0->operator QFileIconProvider::Options::Int());
#line 373988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QFileIconProvider::Options(*sipCpp ^ a0);
#line 374027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QFileIconProvider::Options(*sipCpp | a0);
#line 374099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFileIconProvider::Options();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QFileIconProvider::Options(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 374367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileIconProvider_Options[] = {
    {(void *)slot_QFileIconProvider_Options___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QFileIconProvider_Options___xor__, xor_slot},
    {(void *)slot_QFileIconProvider_Options___ior__, ior_slot},
    {(void *)slot_QFileIconProvider_Options___or__, or_slot},
    {(void *)slot_QFileIconProvider_Options___iand__, iand_slot},
    {(void *)slot_QFileIconProvider_Options___and__, and_slot},
    {(void *)slot_QFileIconProvider_Options___invert__, invert_slot},
    {(void *)slot_QFileIconProvider_Options___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileIconProvider_Options, "\1QFileIconProvider.Options()\n"
    "QFileIconProvider.Options(Union[QFileIconProvider.Options, QFileIconProvider.Option])\n"
    "QFileIconProvider.Options(QFileIconProvider.Options)");


static pyqt5ClassPluginDef plugin_QFileIconProvider_Options = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFileIconProvider_Options = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileIconProvider__Options,
        {0},
        &plugin_QFileIconProvider_Options
    },
    {
        sipNameNr_Options,
        {81, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileIconProvider_Options,
    -1,
    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,
    0,
    convertTo_QFileIconProvider_Options,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 374453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 374457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 374460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 374463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 374466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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()
{
    sipInstanceDestroyed(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, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_133(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFileInfo&);

    return sipVH_QtWidgets_133(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_132(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFileIconProvider::IconType);

    return sipVH_QtWidgets_132(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QFileIconProvider_icon, "icon(self, QFileIconProvider.IconType) -> QIcon\n"
    "icon(self, 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 || sipIsDerivedClass((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, "type(self, 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 || sipIsDerivedClass((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, "setOptions(self, Union[QFileIconProvider.Options, QFileIconProvider.Option])");

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, "options(self) -> 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;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFileIconProvider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileIconProvider(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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()");


static pyqt5ClassPluginDef plugin_QFileIconProvider = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFileIconProvider = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileIconProvider,
        {0},
        &plugin_QFileIconProvider
    },
    {
        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,
    -1,
    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 374809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 374813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QFileDialog_Options___hash__(PyObject *);}
static long slot_QFileDialog_Options___hash__(PyObject *sipSelf)
{
     ::QFileDialog::Options *sipCpp = reinterpret_cast< ::QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QFileDialog::Options::Int();
#line 374831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDialog::Options::Int() != 0);
#line 374856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDialog::Options::Int() != a0->operator QFileDialog::Options::Int());
#line 374886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDialog::Options::Int() == a0->operator QFileDialog::Options::Int());
#line 374922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QFileDialog::Options(*sipCpp ^ a0);
#line 374961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDialog_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QFileDialog::Options(*sipCpp | a0);
#line 375033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDialog_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFileDialog::Options();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QFileDialog::Options(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 375301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileDialog_Options[] = {
    {(void *)slot_QFileDialog_Options___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QFileDialog_Options___xor__, xor_slot},
    {(void *)slot_QFileDialog_Options___ior__, ior_slot},
    {(void *)slot_QFileDialog_Options___or__, or_slot},
    {(void *)slot_QFileDialog_Options___iand__, iand_slot},
    {(void *)slot_QFileDialog_Options___and__, and_slot},
    {(void *)slot_QFileDialog_Options___invert__, invert_slot},
    {(void *)slot_QFileDialog_Options___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileDialog_Options, "\1QFileDialog.Options()\n"
    "QFileDialog.Options(Union[QFileDialog.Options, QFileDialog.Option])\n"
    "QFileDialog.Options(QFileDialog.Options)");


static pyqt5ClassPluginDef plugin_QFileDialog_Options = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFileDialog_Options = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileDialog__Options,
        {0},
        &plugin_QFileDialog_Options
    },
    {
        sipNameNr_Options,
        {74, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileDialog_Options,
    -1,
    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,
    0,
    convertTo_QFileDialog_Options,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 375387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 375391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 375394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 375397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 375400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 375403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 375406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 375409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 375412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractproxymodel.sip"
#include <qabstractproxymodel.h>
#line 375415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 375418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 375421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 375424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 375427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 375430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 375433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 375451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 375454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 375457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 375460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 375463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 375466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 375469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 375472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 375475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 375478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 375481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 375484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 375487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 375490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 375493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 375496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 375499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 375502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 375505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 375508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 375511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 375514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 375553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 375556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 375559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 375562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 375565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 375568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 375571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 375574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 375577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 375580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 375583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 375586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 375589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 375592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 375595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 375598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 375601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 375604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 375607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 375610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 375613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 375616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFileDialog(const sipQFileDialog &);
    sipQFileDialog &operator = (const sipQFileDialog &);

    char sipPyMethods[52];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFileDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFileDialog);

    return  ::QFileDialog::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QFileDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQFileDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QFileDialog::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFileDialog::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QFileDialog::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QFileDialog::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFileDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QFileDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQFileDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QFileDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QFileDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QFileDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QFileDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QFileDialog::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QFileDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QFileDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QFileDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QFileDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QFileDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QFileDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QFileDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QFileDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QFileDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QFileDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QFileDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QFileDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QFileDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QFileDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QFileDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QFileDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QFileDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFileDialog::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  ::QFileDialog::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQFileDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QFileDialog::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQFileDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QFileDialog::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFileDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QFileDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFileDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QFileDialog::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQFileDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QFileDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFileDialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QFileDialog::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFileDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFileDialog::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFileDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFileDialog::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQFileDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFileDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFileDialog::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFileDialog::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFileDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFileDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFileDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QFileDialog::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFileDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QFileDialog::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFileDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QFileDialog::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFileDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QFileDialog::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFileDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QFileDialog::open();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 376956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 377016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "setDirectory(self, str)\n"
    "setDirectory(self, 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, "directory(self) -> 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, "selectFile(self, 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, "selectedFiles(self) -> List[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, "setViewMode(self, 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, "viewMode(self) -> 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, "setFileMode(self, 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, "fileMode(self) -> 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, "setAcceptMode(self, 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, "acceptMode(self) -> 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, "setDefaultSuffix(self, 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, "defaultSuffix(self) -> 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, "setHistory(self, Iterable[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, "history(self) -> List[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, "setItemDelegate(self, 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, "itemDelegate(self) -> 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, "setIconProvider(self, 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, "iconProvider(self) -> 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, "setLabelText(self, 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, "labelText(self, 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, "getExistingDirectory(parent: QWidget = None, caption: str = '', directory: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 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_getExistingDirectoryUrl, "getExistingDirectoryUrl(parent: QWidget = None, caption: str = '', directory: QUrl = QUrl(), options: Union[QFileDialog.Options, QFileDialog.Option] = QFileDialog.ShowDirsOnly, supportedSchemes: Iterable[str] = []) -> 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_getOpenFileName, "getOpenFileName(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0) -> Tuple[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 114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 379084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "getOpenFileNames(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0) -> Tuple[List[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 135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 379159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "getSaveFileName(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0) -> Tuple[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 156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 379234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "done(self, 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 || sipIsDerivedClass((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, "accept(self)");

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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "setSidebarUrls(self, Iterable[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, "sidebarUrls(self) -> List[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, "saveState(self) -> 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, "restoreState(self, Union[QByteArray, bytes, bytearray]) -> 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, "setProxyModel(self, 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, "proxyModel(self) -> 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, "setNameFilter(self, 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, "setNameFilters(self, Iterable[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, "nameFilters(self) -> List[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, "selectNameFilter(self, 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, "selectedNameFilter(self) -> 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, "filter(self) -> 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, "setFilter(self, Union[QDir.Filters, QDir.Filter])");

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, "setOption(self, QFileDialog.Option, on: bool = 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, "testOption(self, 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, "setOptions(self, Union[QFileDialog.Options, QFileDialog.Option])");

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, "options(self) -> 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, "open(self)\n"
    "open(self, PYQT_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 || sipIsDerivedClass((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 201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 379879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "setVisible(self, 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 || sipIsDerivedClass((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, "setDirectoryUrl(self, 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, "directoryUrl(self) -> 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, "selectUrl(self, 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, "selectedUrls(self) -> List[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, "setMimeTypeFilters(self, Iterable[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, "mimeTypeFilters(self) -> List[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, "selectMimeTypeFilter(self, 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_getOpenFileUrl, "getOpenFileUrl(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0, supportedSchemes: Iterable[str] = []) -> Tuple[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 255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 380191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "getOpenFileUrls(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0, supportedSchemes: Iterable[str] = []) -> Tuple[List[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 278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_SetItem(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 380291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "getSaveFileUrl(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0, supportedSchemes: Iterable[str] = []) -> Tuple[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 321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 380371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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;
}


PyDoc_STRVAR(doc_QFileDialog_setSupportedSchemes, "setSupportedSchemes(self, Iterable[str])");

extern "C" {static PyObject *meth_QFileDialog_setSupportedSchemes(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setSupportedSchemes(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->setSupportedSchemes(*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_setSupportedSchemes, doc_QFileDialog_setSupportedSchemes);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_supportedSchemes, "supportedSchemes(self) -> List[str]");

extern "C" {static PyObject *meth_QFileDialog_supportedSchemes(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_supportedSchemes(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->supportedSchemes());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_supportedSchemes, doc_QFileDialog_supportedSchemes);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectedMimeTypeFilter, "selectedMimeTypeFilter(self) -> str");

extern "C" {static PyObject *meth_QFileDialog_selectedMimeTypeFilter(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectedMimeTypeFilter(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->selectedMimeTypeFilter());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectedMimeTypeFilter, doc_QFileDialog_selectedMimeTypeFilter);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFileDialog(void *, const sipTypeDef *);}
static void *cast_QFileDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFileDialog *sipCpp = reinterpret_cast< ::QFileDialog *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFileDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_selectedMimeTypeFilter), meth_QFileDialog_selectedMimeTypeFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectedMimeTypeFilter)},
    {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_setSupportedSchemes), meth_QFileDialog_setSupportedSchemes, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setSupportedSchemes)},
    {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_supportedSchemes), meth_QFileDialog_supportedSchemes, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_supportedSchemes)},
    {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},
};

PyDoc_STRVAR(doc_QFileDialog, "\1QFileDialog(QWidget, Union[Qt.WindowFlags, Qt.WindowType])\n"
    "QFileDialog(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '')");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFileDialog[] = {
    {"directoryUrlEntered(QUrl)", "\1directoryUrlEntered(self, QUrl)", 0, 0},
    {"currentUrlChanged(QUrl)", "\1currentUrlChanged(self, QUrl)", 0, 0},
    {"urlsSelected(QList<QUrl>)", "\1urlsSelected(self, Iterable[QUrl])", 0, 0},
    {"urlSelected(QUrl)", "\1urlSelected(self, QUrl)", 0, 0},
    {"fileSelected(QString)", "\1fileSelected(self, str)", 0, 0},
    {"filterSelected(QString)", "\1filterSelected(self, str)", 0, 0},
    {"filesSelected(QStringList)", "\1filesSelected(self, Iterable[str])", 0, 0},
    {"directoryEntered(QString)", "\1directoryEntered(self, str)", 0, 0},
    {"currentChanged(QString)", "\1currentChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QFileDialog = {
    & ::QFileDialog::staticMetaObject,
    0,
    signals_QFileDialog,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFileDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileDialog,
        {0},
        &plugin_QFileDialog
    },
    {
        sipNameNr_QFileDialog,
        {0, 0, 1},
        106, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qerrormessage.sip"
#include <qerrormessage.h>
#line 380798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 380802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 380805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 380808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 380811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 380829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 380835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 380838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 380841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 380844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 380850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 380853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 380859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 380865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 380868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 380871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 380874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 380877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 380880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 380883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 380886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 380889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 380892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 380895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 380898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 380940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 380943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 380946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 380949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 380952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 380958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 380961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 380964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 380967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 380970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 380973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 380976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 380979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 380982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 380985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 380988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 380994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 380997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 381000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQErrorMessage(const sipQErrorMessage &);
    sipQErrorMessage &operator = (const sipQErrorMessage &);

    char sipPyMethods[52];
};

sipQErrorMessage::sipQErrorMessage( ::QWidget*a0):  ::QErrorMessage(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQErrorMessage::~sipQErrorMessage()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQErrorMessage::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QErrorMessage);

    return  ::QErrorMessage::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QErrorMessage::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQErrorMessage::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QErrorMessage::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQErrorMessage::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QErrorMessage::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQErrorMessage::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QErrorMessage::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQErrorMessage::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QErrorMessage::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQErrorMessage::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QErrorMessage::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQErrorMessage::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  ::QErrorMessage::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQErrorMessage::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QErrorMessage::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQErrorMessage::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QErrorMessage::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQErrorMessage::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QErrorMessage::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQErrorMessage::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QErrorMessage::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQErrorMessage::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QErrorMessage::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQErrorMessage::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QErrorMessage::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQErrorMessage::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QErrorMessage::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQErrorMessage::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QErrorMessage::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQErrorMessage::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QErrorMessage::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QErrorMessage::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QErrorMessage::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQErrorMessage::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QErrorMessage::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQErrorMessage::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QErrorMessage::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QErrorMessage::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQErrorMessage::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QErrorMessage::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQErrorMessage::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QErrorMessage::open();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 382328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 382388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "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, "showMessage(self, str)\n"
    "showMessage(self, 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, "changeEvent(self, 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 || sipIsDerivedClass((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, "done(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QErrorMessage(void *, const sipTypeDef *);}
static void *cast_QErrorMessage(void *sipCppV, const sipTypeDef *targetType)
{
     ::QErrorMessage *sipCpp = reinterpret_cast< ::QErrorMessage *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQErrorMessage *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QErrorMessage(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QErrorMessage = {
    & ::QErrorMessage::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QErrorMessage = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QErrorMessage,
        {0},
        &plugin_QErrorMessage
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 384033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 384037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QDockWidget_DockWidgetFeatures___hash__(PyObject *);}
static long slot_QDockWidget_DockWidgetFeatures___hash__(PyObject *sipSelf)
{
     ::QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast< ::QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QDockWidget::DockWidgetFeatures::Int();
#line 384055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDockWidget::DockWidgetFeatures::Int() != 0);
#line 384080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDockWidget::DockWidgetFeatures::Int() != a0->operator QDockWidget::DockWidgetFeatures::Int());
#line 384110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDockWidget::DockWidgetFeatures::Int() == a0->operator QDockWidget::DockWidgetFeatures::Int());
#line 384146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QDockWidget::DockWidgetFeatures(*sipCpp ^ a0);
#line 384185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QDockWidget::DockWidgetFeatures(*sipCpp | a0);
#line 384257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDockWidget::DockWidgetFeatures();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QDockWidget::DockWidgetFeatures(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 384525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDockWidget_DockWidgetFeatures[] = {
    {(void *)slot_QDockWidget_DockWidgetFeatures___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___xor__, xor_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___ior__, ior_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___or__, or_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___iand__, iand_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___and__, and_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___invert__, invert_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDockWidget_DockWidgetFeatures, "\1QDockWidget.DockWidgetFeatures()\n"
    "QDockWidget.DockWidgetFeatures(Union[QDockWidget.DockWidgetFeatures, QDockWidget.DockWidgetFeature])\n"
    "QDockWidget.DockWidgetFeatures(QDockWidget.DockWidgetFeatures)");


static pyqt5ClassPluginDef plugin_QDockWidget_DockWidgetFeatures = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDockWidget_DockWidgetFeatures = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDockWidget__DockWidgetFeatures,
        {0},
        &plugin_QDockWidget_DockWidgetFeatures
    },
    {
        sipNameNr_DockWidgetFeatures,
        {69, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDockWidget_DockWidgetFeatures,
    -1,
    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,
    0,
    convertTo_QDockWidget_DockWidgetFeatures,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 384611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 384615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 384618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 384624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 384633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 384642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 384645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 384648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 384651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 384654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 384657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 384660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 384663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 384669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 384675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 384678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 384681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 384684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 384687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 384690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 384693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 384696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 384699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 384702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 384705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 384708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 384711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 384759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 384762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 384765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 384768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 384771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 384777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 384780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 384783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 384786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 384789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 384792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 384795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 384798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 384801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 384804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 384807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 384810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 384816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 384819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 384822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDockWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDockWidget);

    return  ::QDockWidget::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQDockWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDockWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDockWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QDockWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQDockWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDockWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDockWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDockWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDockWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDockWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDockWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDockWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDockWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDockWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDockWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QDockWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QDockWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QDockWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QDockWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDockWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDockWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDockWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDockWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QDockWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDockWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDockWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDockWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDockWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDockWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDockWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDockWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDockWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QDockWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QDockWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QDockWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QDockWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QDockWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QDockWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDockWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDockWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDockWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDockWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDockWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDockWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDockWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDockWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDockWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDockWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDockWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDockWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDockWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQDockWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDockWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDockWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDockWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 386058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 386118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "widget(self) -> 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, "setWidget(self, 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, "setFeatures(self, Union[QDockWidget.DockWidgetFeatures, QDockWidget.DockWidgetFeature])");

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, "features(self) -> 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, "setFloating(self, 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, "isFloating(self) -> 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, "setAllowedAreas(self, Union[Qt.DockWidgetAreas, Qt.DockWidgetArea])");

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, "allowedAreas(self) -> 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, "isAreaAllowed(self, 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, "toggleViewAction(self) -> 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, "setTitleBarWidget(self, 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, "titleBarWidget(self) -> 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, "initStyleOption(self, 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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QDockWidget(void *, const sipTypeDef *);}
static void *cast_QDockWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDockWidget *sipCpp = reinterpret_cast< ::QDockWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDockWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDockWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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 = Qt::WindowFlags();
         ::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[] = {{457, 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},
};

PyDoc_STRVAR(doc_QDockWidget, "\1QDockWidget(str, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())\n"
    "QDockWidget(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDockWidget[] = {
    {"visibilityChanged(bool)", "\1visibilityChanged(self, bool)", 0, 0},
    {"dockLocationChanged(Qt::DockWidgetArea)", "\1dockLocationChanged(self, Qt.DockWidgetArea)", 0, 0},
    {"allowedAreasChanged(Qt::DockWidgetAreas)", "\1allowedAreasChanged(self, Union[Qt.DockWidgetAreas, Qt.DockWidgetArea])", 0, 0},
    {"topLevelChanged(bool)", "\1topLevelChanged(self, bool)", 0, 0},
    {"featuresChanged(QDockWidget::DockWidgetFeatures)", "\1featuresChanged(self, Union[QDockWidget.DockWidgetFeatures, QDockWidget.DockWidgetFeature])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QDockWidget = {
    & ::QDockWidget::staticMetaObject,
    0,
    signals_QDockWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDockWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDockWidget,
        {0},
        &plugin_QDockWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdirmodel.sip"
#include <qdirmodel.h>
#line 388054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 388058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 388061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 388064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 388067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 388070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 388073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 388076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 388079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 388082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 388085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 388088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 388091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 388094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 388097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 388100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 388103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 388106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 388109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 388112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 388115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 388118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 388121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 388124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 388127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 146 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 388130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 388133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 388136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 388139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 388142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 388145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 388148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 388151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 388154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 388157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 388160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 388163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
     ::QModelIndex index(int,int,const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    bool hasChildren(const  ::QModelIndex&) const;
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    void fetchMore(const  ::QModelIndex&);
    bool canFetchMore(const  ::QModelIndex&) const;
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::QModelIndex buddy(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QSize span(const  ::QModelIndex&) const;
    bool submit();
    void revert();
     ::Qt::DropActions supportedDragActions() const;
    QHash<int, ::QByteArray> roleNames() const;
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDirModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDirModel);

    return  ::QDirModel::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[7]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::QDirModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtWidgets_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_131(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQDirModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return  ::QDirModel::parent(a0);

    extern  ::QModelIndex sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_118(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQDirModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QDirModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtWidgets_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_131(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQDirModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return  ::QDirModel::rowCount(a0);

    extern int sipVH_QtWidgets_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_130(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDirModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return  ::QDirModel::columnCount(a0);

    extern int sipVH_QtWidgets_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_130(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDirModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::QDirModel::hasChildren(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDirModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::QDirModel::data(a0,a1);

    extern  ::QVariant sipVH_QtWidgets_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtWidgets_129(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQDirModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QDirModel::setData(a0,a1,a2);

    extern bool sipVH_QtWidgets_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtWidgets_128(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQDirModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QDirModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtWidgets_127(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDirModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QDirModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtWidgets_126(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMap<int, ::QVariant> sipQDirModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QDirModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_125(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDirModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QDirModel::setItemData(a0,a1);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtWidgets_124(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipQDirModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QDirModel::mimeTypes();

    extern  ::QStringList sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_123(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMimeData* sipQDirModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QDirModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtWidgets_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtWidgets_122(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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[21],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QDirModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_113(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::Qt::DropActions sipQDirModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QDirModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_115(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDirModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QDirModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[24],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QDirModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[25],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QDirModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDirModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QDirModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_121(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQDirModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QDirModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDirModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QDirModel::canFetchMore(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::ItemFlags sipQDirModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QDirModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_120(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDirModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QDirModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtWidgets_119(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQDirModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QDirModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_118(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[32]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QDirModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtWidgets_117(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QSize sipQDirModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QDirModel::span(a0);

    extern  ::QSize sipVH_QtWidgets_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_116(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDirModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QDirModel::submit();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDirModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QDirModel::revert();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQDirModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QDirModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_115(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

QHash<int, ::QByteArray> sipQDirModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QDirModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_114(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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[38]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QDirModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtWidgets_113(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[39],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QDirModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtWidgets_112(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

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[40],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QDirModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtWidgets_112(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 389142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 389202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "encodeData(self, object, 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, "decodeData(self, 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, "beginInsertRows(self, 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, "endInsertRows(self)");

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, "beginRemoveRows(self, 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, "endRemoveRows(self)");

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, "beginInsertColumns(self, 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, "endInsertColumns(self)");

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, "beginRemoveColumns(self, 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, "endRemoveColumns(self)");

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, "persistentIndexList(self) -> object");

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, "changePersistentIndex(self, 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, "changePersistentIndexList(self, object, object)");

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, "createIndex(self, 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 389862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "beginMoveRows(self, 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, "endMoveRows(self)");

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, "beginMoveColumns(self, 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, "endMoveColumns(self)");

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, "beginResetModel(self)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginResetModel, doc_QDirModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endResetModel, "endResetModel(self)");

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))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endResetModel, doc_QDirModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_resetInternalData, "resetInternalData(self)");

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, "index(self, int, int, parent: QModelIndex = QModelIndex()) -> QModelIndex\n"
    "index(self, str, column: int = 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 || sipIsDerivedClass((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, "parent(self, QModelIndex) -> QModelIndex\n"
    "parent(self) -> 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 || sipIsDerivedClass((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, "rowCount(self, parent: QModelIndex = 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 || sipIsDerivedClass((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, "columnCount(self, parent: QModelIndex = 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 || sipIsDerivedClass((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, "data(self, QModelIndex, role: int = Qt.DisplayRole) -> Any");

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 || sipIsDerivedClass((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, "setData(self, QModelIndex, Any, role: int = 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 || sipIsDerivedClass((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, "headerData(self, int, Qt.Orientation, role: int = Qt.DisplayRole) -> Any");

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 || sipIsDerivedClass((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, "hasChildren(self, parent: QModelIndex = 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 || sipIsDerivedClass((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, "flags(self, 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 || sipIsDerivedClass((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, "sort(self, int, order: Qt.SortOrder = 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 || sipIsDerivedClass((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, "mimeTypes(self) -> List[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 || sipIsDerivedClass((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, "mimeData(self, object) -> 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 || sipIsDerivedClass((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, "dropMimeData(self, 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 || sipIsDerivedClass((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, "supportedDropActions(self) -> 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 || sipIsDerivedClass((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, "setIconProvider(self, 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, "iconProvider(self) -> 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, "setNameFilters(self, Iterable[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, "nameFilters(self) -> List[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, "setFilter(self, Union[QDir.Filters, QDir.Filter])");

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, "filter(self) -> 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, "setSorting(self, Union[QDir.SortFlags, QDir.SortFlag])");

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, "sorting(self) -> 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, "setResolveSymlinks(self, 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, "resolveSymlinks(self) -> 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, "setReadOnly(self, 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, "isReadOnly(self) -> 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, "setLazyChildCount(self, 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, "lazyChildCount(self) -> 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, "refresh(self, parent: QModelIndex = 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, "isDir(self, 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, "mkdir(self, 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, "rmdir(self, 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, "remove(self, 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, "filePath(self, 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, "fileName(self, 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, "fileIcon(self, 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, "fileInfo(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QDirModel(void *, const sipTypeDef *);}
static void *cast_QDirModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDirModel *sipCpp = reinterpret_cast< ::QDirModel *>(sipCppV);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDirModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDirModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{0, 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(Iterable[str], Union[QDir.Filters, QDir.Filter], Union[QDir.SortFlags, QDir.SortFlag], parent: QObject = None)\n"
    "QDirModel(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QDirModel = {
    & ::QDirModel::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDirModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDirModel,
        {0},
        &plugin_QDirModel
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 391506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 391510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QDialogButtonBox_StandardButtons___hash__(PyObject *);}
static long slot_QDialogButtonBox_StandardButtons___hash__(PyObject *sipSelf)
{
     ::QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast< ::QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QDialogButtonBox::StandardButtons::Int();
#line 391528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDialogButtonBox::StandardButtons::Int() != 0);
#line 391553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDialogButtonBox::StandardButtons::Int() != a0->operator QDialogButtonBox::StandardButtons::Int());
#line 391583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDialogButtonBox::StandardButtons::Int() == a0->operator QDialogButtonBox::StandardButtons::Int());
#line 391619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QDialogButtonBox::StandardButtons(*sipCpp ^ a0);
#line 391658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QDialogButtonBox::StandardButtons(*sipCpp | a0);
#line 391730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___or__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDialogButtonBox::StandardButtons();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QDialogButtonBox::StandardButtons(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 391998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDialogButtonBox_StandardButtons[] = {
    {(void *)slot_QDialogButtonBox_StandardButtons___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___xor__, xor_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___ior__, ior_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___or__, or_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___iand__, iand_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___and__, and_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___invert__, invert_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDialogButtonBox_StandardButtons, "\1QDialogButtonBox.StandardButtons()\n"
    "QDialogButtonBox.StandardButtons(Union[QDialogButtonBox.StandardButtons, QDialogButtonBox.StandardButton])\n"
    "QDialogButtonBox.StandardButtons(QDialogButtonBox.StandardButtons)");


static pyqt5ClassPluginDef plugin_QDialogButtonBox_StandardButtons = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDialogButtonBox_StandardButtons = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDialogButtonBox__StandardButtons,
        {0},
        &plugin_QDialogButtonBox_StandardButtons
    },
    {
        sipNameNr_StandardButtons,
        {62, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDialogButtonBox_StandardButtons,
    -1,
    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,
    0,
    convertTo_QDialogButtonBox_StandardButtons,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 392084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 392088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 392091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 392094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 392097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 392100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 392103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 392106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 392109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 392112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 392115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 392118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 392121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 392124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 392127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 392130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 392133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 392136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 392139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 392142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 392145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 392148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 392151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 392154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 392157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 392160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 392163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 392166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 392169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 392172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 392175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 392178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 392232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 392235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 392238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 392241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 392244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 392247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 392250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 392253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 392256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 392259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 392262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 392265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 392268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 392271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 392274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 392277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 392280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 392283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 392286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 392289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 392292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 392295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 392298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDialogButtonBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDialogButtonBox);

    return  ::QDialogButtonBox::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQDialogButtonBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDialogButtonBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDialogButtonBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QDialogButtonBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQDialogButtonBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDialogButtonBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDialogButtonBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDialogButtonBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialogButtonBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDialogButtonBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDialogButtonBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDialogButtonBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDialogButtonBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDialogButtonBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDialogButtonBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QDialogButtonBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDialogButtonBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDialogButtonBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDialogButtonBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDialogButtonBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDialogButtonBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDialogButtonBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDialogButtonBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDialogButtonBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDialogButtonBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQDialogButtonBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDialogButtonBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialogButtonBox::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDialogButtonBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 393540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 393600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setOrientation(self, 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, "orientation(self) -> 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, "addButton(self, QAbstractButton, QDialogButtonBox.ButtonRole)\n"
    "addButton(self, str, QDialogButtonBox.ButtonRole) -> QPushButton\n"
    "addButton(self, 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, "removeButton(self, 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, "clear(self)");

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, "buttons(self) -> List[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, "buttonRole(self, 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, "setStandardButtons(self, Union[QDialogButtonBox.StandardButtons, QDialogButtonBox.StandardButton])");

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, "standardButtons(self) -> 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, "standardButton(self, 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, "button(self, 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, "setCenterButtons(self, 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, "centerButtons(self) -> 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, "changeEvent(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QDialogButtonBox(void *, const sipTypeDef *);}
static void *cast_QDialogButtonBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDialogButtonBox *sipCpp = reinterpret_cast< ::QDialogButtonBox *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDialogButtonBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDialogButtonBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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},
};

PyDoc_STRVAR(doc_QDialogButtonBox, "\1QDialogButtonBox(parent: QWidget = None)\n"
    "QDialogButtonBox(Qt.Orientation, parent: QWidget = None)\n"
    "QDialogButtonBox(Union[QDialogButtonBox.StandardButtons, QDialogButtonBox.StandardButton], parent: QWidget = None)\n"
    "QDialogButtonBox(Union[QDialogButtonBox.StandardButtons, QDialogButtonBox.StandardButton], Qt.Orientation, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDialogButtonBox[] = {
    {"rejected()", "\1rejected(self)", 0, 0},
    {"helpRequested()", "\1helpRequested(self)", 0, 0},
    {"clicked(QAbstractButton*)", "\1clicked(self, QAbstractButton)", 0, 0},
    {"accepted()", "\1accepted(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QDialogButtonBox = {
    & ::QDialogButtonBox::staticMetaObject,
    0,
    signals_QDialogButtonBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDialogButtonBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDialogButtonBox,
        {0},
        &plugin_QDialogButtonBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdial.sip"
#include <qdial.h>
#line 395631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 395635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 395638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 395650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 395653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 395656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 395662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 395668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 395671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 395674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 395677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 395680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 395683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 395686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 395689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 395692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 395695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 395698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 395701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 395704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 395707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 395710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 395713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 395716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 395719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 395722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 395725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 395728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 395731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 395734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 395737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 395776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 395779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 395782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 395785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 395788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 395791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 395794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 395797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 395800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 395803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 395806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 395809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 395812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 395815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 395818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 395821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 395824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 395827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 395830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 395833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 395836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 395839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void sliderChange( ::QAbstractSlider::SliderChange);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDial::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDial);

    return  ::QDial::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDial::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQDial::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDial::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDial::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDial::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDial::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDial::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDial::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDial::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDial::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDial::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDial::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDial::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDial::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDial::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QDial::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QDial::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QDial::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QDial::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QDial::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QDial::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDial::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDial::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDial::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDial::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDial::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDial::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDial::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDial::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QDial::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDial::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDial::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDial::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDial::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QDial::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QDial::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDial::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  ::QDial::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDial::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDial::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDial::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDial::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDial::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDial::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDial::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDial::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQDial::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDial::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDial::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QDial::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDial::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDial::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDial::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QDial::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQDial::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QDial::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QDial::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QDial::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QDial::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QDial::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDial::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::QDial::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_71(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 397114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 397174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setRepeatAction(self, QAbstractSlider.SliderAction, thresholdTime: int = 500, repeatTime: int = 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, "repeatAction(self) -> 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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "wrapping(self) -> 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, "notchSize(self) -> 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, "setNotchTarget(self, 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, "notchTarget(self) -> 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, "notchesVisible(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "setNotchesVisible(self, 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, "setWrapping(self, 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, "initStyleOption(self, 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, "event(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "sliderChange(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QDial(void *, const sipTypeDef *);}
static void *cast_QDial(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDial *sipCpp = reinterpret_cast< ::QDial *>(sipCppV);

    if (targetType == sipType_QAbstractSlider)
        return static_cast< ::QAbstractSlider *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDial(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QDial = {
    & ::QDial::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDial = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDial,
        {0},
        &plugin_QDial
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdesktopwidget.sip"
#include <qdesktopwidget.h>
#line 399067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 399074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 399077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 399080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 399083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 399086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 399089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 399092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 399095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 399098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 399101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 399104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 399107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 399110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 399113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 399116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 399119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 399122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 399125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 399128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 399131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 399134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 399137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 399140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 399143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 399146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 399149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 399155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 399203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 399206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 399209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 399212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 399215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 399218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 399221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 399224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 399227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 399230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 399233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 399236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 399239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 399242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 399245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 399248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 399251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 399254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 399257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 399260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 399263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 399266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 399269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDesktopWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDesktopWidget);

    return  ::QDesktopWidget::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQDesktopWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDesktopWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDesktopWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QDesktopWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQDesktopWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDesktopWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDesktopWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDesktopWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDesktopWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDesktopWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDesktopWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDesktopWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDesktopWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDesktopWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDesktopWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QDesktopWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDesktopWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDesktopWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDesktopWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDesktopWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDesktopWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDesktopWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDesktopWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDesktopWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDesktopWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQDesktopWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDesktopWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDesktopWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDesktopWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 400493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 400553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "isVirtualDesktop(self) -> 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, "primaryScreen(self) -> 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, "screenNumber(self, widget: QWidget = None) -> int\n"
    "screenNumber(self, 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, "screen(self, screen: int = -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, "screenCount(self) -> 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, "screenGeometry(self, screen: int = -1) -> QRect\n"
    "screenGeometry(self, QWidget) -> QRect\n"
    "screenGeometry(self, 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, "availableGeometry(self, screen: int = -1) -> QRect\n"
    "availableGeometry(self, QWidget) -> QRect\n"
    "availableGeometry(self, 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, "resizeEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QDesktopWidget(void *, const sipTypeDef *);}
static void *cast_QDesktopWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDesktopWidget *sipCpp = reinterpret_cast< ::QDesktopWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDesktopWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDesktopWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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}
};

PyDoc_STRVAR(doc_QDesktopWidget, "\1QDesktopWidget()");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDesktopWidget[] = {
    {"primaryScreenChanged()", "\1primaryScreenChanged(self)", 0, 0},
    {"screenCountChanged(int)", "\1screenCountChanged(self, int)", 0, 0},
    {"workAreaResized(int)", "\1workAreaResized(self, int)", 0, 0},
    {"resized(int)", "\1resized(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QDesktopWidget = {
    & ::QDesktopWidget::staticMetaObject,
    0,
    signals_QDesktopWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDesktopWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDesktopWidget,
        {0},
        &plugin_QDesktopWidget
    },
    {
        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
};

#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 402362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 402366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 402369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 402375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 303 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 402378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 402381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 402384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 402387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 402405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 159 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 402408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 402411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 402414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 402417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 402420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 402423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 402426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 402429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 402435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 402453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 402456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 402459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 402462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 402468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 402471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 402477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 402483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 402486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 402489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 402492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 402495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 402498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 402501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 402504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 402507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 402510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 402513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 402537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 402540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 402543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 402546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 402549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 402552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 402558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 402561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 402564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 402567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 402570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 402573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 402576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 402579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 402582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 402585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 402588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 402594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 402597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 402600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QAbstractSpinBox::StepEnabled stepEnabled() const;
    void clear();
    void stepBy(int);
    void fixup( ::QString&) const;
     ::QValidator::State validate( ::QString&,int&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QDateTime dateTimeFromText(const  ::QString&) const;
     ::QString textFromDateTime(const  ::QDateTime&) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDateEdit::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDateEdit);

    return  ::QDateEdit::metaObject();
}

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));
}

 ::QAbstractSpinBox::StepEnabled sipQDateEdit::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return  ::QDateEdit::stepEnabled();

    extern  ::QAbstractSpinBox::StepEnabled sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_74(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDateEdit::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::QDateEdit::clear();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDateEdit::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
         ::QDateEdit::stepBy(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::fixup( ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
         ::QDateEdit::fixup(a0);
        return;
    }

    extern void sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

    sipVH_QtWidgets_73(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[4]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return  ::QDateEdit::validate(a0,a1);

    extern  ::QValidator::State sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

    return sipVH_QtWidgets_72(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQDateEdit::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QDateEdit::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QDateEdit::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QDateEdit::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QDateEdit::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QDateEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDateEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QDateEdit::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQDateEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDateEdit::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDateEdit::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  ::QDateEdit::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQDateEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDateEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDateEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDateEdit::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDateEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDateEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDateEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDateEdit::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDateEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDateEdit::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDateEdit::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  ::QDateEdit::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QDateEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QDateEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QDateEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDateEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDateEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDateEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDateEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QDateEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDateEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDateEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDateEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDateEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDateEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDateEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDateEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDateEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QDateEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QDateEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QDateEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QDateEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QDateEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QDateEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDateEdit::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDateEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDateEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDateEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDateEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDateEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDateEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDateEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDateEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDateEdit::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDateEdit::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDateEdit::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQDateEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDateEdit::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDateEdit::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDateEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QDateTime sipQDateEdit::dateTimeFromText(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_dateTimeFromText);

    if (!sipMeth)
        return  ::QDateEdit::dateTimeFromText(a0);

    extern  ::QDateTime sipVH_QtWidgets_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtWidgets_110(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QString sipQDateEdit::textFromDateTime(const  ::QDateTime& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_textFromDateTime);

    if (!sipMeth)
        return  ::QDateEdit::textFromDateTime(a0);

    extern  ::QString sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QDateTime&);

    return sipVH_QtWidgets_111(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 403993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 404053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "lineEdit(self) -> 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, "setLineEdit(self, 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, "initStyleOption(self, 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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "validate(self, str, int) -> Tuple[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 || sipIsDerivedClass((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, "fixup(self, 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 || sipIsDerivedClass((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, "dateTimeFromText(self, 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 || sipIsDerivedClass((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, "textFromDateTime(self, Union[QDateTime, datetime.datetime]) -> 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 || sipIsDerivedClass((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, "stepEnabled(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QDateEdit(void *, const sipTypeDef *);}
static void *cast_QDateEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDateEdit *sipCpp = reinterpret_cast< ::QDateEdit *>(sipCppV);

    if (targetType == sipType_QDateTimeEdit)
        return static_cast< ::QDateTimeEdit *>(sipCpp);

    if (targetType == sipType_QAbstractSpinBox)
        return static_cast< ::QAbstractSpinBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDateEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDateEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QWidget = None)\n"
    "QDateEdit(Union[QDate, datetime.date], parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QDateEdit = {
    & ::QDateEdit::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDateEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDateEdit,
        {0},
        &plugin_QDateEdit
    },
    {
        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
};

#line 130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 405807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 405811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 159 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 405814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 405817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 405820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 303 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 405823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 405826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 405829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 405832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 405850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 405853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 405856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 405859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 405862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 405865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 405868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 405871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 405874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 405880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 405895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 405898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 405901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 405904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 405907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 405910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 405913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 405916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 405919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 405922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 405925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 405928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 405931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 405934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 405937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 405940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 405943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 405946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 405949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 405952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 405955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 405958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 405982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 405985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 405988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 405991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 405994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 405997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 406000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 406003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 406006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 406009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 406012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 406015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 406018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 406021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 406024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 406027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 406030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 406033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 406036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 406039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 406042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 406045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QAbstractSpinBox::StepEnabled stepEnabled() const;
    void clear();
    void stepBy(int);
    void fixup( ::QString&) const;
     ::QValidator::State validate( ::QString&,int&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QDateTime dateTimeFromText(const  ::QString&) const;
     ::QString textFromDateTime(const  ::QDateTime&) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTimeEdit::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTimeEdit);

    return  ::QTimeEdit::metaObject();
}

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));
}

 ::QAbstractSpinBox::StepEnabled sipQTimeEdit::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return  ::QTimeEdit::stepEnabled();

    extern  ::QAbstractSpinBox::StepEnabled sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_74(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTimeEdit::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::QTimeEdit::clear();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTimeEdit::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
         ::QTimeEdit::stepBy(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::fixup( ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
         ::QTimeEdit::fixup(a0);
        return;
    }

    extern void sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

    sipVH_QtWidgets_73(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[4]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return  ::QTimeEdit::validate(a0,a1);

    extern  ::QValidator::State sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

    return sipVH_QtWidgets_72(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQTimeEdit::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTimeEdit::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTimeEdit::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTimeEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTimeEdit::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQTimeEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTimeEdit::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQTimeEdit::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  ::QTimeEdit::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQTimeEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QTimeEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTimeEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QTimeEdit::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTimeEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QTimeEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQTimeEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QTimeEdit::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQTimeEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QTimeEdit::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQTimeEdit::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  ::QTimeEdit::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QTimeEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQTimeEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QTimeEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTimeEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QTimeEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQTimeEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QTimeEdit::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQTimeEdit::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QTimeEdit::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQTimeEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QTimeEdit::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQTimeEdit::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QTimeEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QDateTime sipQTimeEdit::dateTimeFromText(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_dateTimeFromText);

    if (!sipMeth)
        return  ::QTimeEdit::dateTimeFromText(a0);

    extern  ::QDateTime sipVH_QtWidgets_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtWidgets_110(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QString sipQTimeEdit::textFromDateTime(const  ::QDateTime& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_textFromDateTime);

    if (!sipMeth)
        return  ::QTimeEdit::textFromDateTime(a0);

    extern  ::QString sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QDateTime&);

    return sipVH_QtWidgets_111(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 407438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 407498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "lineEdit(self) -> 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, "setLineEdit(self, 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, "initStyleOption(self, 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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "validate(self, str, int) -> Tuple[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 || sipIsDerivedClass((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, "fixup(self, 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 || sipIsDerivedClass((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, "dateTimeFromText(self, 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 || sipIsDerivedClass((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, "textFromDateTime(self, Union[QDateTime, datetime.datetime]) -> 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 || sipIsDerivedClass((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, "stepEnabled(self) -> 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QTimeEdit(void *, const sipTypeDef *);}
static void *cast_QTimeEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTimeEdit *sipCpp = reinterpret_cast< ::QTimeEdit *>(sipCppV);

    if (targetType == sipType_QDateTimeEdit)
        return static_cast< ::QDateTimeEdit *>(sipCpp);

    if (targetType == sipType_QAbstractSpinBox)
        return static_cast< ::QAbstractSpinBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTimeEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTimeEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QWidget = None)\n"
    "QTimeEdit(Union[QTime, datetime.time], parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QTimeEdit = {
    & ::QTimeEdit::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QTimeEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTimeEdit,
        {0},
        &plugin_QTimeEdit
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 409252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 409256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QDateTimeEdit_Sections___hash__(PyObject *);}
static long slot_QDateTimeEdit_Sections___hash__(PyObject *sipSelf)
{
     ::QDateTimeEdit::Sections *sipCpp = reinterpret_cast< ::QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QDateTimeEdit::Sections::Int();
#line 409274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDateTimeEdit::Sections::Int() != 0);
#line 409299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDateTimeEdit::Sections::Int() != a0->operator QDateTimeEdit::Sections::Int());
#line 409329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDateTimeEdit::Sections::Int() == a0->operator QDateTimeEdit::Sections::Int());
#line 409365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QDateTimeEdit::Sections(*sipCpp ^ a0);
#line 409404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QDateTimeEdit::Sections(*sipCpp | a0);
#line 409476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___or__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDateTimeEdit::Sections();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QDateTimeEdit::Sections(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 409744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDateTimeEdit_Sections[] = {
    {(void *)slot_QDateTimeEdit_Sections___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QDateTimeEdit_Sections___xor__, xor_slot},
    {(void *)slot_QDateTimeEdit_Sections___ior__, ior_slot},
    {(void *)slot_QDateTimeEdit_Sections___or__, or_slot},
    {(void *)slot_QDateTimeEdit_Sections___iand__, iand_slot},
    {(void *)slot_QDateTimeEdit_Sections___and__, and_slot},
    {(void *)slot_QDateTimeEdit_Sections___invert__, invert_slot},
    {(void *)slot_QDateTimeEdit_Sections___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDateTimeEdit_Sections, "\1QDateTimeEdit.Sections()\n"
    "QDateTimeEdit.Sections(Union[QDateTimeEdit.Sections, QDateTimeEdit.Section])\n"
    "QDateTimeEdit.Sections(QDateTimeEdit.Sections)");


static pyqt5ClassPluginDef plugin_QDateTimeEdit_Sections = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDateTimeEdit_Sections = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDateTimeEdit__Sections,
        {0},
        &plugin_QDateTimeEdit_Sections
    },
    {
        sipNameNr_Sections,
        {55, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDateTimeEdit_Sections,
    -1,
    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,
    0,
    convertTo_QDateTimeEdit_Sections,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 409830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 409834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 303 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 409837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 409840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 159 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 409843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 409846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 409849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 409852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 409855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 409858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 409876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 409879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 409882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 409885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 409888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 409891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 409894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 409900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 409915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 409918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 409921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 409924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 409927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 409930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 409933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 409936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 409939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 409942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 409945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 409948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 409951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 409954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 409957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 409960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 409963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 409966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 409969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 409972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 409975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 409978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 409999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 410005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 410008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 410011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 410014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 410017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 410023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 410026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 410029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 410032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 410035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 410038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 410041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 410044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 410047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 410050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 410053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 410059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 410062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 410065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QString textFromDateTime(const  ::QDateTime&) const;
     ::QDateTime dateTimeFromText(const  ::QString&) const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
     ::QValidator::State validate( ::QString&,int&) const;
    void fixup( ::QString&) const;
    void stepBy(int);
    void clear();
     ::QAbstractSpinBox::StepEnabled stepEnabled() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDateTimeEdit::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDateTimeEdit);

    return  ::QDateTimeEdit::metaObject();
}

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));
}

 ::QString sipQDateTimeEdit::textFromDateTime(const  ::QDateTime& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_textFromDateTime);

    if (!sipMeth)
        return  ::QDateTimeEdit::textFromDateTime(a0);

    extern  ::QString sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QDateTime&);

    return sipVH_QtWidgets_111(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QDateTime sipQDateTimeEdit::dateTimeFromText(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_dateTimeFromText);

    if (!sipMeth)
        return  ::QDateTimeEdit::dateTimeFromText(a0);

    extern  ::QDateTime sipVH_QtWidgets_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtWidgets_110(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDateTimeEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQDateTimeEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDateTimeEdit::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDateTimeEdit::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDateTimeEdit::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDateTimeEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDateTimeEdit::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDateTimeEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDateTimeEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDateTimeEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDateTimeEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDateTimeEdit::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  ::QDateTimeEdit::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDateTimeEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDateTimeEdit::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDateTimeEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDateTimeEdit::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDateTimeEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDateTimeEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDateTimeEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDateTimeEdit::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQDateTimeEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDateTimeEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDateTimeEdit::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QDateTimeEdit::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDateTimeEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDateTimeEdit::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDateTimeEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QDateTimeEdit::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQDateTimeEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QDateTimeEdit::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QDateTimeEdit::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QDateTimeEdit::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[48]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return  ::QDateTimeEdit::validate(a0,a1);

    extern  ::QValidator::State sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

    return sipVH_QtWidgets_72(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQDateTimeEdit::fixup( ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
         ::QDateTimeEdit::fixup(a0);
        return;
    }

    extern void sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

    sipVH_QtWidgets_73(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QAbstractSpinBox::StepEnabled sipQDateTimeEdit::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return  ::QDateTimeEdit::stepEnabled();

    extern  ::QAbstractSpinBox::StepEnabled sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_74(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 411470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 411530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "lineEdit(self) -> 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, "setLineEdit(self, 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, "dateTime(self) -> 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, "date(self) -> 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, "time(self) -> 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, "minimumDate(self) -> 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, "setMinimumDate(self, Union[QDate, datetime.date])");

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, "clearMinimumDate(self)");

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, "maximumDate(self) -> 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, "setMaximumDate(self, Union[QDate, datetime.date])");

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, "clearMaximumDate(self)");

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, "setDateRange(self, Union[QDate, datetime.date], Union[QDate, datetime.date])");

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, "minimumTime(self) -> 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, "setMinimumTime(self, Union[QTime, datetime.time])");

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, "clearMinimumTime(self)");

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, "maximumTime(self) -> 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, "setMaximumTime(self, Union[QTime, datetime.time])");

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, "clearMaximumTime(self)");

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, "setTimeRange(self, Union[QTime, datetime.time], Union[QTime, datetime.time])");

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, "displayedSections(self) -> 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, "currentSection(self) -> 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, "setCurrentSection(self, 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, "sectionText(self, 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, "displayFormat(self) -> 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, "setDisplayFormat(self, 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, "calendarPopup(self) -> 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, "setCalendarPopup(self, 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, "setSelectedSection(self, 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "clear(self)");

extern "C" {static PyObject *meth_QDateTimeEdit_clear(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "stepBy(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "sectionAt(self, 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, "currentSectionIndex(self) -> 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, "setCurrentSectionIndex(self, 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, "sectionCount(self) -> 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, "setDateTime(self, Union[QDateTime, datetime.datetime])");

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, "setDate(self, Union[QDate, datetime.date])");

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, "setTime(self, Union[QTime, datetime.time])");

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, "initStyleOption(self, 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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "validate(self, str, int) -> Tuple[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 || sipIsDerivedClass((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, "fixup(self, 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 || sipIsDerivedClass((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, "dateTimeFromText(self, 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 || sipIsDerivedClass((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, "textFromDateTime(self, Union[QDateTime, datetime.datetime]) -> 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 || sipIsDerivedClass((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, "stepEnabled(self) -> 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 || sipIsDerivedClass((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, "minimumDateTime(self) -> 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, "clearMinimumDateTime(self)");

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, "setMinimumDateTime(self, Union[QDateTime, datetime.datetime])");

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, "maximumDateTime(self) -> 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, "clearMaximumDateTime(self)");

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, "setMaximumDateTime(self, Union[QDateTime, datetime.datetime])");

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, "setDateTimeRange(self, Union[QDateTime, datetime.datetime], Union[QDateTime, datetime.datetime])");

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, "calendarWidget(self) -> 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, "setCalendarWidget(self, 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, "timeSpec(self) -> 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, "setTimeSpec(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QDateTimeEdit(void *, const sipTypeDef *);}
static void *cast_QDateTimeEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDateTimeEdit *sipCpp = reinterpret_cast< ::QDateTimeEdit *>(sipCppV);

    if (targetType == sipType_QAbstractSpinBox)
        return static_cast< ::QAbstractSpinBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDateTimeEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDateTimeEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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},
};

PyDoc_STRVAR(doc_QDateTimeEdit, "\1QDateTimeEdit(parent: QWidget = None)\n"
    "QDateTimeEdit(Union[QDateTime, datetime.datetime], parent: QWidget = None)\n"
    "QDateTimeEdit(Union[QDate, datetime.date], parent: QWidget = None)\n"
    "QDateTimeEdit(Union[QTime, datetime.time], parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDateTimeEdit[] = {
    {"dateChanged(QDate)", "\1dateChanged(self, Union[QDate, datetime.date])", 0, 0},
    {"timeChanged(QTime)", "\1timeChanged(self, Union[QTime, datetime.time])", 0, 0},
    {"dateTimeChanged(QDateTime)", "\1dateTimeChanged(self, Union[QDateTime, datetime.datetime])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QDateTimeEdit = {
    & ::QDateTimeEdit::staticMetaObject,
    0,
    signals_QDateTimeEdit,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDateTimeEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDateTimeEdit,
        {0},
        &plugin_QDateTimeEdit
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdatawidgetmapper.sip"
#include <qdatawidgetmapper.h>
#line 414775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 414779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 414782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 414785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 414788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 414794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 414797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 414800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 414803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 414806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 414809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 414812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 414815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 414818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 414821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 414824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 414830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 414833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 414836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 setCurrentIndex(int);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDataWidgetMapper::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDataWidgetMapper);

    return  ::QDataWidgetMapper::metaObject();
}

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::setCurrentIndex(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setCurrentIndex);

    if (!sipMeth)
    {
         ::QDataWidgetMapper::setCurrentIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDataWidgetMapper::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDataWidgetMapper::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDataWidgetMapper::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QDataWidgetMapper::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQDataWidgetMapper::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QDataWidgetMapper::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QDataWidgetMapper::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QDataWidgetMapper::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QDataWidgetMapper::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QDataWidgetMapper::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 415149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 415209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "setModel(self, 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, "model(self) -> 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, "setItemDelegate(self, 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, "itemDelegate(self) -> 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, "setRootIndex(self, 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, "rootIndex(self) -> 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, "setOrientation(self, 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, "orientation(self) -> 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, "setSubmitPolicy(self, 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, "submitPolicy(self) -> 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, "addMapping(self, QWidget, int)\n"
    "addMapping(self, QWidget, int, Union[QByteArray, bytes, bytearray])");

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, "removeMapping(self, 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, "mappedPropertyName(self, 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, "mappedSection(self, 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, "mappedWidgetAt(self, 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, "clearMapping(self)");

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, "currentIndex(self) -> 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, "revert(self)");

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, "setCurrentIndex(self, 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 || sipIsDerivedClass((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, "setCurrentModelIndex(self, 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, "submit(self) -> 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, "toFirst(self)");

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, "toLast(self)");

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, "toNext(self)");

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, "toPrevious(self)");

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 inheritance hierarchy. */
extern "C" {static void *cast_QDataWidgetMapper(void *, const sipTypeDef *);}
static void *cast_QDataWidgetMapper(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDataWidgetMapper *sipCpp = reinterpret_cast< ::QDataWidgetMapper *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDataWidgetMapper *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDataWidgetMapper(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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},
};

PyDoc_STRVAR(doc_QDataWidgetMapper, "\1QDataWidgetMapper(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDataWidgetMapper[] = {
    {"currentIndexChanged(int)", "\1currentIndexChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QDataWidgetMapper = {
    & ::QDataWidgetMapper::staticMetaObject,
    0,
    signals_QDataWidgetMapper,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDataWidgetMapper = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDataWidgetMapper,
        {0},
        &plugin_QDataWidgetMapper
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 416337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 416341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 416344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 416347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 416350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 416353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 416356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 416359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 416362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 416365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 416368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 416371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 416374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 416377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 416380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 416383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 416386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 416389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 416392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 416395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 416398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 416401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 416404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 416407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QStringList splitPath(const  ::QString&) const;
     ::QString pathFromIndex(const  ::QModelIndex&) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCompleter::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCompleter);

    return  ::QCompleter::metaObject();
}

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));
}

 ::QStringList sipQCompleter::splitPath(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_splitPath);

    if (!sipMeth)
        return  ::QCompleter::splitPath(a0);

    extern  ::QStringList sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtWidgets_109(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QString sipQCompleter::pathFromIndex(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_pathFromIndex);

    if (!sipMeth)
        return  ::QCompleter::pathFromIndex(a0);

    extern  ::QString sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_108(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCompleter::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QCompleter::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCompleter::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QCompleter::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCompleter::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QCompleter::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCompleter::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QCompleter::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCompleter::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QCompleter::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCompleter::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QCompleter::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 416757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 416817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "setWidget(self, 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, "widget(self) -> 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, "setModel(self, 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, "model(self) -> 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, "setCompletionMode(self, 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, "completionMode(self) -> 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, "popup(self) -> 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, "setPopup(self, 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, "setCaseSensitivity(self, 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, "caseSensitivity(self) -> 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, "setModelSorting(self, 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, "modelSorting(self) -> 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, "setCompletionColumn(self, 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, "completionColumn(self) -> 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, "setCompletionRole(self, 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, "completionRole(self) -> 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, "completionCount(self) -> 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, "setCurrentRow(self, 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, "currentRow(self) -> 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, "currentIndex(self) -> 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, "currentCompletion(self) -> 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, "completionModel(self) -> 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, "completionPrefix(self) -> 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, "pathFromIndex(self, 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 || sipIsDerivedClass((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, "splitPath(self, str) -> List[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 || sipIsDerivedClass((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, "wrapAround(self) -> 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, "complete(self, rect: QRect = 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, "setCompletionPrefix(self, 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, "setWrapAround(self, 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, "eventFilter(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "maxVisibleItems(self) -> 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, "setMaxVisibleItems(self, 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, "setFilterMode(self, Union[Qt.MatchFlags, Qt.MatchFlag])");

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, "filterMode(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QCompleter(void *, const sipTypeDef *);}
static void *cast_QCompleter(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCompleter *sipCpp = reinterpret_cast< ::QCompleter *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCompleter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCompleter(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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},
};

PyDoc_STRVAR(doc_QCompleter, "\1QCompleter(parent: QObject = None)\n"
    "QCompleter(QAbstractItemModel, parent: QObject = None)\n"
    "QCompleter(Iterable[str], parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCompleter[] = {
    {"highlighted(QString)", "\1highlighted(self, str)", 0, 0},
    {"highlighted(QModelIndex)", "\1highlighted(self, QModelIndex)", 0, 0},
    {"activated(QString)", "\1activated(self, str)", 0, 0},
    {"activated(QModelIndex)", "\1activated(self, QModelIndex)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCompleter = {
    & ::QCompleter::staticMetaObject,
    0,
    signals_QCompleter,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QCompleter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCompleter,
        {0},
        &plugin_QCompleter
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcommonstyle.sip"
#include <qcommonstyle.h>
#line 418284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 418288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 418291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 418294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 418297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 418300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 418303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 418306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 418309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 418312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 418315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 418318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 418321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 418324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 418327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 418330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 418333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 418336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 418339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 418342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 418345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 418348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 418351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 418354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 418357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 418360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 418363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 418366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 418369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 418372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 418375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 418378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 418381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 418384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void polish( ::QWidget*);
    void unpolish( ::QWidget*);
    void polish( ::QApplication*);
    void unpolish( ::QApplication*);
    void polish( ::QPalette&);
     ::QRect itemTextRect(const  ::QFontMetrics&,const  ::QRect&,int,bool,const  ::QString&) const;
     ::QRect itemPixmapRect(const  ::QRect&,int,const  ::QPixmap&) const;
    void drawItemText( ::QPainter*,const  ::QRect&,int,const  ::QPalette&,bool,const  ::QString&, ::QPalette::ColorRole) const;
    void drawItemPixmap( ::QPainter*,const  ::QRect&,int,const  ::QPixmap&) const;
     ::QPalette standardPalette() const;
    void drawPrimitive( ::QStyle::PrimitiveElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*) const;
    void drawControl( ::QStyle::ControlElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*) const;
     ::QRect subElementRect( ::QStyle::SubElement,const  ::QStyleOption*,const  ::QWidget*) const;
    void drawComplexControl( ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QPainter*,const  ::QWidget*) const;
     ::QStyle::SubControl hitTestComplexControl( ::QStyle::ComplexControl,const  ::QStyleOptionComplex*,const  ::QPoint&,const  ::QWidget*) const;
     ::QRect subControlRect( ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QStyle::SubControl,const  ::QWidget*) const;
    int pixelMetric( ::QStyle::PixelMetric,const  ::QStyleOption*,const  ::QWidget*) const;
     ::QSize sizeFromContents( ::QStyle::ContentsType,const  ::QStyleOption*,const  ::QSize&,const  ::QWidget*) const;
    int styleHint( ::QStyle::StyleHint,const  ::QStyleOption*,const  ::QWidget*, ::QStyleHintReturn*) const;
     ::QPixmap standardPixmap( ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*) const;
     ::QIcon standardIcon( ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*) const;
     ::QPixmap generatedIconPixmap( ::QIcon::Mode,const  ::QPixmap&,const  ::QStyleOption*) const;
    int layoutSpacing( ::QSizePolicy::ControlType, ::QSizePolicy::ControlType, ::Qt::Orientation,const  ::QStyleOption*,const  ::QWidget*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCommonStyle::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCommonStyle);

    return  ::QCommonStyle::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::polish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QCommonStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::unpolish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::QCommonStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::polish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QCommonStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_QtWidgets_88(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::unpolish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::QCommonStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_QtWidgets_88(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::polish( ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QCommonStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPalette&);

    sipVH_QtWidgets_89(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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[12]),sipPySelf,NULL,sipName_itemTextRect);

    if (!sipMeth)
        return  ::QCommonStyle::itemTextRect(a0,a1,a2,a3,a4);

    extern  ::QRect sipVH_QtWidgets_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFontMetrics&,const  ::QRect&,int,bool,const  ::QString&);

    return sipVH_QtWidgets_90(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::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[13]),sipPySelf,NULL,sipName_itemPixmapRect);

    if (!sipMeth)
        return  ::QCommonStyle::itemPixmapRect(a0,a1,a2);

    extern  ::QRect sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&,int,const  ::QPixmap&);

    return sipVH_QtWidgets_91(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

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[14]),sipPySelf,NULL,sipName_drawItemText);

    if (!sipMeth)
    {
         ::QCommonStyle::drawItemText(a0,a1,a2,a3,a4,a5,a6);
        return;
    }

    extern void sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPalette&,bool,const  ::QString&, ::QPalette::ColorRole);

    sipVH_QtWidgets_92(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4, a5, a6);
}

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[15]),sipPySelf,NULL,sipName_drawItemPixmap);

    if (!sipMeth)
    {
         ::QCommonStyle::drawItemPixmap(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPixmap&);

    sipVH_QtWidgets_93(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QPalette sipQCommonStyle::standardPalette() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_standardPalette);

    if (!sipMeth)
        return  ::QCommonStyle::standardPalette();

    extern  ::QPalette sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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[17]),sipPySelf,NULL,sipName_drawPrimitive);

    if (!sipMeth)
    {
         ::QCommonStyle::drawPrimitive(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PrimitiveElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_95(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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[18]),sipPySelf,NULL,sipName_drawControl);

    if (!sipMeth)
    {
         ::QCommonStyle::drawControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ControlElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_96(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[19]),sipPySelf,NULL,sipName_subElementRect);

    if (!sipMeth)
        return  ::QCommonStyle::subElementRect(a0,a1,a2);

    extern  ::QRect sipVH_QtWidgets_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::SubElement,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_97(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

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[20]),sipPySelf,NULL,sipName_drawComplexControl);

    if (!sipMeth)
    {
         ::QCommonStyle::drawComplexControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_98(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[21]),sipPySelf,NULL,sipName_hitTestComplexControl);

    if (!sipMeth)
        return  ::QCommonStyle::hitTestComplexControl(a0,a1,a2,a3);

    extern  ::QStyle::SubControl sipVH_QtWidgets_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*,const  ::QPoint&,const  ::QWidget*);

    return sipVH_QtWidgets_99(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[22]),sipPySelf,NULL,sipName_subControlRect);

    if (!sipMeth)
        return  ::QCommonStyle::subControlRect(a0,a1,a2,a3);

    extern  ::QRect sipVH_QtWidgets_100(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QStyle::SubControl,const  ::QWidget*);

    return sipVH_QtWidgets_100(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[23]),sipPySelf,NULL,sipName_pixelMetric);

    if (!sipMeth)
        return  ::QCommonStyle::pixelMetric(a0,a1,a2);

    extern int sipVH_QtWidgets_101(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PixelMetric,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_101(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[24]),sipPySelf,NULL,sipName_sizeFromContents);

    if (!sipMeth)
        return  ::QCommonStyle::sizeFromContents(a0,a1,a2,a3);

    extern  ::QSize sipVH_QtWidgets_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ContentsType,const  ::QStyleOption*,const  ::QSize&,const  ::QWidget*);

    return sipVH_QtWidgets_102(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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[25]),sipPySelf,NULL,sipName_styleHint);

    if (!sipMeth)
        return  ::QCommonStyle::styleHint(a0,a1,a2,a3);

    extern int sipVH_QtWidgets_103(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StyleHint,const  ::QStyleOption*,const  ::QWidget*, ::QStyleHintReturn*);

    return sipVH_QtWidgets_103(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::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[26]),sipPySelf,NULL,sipName_standardPixmap);

    if (!sipMeth)
        return  ::QCommonStyle::standardPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_104(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::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[27]),sipPySelf,NULL,sipName_standardIcon);

    if (!sipMeth)
        return  ::QCommonStyle::standardIcon(a0,a1,a2);

    extern  ::QIcon sipVH_QtWidgets_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_105(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[28]),sipPySelf,NULL,sipName_generatedIconPixmap);

    if (!sipMeth)
        return  ::QCommonStyle::generatedIconPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_QtWidgets_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIcon::Mode,const  ::QPixmap&,const  ::QStyleOption*);

    return sipVH_QtWidgets_106(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

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[29]),sipPySelf,NULL,sipName_layoutSpacing);

    if (!sipMeth)
        return  ::QCommonStyle::layoutSpacing(a0,a1,a2,a3,a4);

    extern int sipVH_QtWidgets_107(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSizePolicy::ControlType, ::QSizePolicy::ControlType, ::Qt::Orientation,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_107(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 419076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 419136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "polish(self, QWidget)\n"
    "polish(self, QApplication)\n"
    "polish(self, 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 || sipIsDerivedClass((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, "unpolish(self, QWidget)\n"
    "unpolish(self, 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 || sipIsDerivedClass((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, "drawPrimitive(self, QStyle.PrimitiveElement, QStyleOption, QPainter, widget: QWidget = 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 || sipIsDerivedClass((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, "drawControl(self, QStyle.ControlElement, QStyleOption, QPainter, widget: QWidget = 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 || sipIsDerivedClass((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, "subElementRect(self, QStyle.SubElement, QStyleOption, widget: QWidget = 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 || sipIsDerivedClass((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, "drawComplexControl(self, QStyle.ComplexControl, QStyleOptionComplex, QPainter, widget: QWidget = 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 || sipIsDerivedClass((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, "hitTestComplexControl(self, QStyle.ComplexControl, QStyleOptionComplex, QPoint, widget: QWidget = 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 || sipIsDerivedClass((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, "subControlRect(self, QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, widget: QWidget = 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 || sipIsDerivedClass((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, "sizeFromContents(self, QStyle.ContentsType, QStyleOption, QSize, widget: QWidget = 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 || sipIsDerivedClass((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, "pixelMetric(self, QStyle.PixelMetric, option: QStyleOption = None, widget: QWidget = 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 || sipIsDerivedClass((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, "styleHint(self, QStyle.StyleHint, option: QStyleOption = None, widget: QWidget = None, returnData: QStyleHintReturn = 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 || sipIsDerivedClass((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, "standardPixmap(self, QStyle.StandardPixmap, option: QStyleOption = None, widget: QWidget = 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 || sipIsDerivedClass((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, "generatedIconPixmap(self, 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 || sipIsDerivedClass((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, "standardIcon(self, QStyle.StandardPixmap, option: QStyleOption = None, widget: QWidget = 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 || sipIsDerivedClass((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, "layoutSpacing(self, QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, option: QStyleOption = None, widget: QWidget = 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QCommonStyle(void *, const sipTypeDef *);}
static void *cast_QCommonStyle(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCommonStyle *sipCpp = reinterpret_cast< ::QCommonStyle *>(sipCppV);

    if (targetType == sipType_QStyle)
        return static_cast< ::QStyle *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCommonStyle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCommonStyle(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{286, 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()");


static pyqt5ClassPluginDef plugin_QCommonStyle = {
    & ::QCommonStyle::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QCommonStyle = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCommonStyle,
        {0},
        &plugin_QCommonStyle
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 420120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 420124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 420127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 420130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 420133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 420136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 420139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 420142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 420145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 420148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 420151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 420154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 420157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 420160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 420163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 420166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 420169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 420172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 420175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 420178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 420181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 420184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 420187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 420190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 420193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 420196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 420199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 420202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 420205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 420208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 420211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 420214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 420217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    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*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQStyle(const sipQStyle &);
    sipQStyle &operator = (const sipQStyle &);

    char sipPyMethods[30];
};

sipQStyle::sipQStyle():  ::QStyle(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStyle::~sipQStyle()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQStyle::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStyle);

    return  ::QStyle::metaObject();
}

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));
}

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[0]),sipPySelf,sipName_QStyle,sipName_layoutSpacing);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_107(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSizePolicy::ControlType, ::QSizePolicy::ControlType, ::Qt::Orientation,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_107(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1]),sipPySelf,sipName_QStyle,sipName_generatedIconPixmap);

    if (!sipMeth)
        return  ::QPixmap();

    extern  ::QPixmap sipVH_QtWidgets_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIcon::Mode,const  ::QPixmap&,const  ::QStyleOption*);

    return sipVH_QtWidgets_106(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,sipName_QStyle,sipName_standardIcon);

    if (!sipMeth)
        return  ::QIcon();

    extern  ::QIcon sipVH_QtWidgets_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_105(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[3]),sipPySelf,sipName_QStyle,sipName_standardPixmap);

    if (!sipMeth)
        return  ::QPixmap();

    extern  ::QPixmap sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_104(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[4]),sipPySelf,sipName_QStyle,sipName_styleHint);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_103(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StyleHint,const  ::QStyleOption*,const  ::QWidget*, ::QStyleHintReturn*);

    return sipVH_QtWidgets_103(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[5]),sipPySelf,sipName_QStyle,sipName_sizeFromContents);

    if (!sipMeth)
        return  ::QSize();

    extern  ::QSize sipVH_QtWidgets_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ContentsType,const  ::QStyleOption*,const  ::QSize&,const  ::QWidget*);

    return sipVH_QtWidgets_102(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[6]),sipPySelf,sipName_QStyle,sipName_pixelMetric);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_101(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PixelMetric,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_101(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[7]),sipPySelf,sipName_QStyle,sipName_subControlRect);

    if (!sipMeth)
        return  ::QRect();

    extern  ::QRect sipVH_QtWidgets_100(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QStyle::SubControl,const  ::QWidget*);

    return sipVH_QtWidgets_100(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[8]),sipPySelf,sipName_QStyle,sipName_hitTestComplexControl);

    if (!sipMeth)
        return ( ::QStyle::SubControl)0;

    extern  ::QStyle::SubControl sipVH_QtWidgets_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*,const  ::QPoint&,const  ::QWidget*);

    return sipVH_QtWidgets_99(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[9]),sipPySelf,sipName_QStyle,sipName_drawComplexControl);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_98(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[10]),sipPySelf,sipName_QStyle,sipName_subElementRect);

    if (!sipMeth)
        return  ::QRect();

    extern  ::QRect sipVH_QtWidgets_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::SubElement,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_QtWidgets_97(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[11]),sipPySelf,sipName_QStyle,sipName_drawControl);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ControlElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_96(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[12]),sipPySelf,sipName_QStyle,sipName_drawPrimitive);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PrimitiveElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_QtWidgets_95(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QPalette sipQStyle::standardPalette() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_standardPalette);

    if (!sipMeth)
        return  ::QStyle::standardPalette();

    extern  ::QPalette sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[14]),sipPySelf,NULL,sipName_drawItemPixmap);

    if (!sipMeth)
    {
         ::QStyle::drawItemPixmap(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPixmap&);

    sipVH_QtWidgets_93(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[15]),sipPySelf,NULL,sipName_drawItemText);

    if (!sipMeth)
    {
         ::QStyle::drawItemText(a0,a1,a2,a3,a4,a5,a6);
        return;
    }

    extern void sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPalette&,bool,const  ::QString&, ::QPalette::ColorRole);

    sipVH_QtWidgets_92(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[16]),sipPySelf,NULL,sipName_itemPixmapRect);

    if (!sipMeth)
        return  ::QStyle::itemPixmapRect(a0,a1,a2);

    extern  ::QRect sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&,int,const  ::QPixmap&);

    return sipVH_QtWidgets_91(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[17]),sipPySelf,NULL,sipName_itemTextRect);

    if (!sipMeth)
        return  ::QStyle::itemTextRect(a0,a1,a2,a3,a4);

    extern  ::QRect sipVH_QtWidgets_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFontMetrics&,const  ::QRect&,int,bool,const  ::QString&);

    return sipVH_QtWidgets_90(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipQStyle::polish( ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPalette&);

    sipVH_QtWidgets_89(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::unpolish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::QStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_QtWidgets_88(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::polish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_QtWidgets_88(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::unpolish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::QStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::polish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::QStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStyle::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QStyle::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQStyle::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QStyle::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQStyle::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QStyle::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QStyle::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QStyle::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QStyle::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQStyle::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QStyle::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 420900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 420960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "polish(self, QWidget)\n"
    "polish(self, QApplication)\n"
    "polish(self, 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 || sipIsDerivedClass((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, "unpolish(self, QWidget)\n"
    "unpolish(self, 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 || sipIsDerivedClass((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, "itemTextRect(self, 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 || sipIsDerivedClass((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, "itemPixmapRect(self, 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 || sipIsDerivedClass((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, "drawItemText(self, QPainter, QRect, int, QPalette, bool, str, textRole: QPalette.ColorRole = 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 || sipIsDerivedClass((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, "drawItemPixmap(self, 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 || sipIsDerivedClass((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, "standardPalette(self) -> 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 || sipIsDerivedClass((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, "drawPrimitive(self, QStyle.PrimitiveElement, QStyleOption, QPainter, widget: QWidget = 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, "drawControl(self, QStyle.ControlElement, QStyleOption, QPainter, widget: QWidget = 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, "subElementRect(self, QStyle.SubElement, QStyleOption, widget: QWidget = 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, "drawComplexControl(self, QStyle.ComplexControl, QStyleOptionComplex, QPainter, widget: QWidget = 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, "hitTestComplexControl(self, QStyle.ComplexControl, QStyleOptionComplex, QPoint, widget: QWidget = 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, "subControlRect(self, QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, widget: QWidget = 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, "pixelMetric(self, QStyle.PixelMetric, option: QStyleOption = None, widget: QWidget = 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, "sizeFromContents(self, QStyle.ContentsType, QStyleOption, QSize, widget: QWidget = 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, "styleHint(self, QStyle.StyleHint, option: QStyleOption = None, widget: QWidget = None, returnData: QStyleHintReturn = 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, "standardPixmap(self, QStyle.StandardPixmap, option: QStyleOption = None, widget: QWidget = 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, "standardIcon(self, QStyle.StandardPixmap, option: QStyleOption = None, widget: QWidget = 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, "generatedIconPixmap(self, 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, "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, "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, "sliderPositionFromValue(int, int, int, int, upsideDown: bool = 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, "sliderValueFromPosition(int, int, int, int, upsideDown: bool = 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, "visualAlignment(Qt.LayoutDirection, Union[Qt.Alignment, Qt.AlignmentFlag]) -> 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, "alignedRect(Qt.LayoutDirection, Union[Qt.Alignment, Qt.AlignmentFlag], 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, "layoutSpacing(self, QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, option: QStyleOption = None, widget: QWidget = 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, "combinedLayoutSpacing(self, Union[QSizePolicy.ControlTypes, QSizePolicy.ControlType], Union[QSizePolicy.ControlTypes, QSizePolicy.ControlType], Qt.Orientation, option: QStyleOption = None, widget: QWidget = 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, "proxy(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QStyle(void *, const sipTypeDef *);}
static void *cast_QStyle(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStyle *sipCpp = reinterpret_cast< ::QStyle *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQStyle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStyle(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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), 287},
    {sipName_CC_CustomBase, static_cast<int>( ::QStyle::CC_CustomBase), 287},
    {sipName_CC_Dial, static_cast<int>( ::QStyle::CC_Dial), 287},
    {sipName_CC_GroupBox, static_cast<int>( ::QStyle::CC_GroupBox), 287},
    {sipName_CC_MdiControls, static_cast<int>( ::QStyle::CC_MdiControls), 287},
    {sipName_CC_ScrollBar, static_cast<int>( ::QStyle::CC_ScrollBar), 287},
    {sipName_CC_Slider, static_cast<int>( ::QStyle::CC_Slider), 287},
    {sipName_CC_SpinBox, static_cast<int>( ::QStyle::CC_SpinBox), 287},
    {sipName_CC_TitleBar, static_cast<int>( ::QStyle::CC_TitleBar), 287},
    {sipName_CC_ToolButton, static_cast<int>( ::QStyle::CC_ToolButton), 287},
    {sipName_CE_CheckBox, static_cast<int>( ::QStyle::CE_CheckBox), 289},
    {sipName_CE_CheckBoxLabel, static_cast<int>( ::QStyle::CE_CheckBoxLabel), 289},
    {sipName_CE_ColumnViewGrip, static_cast<int>( ::QStyle::CE_ColumnViewGrip), 289},
    {sipName_CE_ComboBoxLabel, static_cast<int>( ::QStyle::CE_ComboBoxLabel), 289},
    {sipName_CE_CustomBase, static_cast<int>( ::QStyle::CE_CustomBase), 289},
    {sipName_CE_DockWidgetTitle, static_cast<int>( ::QStyle::CE_DockWidgetTitle), 289},
    {sipName_CE_FocusFrame, static_cast<int>( ::QStyle::CE_FocusFrame), 289},
    {sipName_CE_Header, static_cast<int>( ::QStyle::CE_Header), 289},
    {sipName_CE_HeaderEmptyArea, static_cast<int>( ::QStyle::CE_HeaderEmptyArea), 289},
    {sipName_CE_HeaderLabel, static_cast<int>( ::QStyle::CE_HeaderLabel), 289},
    {sipName_CE_HeaderSection, static_cast<int>( ::QStyle::CE_HeaderSection), 289},
    {sipName_CE_ItemViewItem, static_cast<int>( ::QStyle::CE_ItemViewItem), 289},
    {sipName_CE_MenuBarEmptyArea, static_cast<int>( ::QStyle::CE_MenuBarEmptyArea), 289},
    {sipName_CE_MenuBarItem, static_cast<int>( ::QStyle::CE_MenuBarItem), 289},
    {sipName_CE_MenuEmptyArea, static_cast<int>( ::QStyle::CE_MenuEmptyArea), 289},
    {sipName_CE_MenuHMargin, static_cast<int>( ::QStyle::CE_MenuHMargin), 289},
    {sipName_CE_MenuItem, static_cast<int>( ::QStyle::CE_MenuItem), 289},
    {sipName_CE_MenuScroller, static_cast<int>( ::QStyle::CE_MenuScroller), 289},
    {sipName_CE_MenuTearoff, static_cast<int>( ::QStyle::CE_MenuTearoff), 289},
    {sipName_CE_MenuVMargin, static_cast<int>( ::QStyle::CE_MenuVMargin), 289},
    {sipName_CE_ProgressBar, static_cast<int>( ::QStyle::CE_ProgressBar), 289},
    {sipName_CE_ProgressBarContents, static_cast<int>( ::QStyle::CE_ProgressBarContents), 289},
    {sipName_CE_ProgressBarGroove, static_cast<int>( ::QStyle::CE_ProgressBarGroove), 289},
    {sipName_CE_ProgressBarLabel, static_cast<int>( ::QStyle::CE_ProgressBarLabel), 289},
    {sipName_CE_PushButton, static_cast<int>( ::QStyle::CE_PushButton), 289},
    {sipName_CE_PushButtonBevel, static_cast<int>( ::QStyle::CE_PushButtonBevel), 289},
    {sipName_CE_PushButtonLabel, static_cast<int>( ::QStyle::CE_PushButtonLabel), 289},
    {sipName_CE_RadioButton, static_cast<int>( ::QStyle::CE_RadioButton), 289},
    {sipName_CE_RadioButtonLabel, static_cast<int>( ::QStyle::CE_RadioButtonLabel), 289},
    {sipName_CE_RubberBand, static_cast<int>( ::QStyle::CE_RubberBand), 289},
    {sipName_CE_ScrollBarAddLine, static_cast<int>( ::QStyle::CE_ScrollBarAddLine), 289},
    {sipName_CE_ScrollBarAddPage, static_cast<int>( ::QStyle::CE_ScrollBarAddPage), 289},
    {sipName_CE_ScrollBarFirst, static_cast<int>( ::QStyle::CE_ScrollBarFirst), 289},
    {sipName_CE_ScrollBarLast, static_cast<int>( ::QStyle::CE_ScrollBarLast), 289},
    {sipName_CE_ScrollBarSlider, static_cast<int>( ::QStyle::CE_ScrollBarSlider), 289},
    {sipName_CE_ScrollBarSubLine, static_cast<int>( ::QStyle::CE_ScrollBarSubLine), 289},
    {sipName_CE_ScrollBarSubPage, static_cast<int>( ::QStyle::CE_ScrollBarSubPage), 289},
    {sipName_CE_ShapedFrame, static_cast<int>( ::QStyle::CE_ShapedFrame), 289},
    {sipName_CE_SizeGrip, static_cast<int>( ::QStyle::CE_SizeGrip), 289},
    {sipName_CE_Splitter, static_cast<int>( ::QStyle::CE_Splitter), 289},
    {sipName_CE_TabBarTab, static_cast<int>( ::QStyle::CE_TabBarTab), 289},
    {sipName_CE_TabBarTabLabel, static_cast<int>( ::QStyle::CE_TabBarTabLabel), 289},
    {sipName_CE_TabBarTabShape, static_cast<int>( ::QStyle::CE_TabBarTabShape), 289},
    {sipName_CE_ToolBar, static_cast<int>( ::QStyle::CE_ToolBar), 289},
    {sipName_CE_ToolBoxTab, static_cast<int>( ::QStyle::CE_ToolBoxTab), 289},
    {sipName_CE_ToolBoxTabLabel, static_cast<int>( ::QStyle::CE_ToolBoxTabLabel), 289},
    {sipName_CE_ToolBoxTabShape, static_cast<int>( ::QStyle::CE_ToolBoxTabShape), 289},
    {sipName_CE_ToolButtonLabel, static_cast<int>( ::QStyle::CE_ToolButtonLabel), 289},
    {sipName_CT_CheckBox, static_cast<int>( ::QStyle::CT_CheckBox), 288},
    {sipName_CT_ComboBox, static_cast<int>( ::QStyle::CT_ComboBox), 288},
    {sipName_CT_CustomBase, static_cast<int>( ::QStyle::CT_CustomBase), 288},
    {sipName_CT_DialogButtons, static_cast<int>( ::QStyle::CT_DialogButtons), 288},
    {sipName_CT_GroupBox, static_cast<int>( ::QStyle::CT_GroupBox), 288},
    {sipName_CT_HeaderSection, static_cast<int>( ::QStyle::CT_HeaderSection), 288},
    {sipName_CT_ItemViewItem, static_cast<int>( ::QStyle::CT_ItemViewItem), 288},
    {sipName_CT_LineEdit, static_cast<int>( ::QStyle::CT_LineEdit), 288},
    {sipName_CT_MdiControls, static_cast<int>( ::QStyle::CT_MdiControls), 288},
    {sipName_CT_Menu, static_cast<int>( ::QStyle::CT_Menu), 288},
    {sipName_CT_MenuBar, static_cast<int>( ::QStyle::CT_MenuBar), 288},
    {sipName_CT_MenuBarItem, static_cast<int>( ::QStyle::CT_MenuBarItem), 288},
    {sipName_CT_MenuItem, static_cast<int>( ::QStyle::CT_MenuItem), 288},
    {sipName_CT_ProgressBar, static_cast<int>( ::QStyle::CT_ProgressBar), 288},
    {sipName_CT_PushButton, static_cast<int>( ::QStyle::CT_PushButton), 288},
    {sipName_CT_RadioButton, static_cast<int>( ::QStyle::CT_RadioButton), 288},
    {sipName_CT_ScrollBar, static_cast<int>( ::QStyle::CT_ScrollBar), 288},
    {sipName_CT_SizeGrip, static_cast<int>( ::QStyle::CT_SizeGrip), 288},
    {sipName_CT_Slider, static_cast<int>( ::QStyle::CT_Slider), 288},
    {sipName_CT_SpinBox, static_cast<int>( ::QStyle::CT_SpinBox), 288},
    {sipName_CT_Splitter, static_cast<int>( ::QStyle::CT_Splitter), 288},
    {sipName_CT_TabBarTab, static_cast<int>( ::QStyle::CT_TabBarTab), 288},
    {sipName_CT_TabWidget, static_cast<int>( ::QStyle::CT_TabWidget), 288},
    {sipName_CT_ToolButton, static_cast<int>( ::QStyle::CT_ToolButton), 288},
    {sipName_PE_CustomBase, static_cast<int>( ::QStyle::PE_CustomBase), 291},
    {sipName_PE_Frame, static_cast<int>( ::QStyle::PE_Frame), 291},
    {sipName_PE_FrameButtonBevel, static_cast<int>( ::QStyle::PE_FrameButtonBevel), 291},
    {sipName_PE_FrameButtonTool, static_cast<int>( ::QStyle::PE_FrameButtonTool), 291},
    {sipName_PE_FrameDefaultButton, static_cast<int>( ::QStyle::PE_FrameDefaultButton), 291},
    {sipName_PE_FrameDockWidget, static_cast<int>( ::QStyle::PE_FrameDockWidget), 291},
    {sipName_PE_FrameFocusRect, static_cast<int>( ::QStyle::PE_FrameFocusRect), 291},
    {sipName_PE_FrameGroupBox, static_cast<int>( ::QStyle::PE_FrameGroupBox), 291},
    {sipName_PE_FrameLineEdit, static_cast<int>( ::QStyle::PE_FrameLineEdit), 291},
    {sipName_PE_FrameMenu, static_cast<int>( ::QStyle::PE_FrameMenu), 291},
    {sipName_PE_FrameStatusBar, static_cast<int>( ::QStyle::PE_FrameStatusBar), 291},
    {sipName_PE_FrameStatusBarItem, static_cast<int>( ::QStyle::PE_FrameStatusBarItem), 291},
    {sipName_PE_FrameTabBarBase, static_cast<int>( ::QStyle::PE_FrameTabBarBase), 291},
    {sipName_PE_FrameTabWidget, static_cast<int>( ::QStyle::PE_FrameTabWidget), 291},
    {sipName_PE_FrameWindow, static_cast<int>( ::QStyle::PE_FrameWindow), 291},
    {sipName_PE_IndicatorArrowDown, static_cast<int>( ::QStyle::PE_IndicatorArrowDown), 291},
    {sipName_PE_IndicatorArrowLeft, static_cast<int>( ::QStyle::PE_IndicatorArrowLeft), 291},
    {sipName_PE_IndicatorArrowRight, static_cast<int>( ::QStyle::PE_IndicatorArrowRight), 291},
    {sipName_PE_IndicatorArrowUp, static_cast<int>( ::QStyle::PE_IndicatorArrowUp), 291},
    {sipName_PE_IndicatorBranch, static_cast<int>( ::QStyle::PE_IndicatorBranch), 291},
    {sipName_PE_IndicatorButtonDropDown, static_cast<int>( ::QStyle::PE_IndicatorButtonDropDown), 291},
    {sipName_PE_IndicatorCheckBox, static_cast<int>( ::QStyle::PE_IndicatorCheckBox), 291},
    {sipName_PE_IndicatorColumnViewArrow, static_cast<int>( ::QStyle::PE_IndicatorColumnViewArrow), 291},
    {sipName_PE_IndicatorDockWidgetResizeHandle, static_cast<int>( ::QStyle::PE_IndicatorDockWidgetResizeHandle), 291},
    {sipName_PE_IndicatorHeaderArrow, static_cast<int>( ::QStyle::PE_IndicatorHeaderArrow), 291},
    {sipName_PE_IndicatorItemViewItemCheck, static_cast<int>( ::QStyle::PE_IndicatorItemViewItemCheck), 291},
    {sipName_PE_IndicatorItemViewItemDrop, static_cast<int>( ::QStyle::PE_IndicatorItemViewItemDrop), 291},
    {sipName_PE_IndicatorMenuCheckMark, static_cast<int>( ::QStyle::PE_IndicatorMenuCheckMark), 291},
    {sipName_PE_IndicatorProgressChunk, static_cast<int>( ::QStyle::PE_IndicatorProgressChunk), 291},
    {sipName_PE_IndicatorRadioButton, static_cast<int>( ::QStyle::PE_IndicatorRadioButton), 291},
    {sipName_PE_IndicatorSpinDown, static_cast<int>( ::QStyle::PE_IndicatorSpinDown), 291},
    {sipName_PE_IndicatorSpinMinus, static_cast<int>( ::QStyle::PE_IndicatorSpinMinus), 291},
    {sipName_PE_IndicatorSpinPlus, static_cast<int>( ::QStyle::PE_IndicatorSpinPlus), 291},
    {sipName_PE_IndicatorSpinUp, static_cast<int>( ::QStyle::PE_IndicatorSpinUp), 291},
    {sipName_PE_IndicatorTabClose, static_cast<int>( ::QStyle::PE_IndicatorTabClose), 291},
    {sipName_PE_IndicatorTabTear, static_cast<int>( ::QStyle::PE_IndicatorTabTear), 291},
    {sipName_PE_IndicatorTabTearLeft, static_cast<int>( ::QStyle::PE_IndicatorTabTearLeft), 291},
    {sipName_PE_IndicatorTabTearRight, static_cast<int>( ::QStyle::PE_IndicatorTabTearRight), 291},
    {sipName_PE_IndicatorToolBarHandle, static_cast<int>( ::QStyle::PE_IndicatorToolBarHandle), 291},
    {sipName_PE_IndicatorToolBarSeparator, static_cast<int>( ::QStyle::PE_IndicatorToolBarSeparator), 291},
    {sipName_PE_IndicatorViewItemCheck, static_cast<int>( ::QStyle::PE_IndicatorViewItemCheck), 291},
    {sipName_PE_PanelButtonBevel, static_cast<int>( ::QStyle::PE_PanelButtonBevel), 291},
    {sipName_PE_PanelButtonCommand, static_cast<int>( ::QStyle::PE_PanelButtonCommand), 291},
    {sipName_PE_PanelButtonTool, static_cast<int>( ::QStyle::PE_PanelButtonTool), 291},
    {sipName_PE_PanelItemViewItem, static_cast<int>( ::QStyle::PE_PanelItemViewItem), 291},
    {sipName_PE_PanelItemViewRow, static_cast<int>( ::QStyle::PE_PanelItemViewRow), 291},
    {sipName_PE_PanelLineEdit, static_cast<int>( ::QStyle::PE_PanelLineEdit), 291},
    {sipName_PE_PanelMenu, static_cast<int>( ::QStyle::PE_PanelMenu), 291},
    {sipName_PE_PanelMenuBar, static_cast<int>( ::QStyle::PE_PanelMenuBar), 291},
    {sipName_PE_PanelScrollAreaCorner, static_cast<int>( ::QStyle::PE_PanelScrollAreaCorner), 291},
    {sipName_PE_PanelStatusBar, static_cast<int>( ::QStyle::PE_PanelStatusBar), 291},
    {sipName_PE_PanelTipLabel, static_cast<int>( ::QStyle::PE_PanelTipLabel), 291},
    {sipName_PE_PanelToolBar, static_cast<int>( ::QStyle::PE_PanelToolBar), 291},
    {sipName_PE_Widget, static_cast<int>( ::QStyle::PE_Widget), 291},
    {sipName_PM_ButtonDefaultIndicator, static_cast<int>( ::QStyle::PM_ButtonDefaultIndicator), 290},
    {sipName_PM_ButtonIconSize, static_cast<int>( ::QStyle::PM_ButtonIconSize), 290},
    {sipName_PM_ButtonMargin, static_cast<int>( ::QStyle::PM_ButtonMargin), 290},
    {sipName_PM_ButtonShiftHorizontal, static_cast<int>( ::QStyle::PM_ButtonShiftHorizontal), 290},
    {sipName_PM_ButtonShiftVertical, static_cast<int>( ::QStyle::PM_ButtonShiftVertical), 290},
    {sipName_PM_CheckBoxLabelSpacing, static_cast<int>( ::QStyle::PM_CheckBoxLabelSpacing), 290},
    {sipName_PM_ComboBoxFrameWidth, static_cast<int>( ::QStyle::PM_ComboBoxFrameWidth), 290},
    {sipName_PM_CustomBase, static_cast<int>( ::QStyle::PM_CustomBase), 290},
    {sipName_PM_DefaultChildMargin, static_cast<int>( ::QStyle::PM_DefaultChildMargin), 290},
    {sipName_PM_DefaultFrameWidth, static_cast<int>( ::QStyle::PM_DefaultFrameWidth), 290},
    {sipName_PM_DefaultLayoutSpacing, static_cast<int>( ::QStyle::PM_DefaultLayoutSpacing), 290},
    {sipName_PM_DefaultTopLevelMargin, static_cast<int>( ::QStyle::PM_DefaultTopLevelMargin), 290},
    {sipName_PM_DialogButtonsButtonHeight, static_cast<int>( ::QStyle::PM_DialogButtonsButtonHeight), 290},
    {sipName_PM_DialogButtonsButtonWidth, static_cast<int>( ::QStyle::PM_DialogButtonsButtonWidth), 290},
    {sipName_PM_DialogButtonsSeparator, static_cast<int>( ::QStyle::PM_DialogButtonsSeparator), 290},
    {sipName_PM_DockWidgetFrameWidth, static_cast<int>( ::QStyle::PM_DockWidgetFrameWidth), 290},
    {sipName_PM_DockWidgetHandleExtent, static_cast<int>( ::QStyle::PM_DockWidgetHandleExtent), 290},
    {sipName_PM_DockWidgetSeparatorExtent, static_cast<int>( ::QStyle::PM_DockWidgetSeparatorExtent), 290},
    {sipName_PM_DockWidgetTitleBarButtonMargin, static_cast<int>( ::QStyle::PM_DockWidgetTitleBarButtonMargin), 290},
    {sipName_PM_DockWidgetTitleMargin, static_cast<int>( ::QStyle::PM_DockWidgetTitleMargin), 290},
    {sipName_PM_ExclusiveIndicatorHeight, static_cast<int>( ::QStyle::PM_ExclusiveIndicatorHeight), 290},
    {sipName_PM_ExclusiveIndicatorWidth, static_cast<int>( ::QStyle::PM_ExclusiveIndicatorWidth), 290},
    {sipName_PM_FocusFrameHMargin, static_cast<int>( ::QStyle::PM_FocusFrameHMargin), 290},
    {sipName_PM_FocusFrameVMargin, static_cast<int>( ::QStyle::PM_FocusFrameVMargin), 290},
    {sipName_PM_HeaderDefaultSectionSizeHorizontal, static_cast<int>( ::QStyle::PM_HeaderDefaultSectionSizeHorizontal), 290},
    {sipName_PM_HeaderDefaultSectionSizeVertical, static_cast<int>( ::QStyle::PM_HeaderDefaultSectionSizeVertical), 290},
    {sipName_PM_HeaderGripMargin, static_cast<int>( ::QStyle::PM_HeaderGripMargin), 290},
    {sipName_PM_HeaderMargin, static_cast<int>( ::QStyle::PM_HeaderMargin), 290},
    {sipName_PM_HeaderMarkSize, static_cast<int>( ::QStyle::PM_HeaderMarkSize), 290},
    {sipName_PM_IconViewIconSize, static_cast<int>( ::QStyle::PM_IconViewIconSize), 290},
    {sipName_PM_IndicatorHeight, static_cast<int>( ::QStyle::PM_IndicatorHeight), 290},
    {sipName_PM_IndicatorWidth, static_cast<int>( ::QStyle::PM_IndicatorWidth), 290},
    {sipName_PM_LargeIconSize, static_cast<int>( ::QStyle::PM_LargeIconSize), 290},
    {sipName_PM_LayoutBottomMargin, static_cast<int>( ::QStyle::PM_LayoutBottomMargin), 290},
    {sipName_PM_LayoutHorizontalSpacing, static_cast<int>( ::QStyle::PM_LayoutHorizontalSpacing), 290},
    {sipName_PM_LayoutLeftMargin, static_cast<int>( ::QStyle::PM_LayoutLeftMargin), 290},
    {sipName_PM_LayoutRightMargin, static_cast<int>( ::QStyle::PM_LayoutRightMargin), 290},
    {sipName_PM_LayoutTopMargin, static_cast<int>( ::QStyle::PM_LayoutTopMargin), 290},
    {sipName_PM_LayoutVerticalSpacing, static_cast<int>( ::QStyle::PM_LayoutVerticalSpacing), 290},
    {sipName_PM_ListViewIconSize, static_cast<int>( ::QStyle::PM_ListViewIconSize), 290},
    {sipName_PM_MDIFrameWidth, static_cast<int>( ::QStyle::PM_MDIFrameWidth), 290},
    {sipName_PM_MDIMinimizedWidth, static_cast<int>( ::QStyle::PM_MDIMinimizedWidth), 290},
    {sipName_PM_MaximumDragDistance, static_cast<int>( ::QStyle::PM_MaximumDragDistance), 290},
    {sipName_PM_MdiSubWindowFrameWidth, static_cast<int>( ::QStyle::PM_MdiSubWindowFrameWidth), 290},
    {sipName_PM_MdiSubWindowMinimizedWidth, static_cast<int>( ::QStyle::PM_MdiSubWindowMinimizedWidth), 290},
    {sipName_PM_MenuBarHMargin, static_cast<int>( ::QStyle::PM_MenuBarHMargin), 290},
    {sipName_PM_MenuBarItemSpacing, static_cast<int>( ::QStyle::PM_MenuBarItemSpacing), 290},
    {sipName_PM_MenuBarPanelWidth, static_cast<int>( ::QStyle::PM_MenuBarPanelWidth), 290},
    {sipName_PM_MenuBarVMargin, static_cast<int>( ::QStyle::PM_MenuBarVMargin), 290},
    {sipName_PM_MenuButtonIndicator, static_cast<int>( ::QStyle::PM_MenuButtonIndicator), 290},
    {sipName_PM_MenuDesktopFrameWidth, static_cast<int>( ::QStyle::PM_MenuDesktopFrameWidth), 290},
    {sipName_PM_MenuHMargin, static_cast<int>( ::QStyle::PM_MenuHMargin), 290},
    {sipName_PM_MenuPanelWidth, static_cast<int>( ::QStyle::PM_MenuPanelWidth), 290},
    {sipName_PM_MenuScrollerHeight, static_cast<int>( ::QStyle::PM_MenuScrollerHeight), 290},
    {sipName_PM_MenuTearoffHeight, static_cast<int>( ::QStyle::PM_MenuTearoffHeight), 290},
    {sipName_PM_MenuVMargin, static_cast<int>( ::QStyle::PM_MenuVMargin), 290},
    {sipName_PM_MessageBoxIconSize, static_cast<int>( ::QStyle::PM_MessageBoxIconSize), 290},
    {sipName_PM_ProgressBarChunkWidth, static_cast<int>( ::QStyle::PM_ProgressBarChunkWidth), 290},
    {sipName_PM_RadioButtonLabelSpacing, static_cast<int>( ::QStyle::PM_RadioButtonLabelSpacing), 290},
    {sipName_PM_ScrollBarExtent, static_cast<int>( ::QStyle::PM_ScrollBarExtent), 290},
    {sipName_PM_ScrollBarSliderMin, static_cast<int>( ::QStyle::PM_ScrollBarSliderMin), 290},
    {sipName_PM_ScrollView_ScrollBarOverlap, static_cast<int>( ::QStyle::PM_ScrollView_ScrollBarOverlap), 290},
    {sipName_PM_ScrollView_ScrollBarSpacing, static_cast<int>( ::QStyle::PM_ScrollView_ScrollBarSpacing), 290},
    {sipName_PM_SizeGripSize, static_cast<int>( ::QStyle::PM_SizeGripSize), 290},
    {sipName_PM_SliderControlThickness, static_cast<int>( ::QStyle::PM_SliderControlThickness), 290},
    {sipName_PM_SliderLength, static_cast<int>( ::QStyle::PM_SliderLength), 290},
    {sipName_PM_SliderSpaceAvailable, static_cast<int>( ::QStyle::PM_SliderSpaceAvailable), 290},
    {sipName_PM_SliderThickness, static_cast<int>( ::QStyle::PM_SliderThickness), 290},
    {sipName_PM_SliderTickmarkOffset, static_cast<int>( ::QStyle::PM_SliderTickmarkOffset), 290},
    {sipName_PM_SmallIconSize, static_cast<int>( ::QStyle::PM_SmallIconSize), 290},
    {sipName_PM_SpinBoxFrameWidth, static_cast<int>( ::QStyle::PM_SpinBoxFrameWidth), 290},
    {sipName_PM_SpinBoxSliderHeight, static_cast<int>( ::QStyle::PM_SpinBoxSliderHeight), 290},
    {sipName_PM_SplitterWidth, static_cast<int>( ::QStyle::PM_SplitterWidth), 290},
    {sipName_PM_SubMenuOverlap, static_cast<int>( ::QStyle::PM_SubMenuOverlap), 290},
    {sipName_PM_TabBarBaseHeight, static_cast<int>( ::QStyle::PM_TabBarBaseHeight), 290},
    {sipName_PM_TabBarBaseOverlap, static_cast<int>( ::QStyle::PM_TabBarBaseOverlap), 290},
    {sipName_PM_TabBarIconSize, static_cast<int>( ::QStyle::PM_TabBarIconSize), 290},
    {sipName_PM_TabBarScrollButtonWidth, static_cast<int>( ::QStyle::PM_TabBarScrollButtonWidth), 290},
    {sipName_PM_TabBarTabHSpace, static_cast<int>( ::QStyle::PM_TabBarTabHSpace), 290},
    {sipName_PM_TabBarTabOverlap, static_cast<int>( ::QStyle::PM_TabBarTabOverlap), 290},
    {sipName_PM_TabBarTabShiftHorizontal, static_cast<int>( ::QStyle::PM_TabBarTabShiftHorizontal), 290},
    {sipName_PM_TabBarTabShiftVertical, static_cast<int>( ::QStyle::PM_TabBarTabShiftVertical), 290},
    {sipName_PM_TabBarTabVSpace, static_cast<int>( ::QStyle::PM_TabBarTabVSpace), 290},
    {sipName_PM_TabBar_ScrollButtonOverlap, static_cast<int>( ::QStyle::PM_TabBar_ScrollButtonOverlap), 290},
    {sipName_PM_TabCloseIndicatorHeight, static_cast<int>( ::QStyle::PM_TabCloseIndicatorHeight), 290},
    {sipName_PM_TabCloseIndicatorWidth, static_cast<int>( ::QStyle::PM_TabCloseIndicatorWidth), 290},
    {sipName_PM_TextCursorWidth, static_cast<int>( ::QStyle::PM_TextCursorWidth), 290},
    {sipName_PM_TitleBarButtonIconSize, static_cast<int>( ::QStyle::PM_TitleBarButtonIconSize), 290},
    {sipName_PM_TitleBarButtonSize, static_cast<int>( ::QStyle::PM_TitleBarButtonSize), 290},
    {sipName_PM_TitleBarHeight, static_cast<int>( ::QStyle::PM_TitleBarHeight), 290},
    {sipName_PM_ToolBarExtensionExtent, static_cast<int>( ::QStyle::PM_ToolBarExtensionExtent), 290},
    {sipName_PM_ToolBarFrameWidth, static_cast<int>( ::QStyle::PM_ToolBarFrameWidth), 290},
    {sipName_PM_ToolBarHandleExtent, static_cast<int>( ::QStyle::PM_ToolBarHandleExtent), 290},
    {sipName_PM_ToolBarIconSize, static_cast<int>( ::QStyle::PM_ToolBarIconSize), 290},
    {sipName_PM_ToolBarItemMargin, static_cast<int>( ::QStyle::PM_ToolBarItemMargin), 290},
    {sipName_PM_ToolBarItemSpacing, static_cast<int>( ::QStyle::PM_ToolBarItemSpacing), 290},
    {sipName_PM_ToolBarSeparatorExtent, static_cast<int>( ::QStyle::PM_ToolBarSeparatorExtent), 290},
    {sipName_PM_ToolTipLabelFrameWidth, static_cast<int>( ::QStyle::PM_ToolTipLabelFrameWidth), 290},
    {sipName_PM_TreeViewIndentation, static_cast<int>( ::QStyle::PM_TreeViewIndentation), 290},
    {sipName_RSIP_OnMouseClick, static_cast<int>( ::QStyle::RSIP_OnMouseClick), 292},
    {sipName_RSIP_OnMouseClickAndAlreadyFocused, static_cast<int>( ::QStyle::RSIP_OnMouseClickAndAlreadyFocused), 292},
    {sipName_SC_All, static_cast<int>( ::QStyle::SC_All), 297},
    {sipName_SC_ComboBoxArrow, static_cast<int>( ::QStyle::SC_ComboBoxArrow), 297},
    {sipName_SC_ComboBoxEditField, static_cast<int>( ::QStyle::SC_ComboBoxEditField), 297},
    {sipName_SC_ComboBoxFrame, static_cast<int>( ::QStyle::SC_ComboBoxFrame), 297},
    {sipName_SC_ComboBoxListBoxPopup, static_cast<int>( ::QStyle::SC_ComboBoxListBoxPopup), 297},
    {sipName_SC_CustomBase, static_cast<int>( ::QStyle::SC_CustomBase), 297},
    {sipName_SC_DialGroove, static_cast<int>( ::QStyle::SC_DialGroove), 297},
    {sipName_SC_DialHandle, static_cast<int>( ::QStyle::SC_DialHandle), 297},
    {sipName_SC_DialTickmarks, static_cast<int>( ::QStyle::SC_DialTickmarks), 297},
    {sipName_SC_GroupBoxCheckBox, static_cast<int>( ::QStyle::SC_GroupBoxCheckBox), 297},
    {sipName_SC_GroupBoxContents, static_cast<int>( ::QStyle::SC_GroupBoxContents), 297},
    {sipName_SC_GroupBoxFrame, static_cast<int>( ::QStyle::SC_GroupBoxFrame), 297},
    {sipName_SC_GroupBoxLabel, static_cast<int>( ::QStyle::SC_GroupBoxLabel), 297},
    {sipName_SC_MdiCloseButton, static_cast<int>( ::QStyle::SC_MdiCloseButton), 297},
    {sipName_SC_MdiMinButton, static_cast<int>( ::QStyle::SC_MdiMinButton), 297},
    {sipName_SC_MdiNormalButton, static_cast<int>( ::QStyle::SC_MdiNormalButton), 297},
    {sipName_SC_None, static_cast<int>( ::QStyle::SC_None), 297},
    {sipName_SC_ScrollBarAddLine, static_cast<int>( ::QStyle::SC_ScrollBarAddLine), 297},
    {sipName_SC_ScrollBarAddPage, static_cast<int>( ::QStyle::SC_ScrollBarAddPage), 297},
    {sipName_SC_ScrollBarFirst, static_cast<int>( ::QStyle::SC_ScrollBarFirst), 297},
    {sipName_SC_ScrollBarGroove, static_cast<int>( ::QStyle::SC_ScrollBarGroove), 297},
    {sipName_SC_ScrollBarLast, static_cast<int>( ::QStyle::SC_ScrollBarLast), 297},
    {sipName_SC_ScrollBarSlider, static_cast<int>( ::QStyle::SC_ScrollBarSlider), 297},
    {sipName_SC_ScrollBarSubLine, static_cast<int>( ::QStyle::SC_ScrollBarSubLine), 297},
    {sipName_SC_ScrollBarSubPage, static_cast<int>( ::QStyle::SC_ScrollBarSubPage), 297},
    {sipName_SC_SliderGroove, static_cast<int>( ::QStyle::SC_SliderGroove), 297},
    {sipName_SC_SliderHandle, static_cast<int>( ::QStyle::SC_SliderHandle), 297},
    {sipName_SC_SliderTickmarks, static_cast<int>( ::QStyle::SC_SliderTickmarks), 297},
    {sipName_SC_SpinBoxDown, static_cast<int>( ::QStyle::SC_SpinBoxDown), 297},
    {sipName_SC_SpinBoxEditField, static_cast<int>( ::QStyle::SC_SpinBoxEditField), 297},
    {sipName_SC_SpinBoxFrame, static_cast<int>( ::QStyle::SC_SpinBoxFrame), 297},
    {sipName_SC_SpinBoxUp, static_cast<int>( ::QStyle::SC_SpinBoxUp), 297},
    {sipName_SC_TitleBarCloseButton, static_cast<int>( ::QStyle::SC_TitleBarCloseButton), 297},
    {sipName_SC_TitleBarContextHelpButton, static_cast<int>( ::QStyle::SC_TitleBarContextHelpButton), 297},
    {sipName_SC_TitleBarLabel, static_cast<int>( ::QStyle::SC_TitleBarLabel), 297},
    {sipName_SC_TitleBarMaxButton, static_cast<int>( ::QStyle::SC_TitleBarMaxButton), 297},
    {sipName_SC_TitleBarMinButton, static_cast<int>( ::QStyle::SC_TitleBarMinButton), 297},
    {sipName_SC_TitleBarNormalButton, static_cast<int>( ::QStyle::SC_TitleBarNormalButton), 297},
    {sipName_SC_TitleBarShadeButton, static_cast<int>( ::QStyle::SC_TitleBarShadeButton), 297},
    {sipName_SC_TitleBarSysMenu, static_cast<int>( ::QStyle::SC_TitleBarSysMenu), 297},
    {sipName_SC_TitleBarUnshadeButton, static_cast<int>( ::QStyle::SC_TitleBarUnshadeButton), 297},
    {sipName_SC_ToolButton, static_cast<int>( ::QStyle::SC_ToolButton), 297},
    {sipName_SC_ToolButtonMenu, static_cast<int>( ::QStyle::SC_ToolButtonMenu), 297},
    {sipName_SE_CheckBoxClickRect, static_cast<int>( ::QStyle::SE_CheckBoxClickRect), 299},
    {sipName_SE_CheckBoxContents, static_cast<int>( ::QStyle::SE_CheckBoxContents), 299},
    {sipName_SE_CheckBoxFocusRect, static_cast<int>( ::QStyle::SE_CheckBoxFocusRect), 299},
    {sipName_SE_CheckBoxIndicator, static_cast<int>( ::QStyle::SE_CheckBoxIndicator), 299},
    {sipName_SE_CheckBoxLayoutItem, static_cast<int>( ::QStyle::SE_CheckBoxLayoutItem), 299},
    {sipName_SE_ComboBoxFocusRect, static_cast<int>( ::QStyle::SE_ComboBoxFocusRect), 299},
    {sipName_SE_ComboBoxLayoutItem, static_cast<int>( ::QStyle::SE_ComboBoxLayoutItem), 299},
    {sipName_SE_CustomBase, static_cast<int>( ::QStyle::SE_CustomBase), 299},
    {sipName_SE_DateTimeEditLayoutItem, static_cast<int>( ::QStyle::SE_DateTimeEditLayoutItem), 299},
    {sipName_SE_DialogButtonBoxLayoutItem, static_cast<int>( ::QStyle::SE_DialogButtonBoxLayoutItem), 299},
    {sipName_SE_DockWidgetCloseButton, static_cast<int>( ::QStyle::SE_DockWidgetCloseButton), 299},
    {sipName_SE_DockWidgetFloatButton, static_cast<int>( ::QStyle::SE_DockWidgetFloatButton), 299},
    {sipName_SE_DockWidgetIcon, static_cast<int>( ::QStyle::SE_DockWidgetIcon), 299},
    {sipName_SE_DockWidgetTitleBarText, static_cast<int>( ::QStyle::SE_DockWidgetTitleBarText), 299},
    {sipName_SE_FrameContents, static_cast<int>( ::QStyle::SE_FrameContents), 299},
    {sipName_SE_FrameLayoutItem, static_cast<int>( ::QStyle::SE_FrameLayoutItem), 299},
    {sipName_SE_GroupBoxLayoutItem, static_cast<int>( ::QStyle::SE_GroupBoxLayoutItem), 299},
    {sipName_SE_HeaderArrow, static_cast<int>( ::QStyle::SE_HeaderArrow), 299},
    {sipName_SE_HeaderLabel, static_cast<int>( ::QStyle::SE_HeaderLabel), 299},
    {sipName_SE_ItemViewItemCheckIndicator, static_cast<int>( ::QStyle::SE_ItemViewItemCheckIndicator), 299},
    {sipName_SE_ItemViewItemDecoration, static_cast<int>( ::QStyle::SE_ItemViewItemDecoration), 299},
    {sipName_SE_ItemViewItemFocusRect, static_cast<int>( ::QStyle::SE_ItemViewItemFocusRect), 299},
    {sipName_SE_ItemViewItemText, static_cast<int>( ::QStyle::SE_ItemViewItemText), 299},
    {sipName_SE_LabelLayoutItem, static_cast<int>( ::QStyle::SE_LabelLayoutItem), 299},
    {sipName_SE_LineEditContents, static_cast<int>( ::QStyle::SE_LineEditContents), 299},
    {sipName_SE_ProgressBarContents, static_cast<int>( ::QStyle::SE_ProgressBarContents), 299},
    {sipName_SE_ProgressBarGroove, static_cast<int>( ::QStyle::SE_ProgressBarGroove), 299},
    {sipName_SE_ProgressBarLabel, static_cast<int>( ::QStyle::SE_ProgressBarLabel), 299},
    {sipName_SE_ProgressBarLayoutItem, static_cast<int>( ::QStyle::SE_ProgressBarLayoutItem), 299},
    {sipName_SE_PushButtonContents, static_cast<int>( ::QStyle::SE_PushButtonContents), 299},
    {sipName_SE_PushButtonFocusRect, static_cast<int>( ::QStyle::SE_PushButtonFocusRect), 299},
    {sipName_SE_PushButtonLayoutItem, static_cast<int>( ::QStyle::SE_PushButtonLayoutItem), 299},
    {sipName_SE_RadioButtonClickRect, static_cast<int>( ::QStyle::SE_RadioButtonClickRect), 299},
    {sipName_SE_RadioButtonContents, static_cast<int>( ::QStyle::SE_RadioButtonContents), 299},
    {sipName_SE_RadioButtonFocusRect, static_cast<int>( ::QStyle::SE_RadioButtonFocusRect), 299},
    {sipName_SE_RadioButtonIndicator, static_cast<int>( ::QStyle::SE_RadioButtonIndicator), 299},
    {sipName_SE_RadioButtonLayoutItem, static_cast<int>( ::QStyle::SE_RadioButtonLayoutItem), 299},
    {sipName_SE_ShapedFrameContents, static_cast<int>( ::QStyle::SE_ShapedFrameContents), 299},
    {sipName_SE_SliderFocusRect, static_cast<int>( ::QStyle::SE_SliderFocusRect), 299},
    {sipName_SE_SliderLayoutItem, static_cast<int>( ::QStyle::SE_SliderLayoutItem), 299},
    {sipName_SE_SpinBoxLayoutItem, static_cast<int>( ::QStyle::SE_SpinBoxLayoutItem), 299},
    {sipName_SE_TabBarScrollLeftButton, static_cast<int>( ::QStyle::SE_TabBarScrollLeftButton), 299},
    {sipName_SE_TabBarScrollRightButton, static_cast<int>( ::QStyle::SE_TabBarScrollRightButton), 299},
    {sipName_SE_TabBarTabLeftButton, static_cast<int>( ::QStyle::SE_TabBarTabLeftButton), 299},
    {sipName_SE_TabBarTabRightButton, static_cast<int>( ::QStyle::SE_TabBarTabRightButton), 299},
    {sipName_SE_TabBarTabText, static_cast<int>( ::QStyle::SE_TabBarTabText), 299},
    {sipName_SE_TabBarTearIndicator, static_cast<int>( ::QStyle::SE_TabBarTearIndicator), 299},
    {sipName_SE_TabBarTearIndicatorLeft, static_cast<int>( ::QStyle::SE_TabBarTearIndicatorLeft), 299},
    {sipName_SE_TabBarTearIndicatorRight, static_cast<int>( ::QStyle::SE_TabBarTearIndicatorRight), 299},
    {sipName_SE_TabWidgetLayoutItem, static_cast<int>( ::QStyle::SE_TabWidgetLayoutItem), 299},
    {sipName_SE_TabWidgetLeftCorner, static_cast<int>( ::QStyle::SE_TabWidgetLeftCorner), 299},
    {sipName_SE_TabWidgetRightCorner, static_cast<int>( ::QStyle::SE_TabWidgetRightCorner), 299},
    {sipName_SE_TabWidgetTabBar, static_cast<int>( ::QStyle::SE_TabWidgetTabBar), 299},
    {sipName_SE_TabWidgetTabContents, static_cast<int>( ::QStyle::SE_TabWidgetTabContents), 299},
    {sipName_SE_TabWidgetTabPane, static_cast<int>( ::QStyle::SE_TabWidgetTabPane), 299},
    {sipName_SE_ToolBarHandle, static_cast<int>( ::QStyle::SE_ToolBarHandle), 299},
    {sipName_SE_ToolBoxTabContents, static_cast<int>( ::QStyle::SE_ToolBoxTabContents), 299},
    {sipName_SE_ToolButtonLayoutItem, static_cast<int>( ::QStyle::SE_ToolButtonLayoutItem), 299},
    {sipName_SE_TreeViewDisclosureItem, static_cast<int>( ::QStyle::SE_TreeViewDisclosureItem), 299},
    {sipName_SE_ViewItemCheckIndicator, static_cast<int>( ::QStyle::SE_ViewItemCheckIndicator), 299},
    {sipName_SH_BlinkCursorWhenTextSelected, static_cast<int>( ::QStyle::SH_BlinkCursorWhenTextSelected), 296},
    {sipName_SH_Button_FocusPolicy, static_cast<int>( ::QStyle::SH_Button_FocusPolicy), 296},
    {sipName_SH_ComboBox_LayoutDirection, static_cast<int>( ::QStyle::SH_ComboBox_LayoutDirection), 296},
    {sipName_SH_ComboBox_ListMouseTracking, static_cast<int>( ::QStyle::SH_ComboBox_ListMouseTracking), 296},
    {sipName_SH_ComboBox_Popup, static_cast<int>( ::QStyle::SH_ComboBox_Popup), 296},
    {sipName_SH_ComboBox_PopupFrameStyle, static_cast<int>( ::QStyle::SH_ComboBox_PopupFrameStyle), 296},
    {sipName_SH_CustomBase, static_cast<int>( ::QStyle::SH_CustomBase), 296},
    {sipName_SH_Dial_BackgroundRole, static_cast<int>( ::QStyle::SH_Dial_BackgroundRole), 296},
    {sipName_SH_DialogButtonBox_ButtonsHaveIcons, static_cast<int>( ::QStyle::SH_DialogButtonBox_ButtonsHaveIcons), 296},
    {sipName_SH_DialogButtonLayout, static_cast<int>( ::QStyle::SH_DialogButtonLayout), 296},
    {sipName_SH_DialogButtons_DefaultButton, static_cast<int>( ::QStyle::SH_DialogButtons_DefaultButton), 296},
    {sipName_SH_DitherDisabledText, static_cast<int>( ::QStyle::SH_DitherDisabledText), 296},
    {sipName_SH_DockWidget_ButtonsHaveFrame, static_cast<int>( ::QStyle::SH_DockWidget_ButtonsHaveFrame), 296},
    {sipName_SH_DrawMenuBarSeparator, static_cast<int>( ::QStyle::SH_DrawMenuBarSeparator), 296},
    {sipName_SH_EtchDisabledText, static_cast<int>( ::QStyle::SH_EtchDisabledText), 296},
    {sipName_SH_FocusFrame_AboveWidget, static_cast<int>( ::QStyle::SH_FocusFrame_AboveWidget), 296},
    {sipName_SH_FocusFrame_Mask, static_cast<int>( ::QStyle::SH_FocusFrame_Mask), 296},
    {sipName_SH_FontDialog_SelectAssociatedText, static_cast<int>( ::QStyle::SH_FontDialog_SelectAssociatedText), 296},
    {sipName_SH_FormLayoutFieldGrowthPolicy, static_cast<int>( ::QStyle::SH_FormLayoutFieldGrowthPolicy), 296},
    {sipName_SH_FormLayoutFormAlignment, static_cast<int>( ::QStyle::SH_FormLayoutFormAlignment), 296},
    {sipName_SH_FormLayoutLabelAlignment, static_cast<int>( ::QStyle::SH_FormLayoutLabelAlignment), 296},
    {sipName_SH_FormLayoutWrapPolicy, static_cast<int>( ::QStyle::SH_FormLayoutWrapPolicy), 296},
    {sipName_SH_GroupBox_TextLabelColor, static_cast<int>( ::QStyle::SH_GroupBox_TextLabelColor), 296},
    {sipName_SH_GroupBox_TextLabelVerticalAlignment, static_cast<int>( ::QStyle::SH_GroupBox_TextLabelVerticalAlignment), 296},
    {sipName_SH_Header_ArrowAlignment, static_cast<int>( ::QStyle::SH_Header_ArrowAlignment), 296},
    {sipName_SH_ItemView_ActivateItemOnSingleClick, static_cast<int>( ::QStyle::SH_ItemView_ActivateItemOnSingleClick), 296},
    {sipName_SH_ItemView_ArrowKeysNavigateIntoChildren, static_cast<int>( ::QStyle::SH_ItemView_ArrowKeysNavigateIntoChildren), 296},
    {sipName_SH_ItemView_ChangeHighlightOnFocus, static_cast<int>( ::QStyle::SH_ItemView_ChangeHighlightOnFocus), 296},
    {sipName_SH_ItemView_DrawDelegateFrame, static_cast<int>( ::QStyle::SH_ItemView_DrawDelegateFrame), 296},
    {sipName_SH_ItemView_EllipsisLocation, static_cast<int>( ::QStyle::SH_ItemView_EllipsisLocation), 296},
    {sipName_SH_ItemView_MovementWithoutUpdatingSelection, static_cast<int>( ::QStyle::SH_ItemView_MovementWithoutUpdatingSelection), 296},
    {sipName_SH_ItemView_PaintAlternatingRowColorsForEmptyArea, static_cast<int>( ::QStyle::SH_ItemView_PaintAlternatingRowColorsForEmptyArea), 296},
    {sipName_SH_ItemView_ScrollMode, static_cast<int>( ::QStyle::SH_ItemView_ScrollMode), 296},
    {sipName_SH_ItemView_ShowDecorationSelected, static_cast<int>( ::QStyle::SH_ItemView_ShowDecorationSelected), 296},
    {sipName_SH_LineEdit_PasswordCharacter, static_cast<int>( ::QStyle::SH_LineEdit_PasswordCharacter), 296},
    {sipName_SH_LineEdit_PasswordMaskDelay, static_cast<int>( ::QStyle::SH_LineEdit_PasswordMaskDelay), 296},
    {sipName_SH_ListViewExpand_SelectMouseType, static_cast<int>( ::QStyle::SH_ListViewExpand_SelectMouseType), 296},
    {sipName_SH_MainWindow_SpaceBelowMenuBar, static_cast<int>( ::QStyle::SH_MainWindow_SpaceBelowMenuBar), 296},
    {sipName_SH_MenuBar_AltKeyNavigation, static_cast<int>( ::QStyle::SH_MenuBar_AltKeyNavigation), 296},
    {sipName_SH_MenuBar_MouseTracking, static_cast<int>( ::QStyle::SH_MenuBar_MouseTracking), 296},
    {sipName_SH_Menu_AllowActiveAndDisabled, static_cast<int>( ::QStyle::SH_Menu_AllowActiveAndDisabled), 296},
    {sipName_SH_Menu_FadeOutOnHide, static_cast<int>( ::QStyle::SH_Menu_FadeOutOnHide), 296},
    {sipName_SH_Menu_FillScreenWithScroll, static_cast<int>( ::QStyle::SH_Menu_FillScreenWithScroll), 296},
    {sipName_SH_Menu_FlashTriggeredItem, static_cast<int>( ::QStyle::SH_Menu_FlashTriggeredItem), 296},
    {sipName_SH_Menu_KeyboardSearch, static_cast<int>( ::QStyle::SH_Menu_KeyboardSearch), 296},
    {sipName_SH_Menu_Mask, static_cast<int>( ::QStyle::SH_Menu_Mask), 296},
    {sipName_SH_Menu_MouseTracking, static_cast<int>( ::QStyle::SH_Menu_MouseTracking), 296},
    {sipName_SH_Menu_Scrollable, static_cast<int>( ::QStyle::SH_Menu_Scrollable), 296},
    {sipName_SH_Menu_SelectionWrap, static_cast<int>( ::QStyle::SH_Menu_SelectionWrap), 296},
    {sipName_SH_Menu_SloppySubMenus, static_cast<int>( ::QStyle::SH_Menu_SloppySubMenus), 296},
    {sipName_SH_Menu_SpaceActivatesItem, static_cast<int>( ::QStyle::SH_Menu_SpaceActivatesItem), 296},
    {sipName_SH_Menu_SubMenuDontStartSloppyOnLeave, static_cast<int>( ::QStyle::SH_Menu_SubMenuDontStartSloppyOnLeave), 296},
    {sipName_SH_Menu_SubMenuPopupDelay, static_cast<int>( ::QStyle::SH_Menu_SubMenuPopupDelay), 296},
    {sipName_SH_Menu_SubMenuResetWhenReenteringParent, static_cast<int>( ::QStyle::SH_Menu_SubMenuResetWhenReenteringParent), 296},
    {sipName_SH_Menu_SubMenuSloppyCloseTimeout, static_cast<int>( ::QStyle::SH_Menu_SubMenuSloppyCloseTimeout), 296},
    {sipName_SH_Menu_SubMenuSloppySelectOtherActions, static_cast<int>( ::QStyle::SH_Menu_SubMenuSloppySelectOtherActions), 296},
    {sipName_SH_Menu_SubMenuUniDirection, static_cast<int>( ::QStyle::SH_Menu_SubMenuUniDirection), 296},
    {sipName_SH_Menu_SubMenuUniDirectionFailCount, static_cast<int>( ::QStyle::SH_Menu_SubMenuUniDirectionFailCount), 296},
    {sipName_SH_Menu_SupportsSections, static_cast<int>( ::QStyle::SH_Menu_SupportsSections), 296},
    {sipName_SH_MessageBox_CenterButtons, static_cast<int>( ::QStyle::SH_MessageBox_CenterButtons), 296},
    {sipName_SH_MessageBox_TextInteractionFlags, static_cast<int>( ::QStyle::SH_MessageBox_TextInteractionFlags), 296},
    {sipName_SH_MessageBox_UseBorderForButtonSpacing, static_cast<int>( ::QStyle::SH_MessageBox_UseBorderForButtonSpacing), 296},
    {sipName_SH_PrintDialog_RightAlignButtons, static_cast<int>( ::QStyle::SH_PrintDialog_RightAlignButtons), 296},
    {sipName_SH_ProgressDialog_CenterCancelButton, static_cast<int>( ::QStyle::SH_ProgressDialog_CenterCancelButton), 296},
    {sipName_SH_ProgressDialog_TextLabelAlignment, static_cast<int>( ::QStyle::SH_ProgressDialog_TextLabelAlignment), 296},
    {sipName_SH_RequestSoftwareInputPanel, static_cast<int>( ::QStyle::SH_RequestSoftwareInputPanel), 296},
    {sipName_SH_RichText_FullWidthSelection, static_cast<int>( ::QStyle::SH_RichText_FullWidthSelection), 296},
    {sipName_SH_RubberBand_Mask, static_cast<int>( ::QStyle::SH_RubberBand_Mask), 296},
    {sipName_SH_ScrollBar_ContextMenu, static_cast<int>( ::QStyle::SH_ScrollBar_ContextMenu), 296},
    {sipName_SH_ScrollBar_LeftClickAbsolutePosition, static_cast<int>( ::QStyle::SH_ScrollBar_LeftClickAbsolutePosition), 296},
    {sipName_SH_ScrollBar_MiddleClickAbsolutePosition, static_cast<int>( ::QStyle::SH_ScrollBar_MiddleClickAbsolutePosition), 296},
    {sipName_SH_ScrollBar_RollBetweenButtons, static_cast<int>( ::QStyle::SH_ScrollBar_RollBetweenButtons), 296},
    {sipName_SH_ScrollBar_ScrollWhenPointerLeavesControl, static_cast<int>( ::QStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl), 296},
    {sipName_SH_ScrollBar_StopMouseOverSlider, static_cast<int>( ::QStyle::SH_ScrollBar_StopMouseOverSlider), 296},
    {sipName_SH_ScrollBar_Transient, static_cast<int>( ::QStyle::SH_ScrollBar_Transient), 296},
    {sipName_SH_ScrollView_FrameOnlyAroundContents, static_cast<int>( ::QStyle::SH_ScrollView_FrameOnlyAroundContents), 296},
    {sipName_SH_Slider_AbsoluteSetButtons, static_cast<int>( ::QStyle::SH_Slider_AbsoluteSetButtons), 296},
    {sipName_SH_Slider_PageSetButtons, static_cast<int>( ::QStyle::SH_Slider_PageSetButtons), 296},
    {sipName_SH_Slider_SloppyKeyEvents, static_cast<int>( ::QStyle::SH_Slider_SloppyKeyEvents), 296},
    {sipName_SH_Slider_SnapToValue, static_cast<int>( ::QStyle::SH_Slider_SnapToValue), 296},
    {sipName_SH_Slider_StopMouseOverSlider, static_cast<int>( ::QStyle::SH_Slider_StopMouseOverSlider), 296},
    {sipName_SH_SpellCheckUnderlineStyle, static_cast<int>( ::QStyle::SH_SpellCheckUnderlineStyle), 296},
    {sipName_SH_SpinBox_AnimateButton, static_cast<int>( ::QStyle::SH_SpinBox_AnimateButton), 296},
    {sipName_SH_SpinBox_ClickAutoRepeatRate, static_cast<int>( ::QStyle::SH_SpinBox_ClickAutoRepeatRate), 296},
    {sipName_SH_SpinBox_ClickAutoRepeatThreshold, static_cast<int>( ::QStyle::SH_SpinBox_ClickAutoRepeatThreshold), 296},
    {sipName_SH_SpinBox_KeyPressAutoRepeatRate, static_cast<int>( ::QStyle::SH_SpinBox_KeyPressAutoRepeatRate), 296},
    {sipName_SH_SpinControls_DisableOnBounds, static_cast<int>( ::QStyle::SH_SpinControls_DisableOnBounds), 296},
    {sipName_SH_Splitter_OpaqueResize, static_cast<int>( ::QStyle::SH_Splitter_OpaqueResize), 296},
    {sipName_SH_TabBar_Alignment, static_cast<int>( ::QStyle::SH_TabBar_Alignment), 296},
    {sipName_SH_TabBar_ChangeCurrentDelay, static_cast<int>( ::QStyle::SH_TabBar_ChangeCurrentDelay), 296},
    {sipName_SH_TabBar_CloseButtonPosition, static_cast<int>( ::QStyle::SH_TabBar_CloseButtonPosition), 296},
    {sipName_SH_TabBar_ElideMode, static_cast<int>( ::QStyle::SH_TabBar_ElideMode), 296},
    {sipName_SH_TabBar_PreferNoArrows, static_cast<int>( ::QStyle::SH_TabBar_PreferNoArrows), 296},
    {sipName_SH_TabBar_SelectMouseType, static_cast<int>( ::QStyle::SH_TabBar_SelectMouseType), 296},
    {sipName_SH_TabWidget_DefaultTabPosition, static_cast<int>( ::QStyle::SH_TabWidget_DefaultTabPosition), 296},
    {sipName_SH_Table_GridLineColor, static_cast<int>( ::QStyle::SH_Table_GridLineColor), 296},
    {sipName_SH_TextControl_FocusIndicatorTextCharFormat, static_cast<int>( ::QStyle::SH_TextControl_FocusIndicatorTextCharFormat), 296},
    {sipName_SH_TitleBar_AutoRaise, static_cast<int>( ::QStyle::SH_TitleBar_AutoRaise), 296},
    {sipName_SH_TitleBar_ModifyNotification, static_cast<int>( ::QStyle::SH_TitleBar_ModifyNotification), 296},
    {sipName_SH_TitleBar_NoBorder, static_cast<int>( ::QStyle::SH_TitleBar_NoBorder), 296},
    {sipName_SH_ToolBar_Movable, static_cast<int>( ::QStyle::SH_ToolBar_Movable), 296},
    {sipName_SH_ToolBox_SelectedPageTitleBold, static_cast<int>( ::QStyle::SH_ToolBox_SelectedPageTitleBold), 296},
    {sipName_SH_ToolButtonStyle, static_cast<int>( ::QStyle::SH_ToolButtonStyle), 296},
    {sipName_SH_ToolButton_PopupDelay, static_cast<int>( ::QStyle::SH_ToolButton_PopupDelay), 296},
    {sipName_SH_ToolTipLabel_Opacity, static_cast<int>( ::QStyle::SH_ToolTipLabel_Opacity), 296},
    {sipName_SH_ToolTip_FallAsleepDelay, static_cast<int>( ::QStyle::SH_ToolTip_FallAsleepDelay), 296},
    {sipName_SH_ToolTip_Mask, static_cast<int>( ::QStyle::SH_ToolTip_Mask), 296},
    {sipName_SH_ToolTip_WakeUpDelay, static_cast<int>( ::QStyle::SH_ToolTip_WakeUpDelay), 296},
    {sipName_SH_UnderlineShortcut, static_cast<int>( ::QStyle::SH_UnderlineShortcut), 296},
    {sipName_SH_Widget_Animate, static_cast<int>( ::QStyle::SH_Widget_Animate), 296},
    {sipName_SH_Widget_ShareActivation, static_cast<int>( ::QStyle::SH_Widget_ShareActivation), 296},
    {sipName_SH_WindowFrame_Mask, static_cast<int>( ::QStyle::SH_WindowFrame_Mask), 296},
    {sipName_SH_WizardStyle, static_cast<int>( ::QStyle::SH_WizardStyle), 296},
    {sipName_SH_Workspace_FillSpaceOnMaximize, static_cast<int>( ::QStyle::SH_Workspace_FillSpaceOnMaximize), 296},
    {sipName_SP_ArrowBack, static_cast<int>( ::QStyle::SP_ArrowBack), 293},
    {sipName_SP_ArrowDown, static_cast<int>( ::QStyle::SP_ArrowDown), 293},
    {sipName_SP_ArrowForward, static_cast<int>( ::QStyle::SP_ArrowForward), 293},
    {sipName_SP_ArrowLeft, static_cast<int>( ::QStyle::SP_ArrowLeft), 293},
    {sipName_SP_ArrowRight, static_cast<int>( ::QStyle::SP_ArrowRight), 293},
    {sipName_SP_ArrowUp, static_cast<int>( ::QStyle::SP_ArrowUp), 293},
    {sipName_SP_BrowserReload, static_cast<int>( ::QStyle::SP_BrowserReload), 293},
    {sipName_SP_BrowserStop, static_cast<int>( ::QStyle::SP_BrowserStop), 293},
    {sipName_SP_CommandLink, static_cast<int>( ::QStyle::SP_CommandLink), 293},
    {sipName_SP_ComputerIcon, static_cast<int>( ::QStyle::SP_ComputerIcon), 293},
    {sipName_SP_CustomBase, static_cast<int>( ::QStyle::SP_CustomBase), 293},
    {sipName_SP_DesktopIcon, static_cast<int>( ::QStyle::SP_DesktopIcon), 293},
    {sipName_SP_DialogApplyButton, static_cast<int>( ::QStyle::SP_DialogApplyButton), 293},
    {sipName_SP_DialogCancelButton, static_cast<int>( ::QStyle::SP_DialogCancelButton), 293},
    {sipName_SP_DialogCloseButton, static_cast<int>( ::QStyle::SP_DialogCloseButton), 293},
    {sipName_SP_DialogDiscardButton, static_cast<int>( ::QStyle::SP_DialogDiscardButton), 293},
    {sipName_SP_DialogHelpButton, static_cast<int>( ::QStyle::SP_DialogHelpButton), 293},
    {sipName_SP_DialogNoButton, static_cast<int>( ::QStyle::SP_DialogNoButton), 293},
    {sipName_SP_DialogOkButton, static_cast<int>( ::QStyle::SP_DialogOkButton), 293},
    {sipName_SP_DialogOpenButton, static_cast<int>( ::QStyle::SP_DialogOpenButton), 293},
    {sipName_SP_DialogResetButton, static_cast<int>( ::QStyle::SP_DialogResetButton), 293},
    {sipName_SP_DialogSaveButton, static_cast<int>( ::QStyle::SP_DialogSaveButton), 293},
    {sipName_SP_DialogYesButton, static_cast<int>( ::QStyle::SP_DialogYesButton), 293},
    {sipName_SP_DirClosedIcon, static_cast<int>( ::QStyle::SP_DirClosedIcon), 293},
    {sipName_SP_DirHomeIcon, static_cast<int>( ::QStyle::SP_DirHomeIcon), 293},
    {sipName_SP_DirIcon, static_cast<int>( ::QStyle::SP_DirIcon), 293},
    {sipName_SP_DirLinkIcon, static_cast<int>( ::QStyle::SP_DirLinkIcon), 293},
    {sipName_SP_DirLinkOpenIcon, static_cast<int>( ::QStyle::SP_DirLinkOpenIcon), 293},
    {sipName_SP_DirOpenIcon, static_cast<int>( ::QStyle::SP_DirOpenIcon), 293},
    {sipName_SP_DockWidgetCloseButton, static_cast<int>( ::QStyle::SP_DockWidgetCloseButton), 293},
    {sipName_SP_DriveCDIcon, static_cast<int>( ::QStyle::SP_DriveCDIcon), 293},
    {sipName_SP_DriveDVDIcon, static_cast<int>( ::QStyle::SP_DriveDVDIcon), 293},
    {sipName_SP_DriveFDIcon, static_cast<int>( ::QStyle::SP_DriveFDIcon), 293},
    {sipName_SP_DriveHDIcon, static_cast<int>( ::QStyle::SP_DriveHDIcon), 293},
    {sipName_SP_DriveNetIcon, static_cast<int>( ::QStyle::SP_DriveNetIcon), 293},
    {sipName_SP_FileDialogBack, static_cast<int>( ::QStyle::SP_FileDialogBack), 293},
    {sipName_SP_FileDialogContentsView, static_cast<int>( ::QStyle::SP_FileDialogContentsView), 293},
    {sipName_SP_FileDialogDetailedView, static_cast<int>( ::QStyle::SP_FileDialogDetailedView), 293},
    {sipName_SP_FileDialogEnd, static_cast<int>( ::QStyle::SP_FileDialogEnd), 293},
    {sipName_SP_FileDialogInfoView, static_cast<int>( ::QStyle::SP_FileDialogInfoView), 293},
    {sipName_SP_FileDialogListView, static_cast<int>( ::QStyle::SP_FileDialogListView), 293},
    {sipName_SP_FileDialogNewFolder, static_cast<int>( ::QStyle::SP_FileDialogNewFolder), 293},
    {sipName_SP_FileDialogStart, static_cast<int>( ::QStyle::SP_FileDialogStart), 293},
    {sipName_SP_FileDialogToParent, static_cast<int>( ::QStyle::SP_FileDialogToParent), 293},
    {sipName_SP_FileIcon, static_cast<int>( ::QStyle::SP_FileIcon), 293},
    {sipName_SP_FileLinkIcon, static_cast<int>( ::QStyle::SP_FileLinkIcon), 293},
    {sipName_SP_LineEditClearButton, static_cast<int>( ::QStyle::SP_LineEditClearButton), 293},
    {sipName_SP_MediaPause, static_cast<int>( ::QStyle::SP_MediaPause), 293},
    {sipName_SP_MediaPlay, static_cast<int>( ::QStyle::SP_MediaPlay), 293},
    {sipName_SP_MediaSeekBackward, static_cast<int>( ::QStyle::SP_MediaSeekBackward), 293},
    {sipName_SP_MediaSeekForward, static_cast<int>( ::QStyle::SP_MediaSeekForward), 293},
    {sipName_SP_MediaSkipBackward, static_cast<int>( ::QStyle::SP_MediaSkipBackward), 293},
    {sipName_SP_MediaSkipForward, static_cast<int>( ::QStyle::SP_MediaSkipForward), 293},
    {sipName_SP_MediaStop, static_cast<int>( ::QStyle::SP_MediaStop), 293},
    {sipName_SP_MediaVolume, static_cast<int>( ::QStyle::SP_MediaVolume), 293},
    {sipName_SP_MediaVolumeMuted, static_cast<int>( ::QStyle::SP_MediaVolumeMuted), 293},
    {sipName_SP_MessageBoxCritical, static_cast<int>( ::QStyle::SP_MessageBoxCritical), 293},
    {sipName_SP_MessageBoxInformation, static_cast<int>( ::QStyle::SP_MessageBoxInformation), 293},
    {sipName_SP_MessageBoxQuestion, static_cast<int>( ::QStyle::SP_MessageBoxQuestion), 293},
    {sipName_SP_MessageBoxWarning, static_cast<int>( ::QStyle::SP_MessageBoxWarning), 293},
    {sipName_SP_TitleBarCloseButton, static_cast<int>( ::QStyle::SP_TitleBarCloseButton), 293},
    {sipName_SP_TitleBarContextHelpButton, static_cast<int>( ::QStyle::SP_TitleBarContextHelpButton), 293},
    {sipName_SP_TitleBarMaxButton, static_cast<int>( ::QStyle::SP_TitleBarMaxButton), 293},
    {sipName_SP_TitleBarMenuButton, static_cast<int>( ::QStyle::SP_TitleBarMenuButton), 293},
    {sipName_SP_TitleBarMinButton, static_cast<int>( ::QStyle::SP_TitleBarMinButton), 293},
    {sipName_SP_TitleBarNormalButton, static_cast<int>( ::QStyle::SP_TitleBarNormalButton), 293},
    {sipName_SP_TitleBarShadeButton, static_cast<int>( ::QStyle::SP_TitleBarShadeButton), 293},
    {sipName_SP_TitleBarUnshadeButton, static_cast<int>( ::QStyle::SP_TitleBarUnshadeButton), 293},
    {sipName_SP_ToolBarHorizontalExtensionButton, static_cast<int>( ::QStyle::SP_ToolBarHorizontalExtensionButton), 293},
    {sipName_SP_ToolBarVerticalExtensionButton, static_cast<int>( ::QStyle::SP_ToolBarVerticalExtensionButton), 293},
    {sipName_SP_TrashIcon, static_cast<int>( ::QStyle::SP_TrashIcon), 293},
    {sipName_SP_VistaShield, static_cast<int>( ::QStyle::SP_VistaShield), 293},
    {sipName_State_Active, static_cast<int>( ::QStyle::State_Active), 295},
    {sipName_State_AutoRaise, static_cast<int>( ::QStyle::State_AutoRaise), 295},
    {sipName_State_Bottom, static_cast<int>( ::QStyle::State_Bottom), 295},
    {sipName_State_Children, static_cast<int>( ::QStyle::State_Children), 295},
    {sipName_State_DownArrow, static_cast<int>( ::QStyle::State_DownArrow), 295},
    {sipName_State_Editing, static_cast<int>( ::QStyle::State_Editing), 295},
    {sipName_State_Enabled, static_cast<int>( ::QStyle::State_Enabled), 295},
    {sipName_State_FocusAtBorder, static_cast<int>( ::QStyle::State_FocusAtBorder), 295},
    {sipName_State_HasFocus, static_cast<int>( ::QStyle::State_HasFocus), 295},
    {sipName_State_Horizontal, static_cast<int>( ::QStyle::State_Horizontal), 295},
    {sipName_State_Item, static_cast<int>( ::QStyle::State_Item), 295},
    {sipName_State_KeyboardFocusChange, static_cast<int>( ::QStyle::State_KeyboardFocusChange), 295},
    {sipName_State_Mini, static_cast<int>( ::QStyle::State_Mini), 295},
    {sipName_State_MouseOver, static_cast<int>( ::QStyle::State_MouseOver), 295},
    {sipName_State_NoChange, static_cast<int>( ::QStyle::State_NoChange), 295},
    {sipName_State_None, static_cast<int>( ::QStyle::State_None), 295},
    {sipName_State_Off, static_cast<int>( ::QStyle::State_Off), 295},
    {sipName_State_On, static_cast<int>( ::QStyle::State_On), 295},
    {sipName_State_Open, static_cast<int>( ::QStyle::State_Open), 295},
    {sipName_State_Raised, static_cast<int>( ::QStyle::State_Raised), 295},
    {sipName_State_ReadOnly, static_cast<int>( ::QStyle::State_ReadOnly), 295},
    {sipName_State_Selected, static_cast<int>( ::QStyle::State_Selected), 295},
    {sipName_State_Sibling, static_cast<int>( ::QStyle::State_Sibling), 295},
    {sipName_State_Small, static_cast<int>( ::QStyle::State_Small), 295},
    {sipName_State_Sunken, static_cast<int>( ::QStyle::State_Sunken), 295},
    {sipName_State_Top, static_cast<int>( ::QStyle::State_Top), 295},
    {sipName_State_UpArrow, static_cast<int>( ::QStyle::State_UpArrow), 295},
    {sipName_State_Window, static_cast<int>( ::QStyle::State_Window), 295},
};

PyDoc_STRVAR(doc_QStyle, "\1QStyle()");


static pyqt5ClassPluginDef plugin_QStyle = {
    & ::QStyle::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyle = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyle,
        {0},
        &plugin_QStyle
    },
    {
        sipNameNr_QStyle,
        {0, 0, 1},
        37, methods_QStyle,
        554, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcommandlinkbutton.sip"
#include <qcommandlinkbutton.h>
#line 423042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 423046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 423049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 423055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 423058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 423067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 423070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 423073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 423079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 423082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 423085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 423088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 423091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 423094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 423097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 423100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 423103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 423106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 423109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 423112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 423115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 423118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 423121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 423124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 423127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 423130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 423133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 423136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 423139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 423142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 423145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 423148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 423151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 423193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 423196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 423199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 423202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 423205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 423208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 423211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 423214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 423217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 423220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 423223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 423226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 423229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 423232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 423235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 423238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 423241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 423244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 423247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 423250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 423253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 nextCheckState();
    void checkStateSet();
    bool hitButton(const  ::QPoint&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCommandLinkButton::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCommandLinkButton);

    return  ::QCommandLinkButton::metaObject();
}

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::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
         ::QCommandLinkButton::nextCheckState();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCommandLinkButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
         ::QCommandLinkButton::checkStateSet();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQCommandLinkButton::hitButton(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),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, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QCommandLinkButton::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QCommandLinkButton::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCommandLinkButton::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QCommandLinkButton::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQCommandLinkButton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QCommandLinkButton::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQCommandLinkButton::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  ::QCommandLinkButton::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQCommandLinkButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QCommandLinkButton::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQCommandLinkButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QCommandLinkButton::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCommandLinkButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QCommandLinkButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQCommandLinkButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QCommandLinkButton::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQCommandLinkButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QCommandLinkButton::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQCommandLinkButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QCommandLinkButton::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QCommandLinkButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQCommandLinkButton::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QCommandLinkButton::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCommandLinkButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QCommandLinkButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCommandLinkButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QCommandLinkButton::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQCommandLinkButton::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QCommandLinkButton::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQCommandLinkButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QCommandLinkButton::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCommandLinkButton::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QCommandLinkButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 424585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 424645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "hitButton(self, 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 || sipIsDerivedClass((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, "checkStateSet(self)");

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 || sipIsDerivedClass((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, "nextCheckState(self)");

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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "description(self) -> 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, "setDescription(self, 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QCommandLinkButton(void *, const sipTypeDef *);}
static void *cast_QCommandLinkButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCommandLinkButton *sipCpp = reinterpret_cast< ::QCommandLinkButton *>(sipCppV);

    if (targetType == sipType_QPushButton)
        return static_cast< ::QPushButton *>(sipCpp);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCommandLinkButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCommandLinkButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{254, 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(parent: QWidget = None)\n"
    "QCommandLinkButton(str, parent: QWidget = None)\n"
    "QCommandLinkButton(str, str, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QCommandLinkButton = {
    & ::QCommandLinkButton::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QCommandLinkButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCommandLinkButton,
        {0},
        &plugin_QCommandLinkButton
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 426470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 426474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 426477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 426480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 426492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 426495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 426498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 426501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 426504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 426510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 426513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 426516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 426519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 426522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 426525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 426528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 426531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 426534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 426537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 426540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 426543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 426546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 426549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 426552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 426555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 426558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 426561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 426564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 426567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 426570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 426573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 426576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 426579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 426621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 426624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 426627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 426630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 426633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 426636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 426639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 426642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 426645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 426648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 426651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 426654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 426657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 426660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 426663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 426666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 426669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 426672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 426675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 426678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 426681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    bool hitButton(const  ::QPoint&) const;
    void checkStateSet();
    void nextCheckState();

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPushButton::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPushButton);

    return  ::QPushButton::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QPushButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQPushButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QPushButton::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQPushButton::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QPushButton::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQPushButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QPushButton::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQPushButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QPushButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQPushButton::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QPushButton::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QPushButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QPushButton::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QPushButton::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QPushButton::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QPushButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QPushButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QPushButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QPushButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QPushButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QPushButton::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QPushButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QPushButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QPushButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QPushButton::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QPushButton::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QPushButton::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QPushButton::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QPushButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QPushButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QPushButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QPushButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QPushButton::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QPushButton::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QPushButton::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QPushButton::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQPushButton::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  ::QPushButton::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQPushButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QPushButton::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQPushButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QPushButton::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQPushButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QPushButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQPushButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QPushButton::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQPushButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QPushButton::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQPushButton::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QPushButton::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQPushButton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QPushButton::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQPushButton::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QPushButton::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQPushButton::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QPushButton::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QPushButton::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QPushButton::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QPushButton::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QPushButton::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQPushButton::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  ::QPushButton::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQPushButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
         ::QPushButton::checkStateSet();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQPushButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
         ::QPushButton::nextCheckState();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 427995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 428055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "hitButton(self, 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 || sipIsDerivedClass((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, "checkStateSet(self)");

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 || sipIsDerivedClass((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, "nextCheckState(self)");

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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "autoDefault(self) -> 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, "setAutoDefault(self, 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, "isDefault(self) -> 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, "setDefault(self, 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, "setMenu(self, 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, "menu(self) -> 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, "setFlat(self, 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, "isFlat(self) -> 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, "showMenu(self)");

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, "initStyleOption(self, 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, "event(self, 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 || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_event, doc_QPushButton_event);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_paintEvent, "paintEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QPushButton(void *, const sipTypeDef *);}
static void *cast_QPushButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPushButton *sipCpp = reinterpret_cast< ::QPushButton *>(sipCppV);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPushButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPushButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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(parent: QWidget = None)\n"
    "QPushButton(str, parent: QWidget = None)\n"
    "QPushButton(QIcon, str, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QPushButton = {
    & ::QPushButton::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QPushButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPushButton,
        {0},
        &plugin_QPushButton
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcombobox.sip"
#include <qcombobox.h>
#line 430049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 430053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 430056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 430059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 430089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 430095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 430098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 430101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 430104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 430107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 430110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 430113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 430116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 430119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 430122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 430125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 430128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 430131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 430134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 430137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 430140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 430143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 430146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 430149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 430152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 430155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 430158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 430161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 430164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 430167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 430170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 430173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 430176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 430179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 430182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 430185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 430188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 430191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 430215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 430218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 430221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 430224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 430227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 430230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 430233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 430236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 430239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 430242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 430245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 430248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 430251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 430254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 430257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 430260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 430263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 430266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 430269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 430272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 430275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 430278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 430281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 hidePopup();
    void showPopup();
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQComboBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QComboBox);

    return  ::QComboBox::metaObject();
}

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::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
         ::QComboBox::hidePopup();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
         ::QComboBox::showPopup();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQComboBox::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QComboBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QComboBox::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QComboBox::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QComboBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QComboBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQComboBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QComboBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQComboBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QComboBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQComboBox::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  ::QComboBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QComboBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QComboBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QComboBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QComboBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QComboBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQComboBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QComboBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QComboBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QComboBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QComboBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QComboBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QComboBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QComboBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QComboBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QComboBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QComboBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QComboBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QComboBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QComboBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QComboBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QComboBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QComboBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QComboBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QComboBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QComboBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QComboBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QComboBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QComboBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QComboBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QComboBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QComboBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQComboBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QComboBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQComboBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QComboBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QComboBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQComboBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QComboBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQComboBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QComboBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQComboBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QComboBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQComboBox::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QComboBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 431543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 431603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "maxVisibleItems(self) -> 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, "setMaxVisibleItems(self, 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, "count(self) -> 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, "setMaxCount(self, 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, "maxCount(self) -> 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, "duplicatesEnabled(self) -> 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, "setDuplicatesEnabled(self, 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, "setFrame(self, 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, "hasFrame(self) -> 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, "findText(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = 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, "findData(self, Any, role: int = Qt.UserRole, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = 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, "insertPolicy(self) -> 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, "setInsertPolicy(self, 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, "sizeAdjustPolicy(self) -> 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, "setSizeAdjustPolicy(self, 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, "minimumContentsLength(self) -> 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, "setMinimumContentsLength(self, 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, "iconSize(self) -> 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, "setIconSize(self, 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, "isEditable(self) -> 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, "setEditable(self, 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, "setLineEdit(self, 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, "lineEdit(self) -> 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, "setValidator(self, 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, "validator(self) -> 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, "itemDelegate(self) -> 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, "setItemDelegate(self, 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, "model(self) -> 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, "setModel(self, 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, "rootModelIndex(self) -> 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, "setRootModelIndex(self, 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, "modelColumn(self) -> 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, "setModelColumn(self, 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, "currentIndex(self) -> 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, "setCurrentIndex(self, 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, "currentText(self) -> 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, "itemText(self, 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, "itemIcon(self, 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, "itemData(self, int, role: int = Qt.UserRole) -> Any");

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, "addItems(self, Iterable[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, "addItem(self, str, userData: Any = None)\n"
    "addItem(self, QIcon, str, userData: Any = 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, "insertItem(self, int, str, userData: Any = None)\n"
    "insertItem(self, int, QIcon, str, userData: Any = 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, "insertItems(self, int, Iterable[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, "removeItem(self, 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, "setItemText(self, 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, "setItemIcon(self, 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, "setItemData(self, int, Any, role: int = 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, "view(self) -> 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, "setView(self, 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "showPopup(self)");

extern "C" {static PyObject *meth_QComboBox_showPopup(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_showPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "hidePopup(self)");

extern "C" {static PyObject *meth_QComboBox_hidePopup(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_hidePopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "setCompleter(self, 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, "completer(self) -> 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, "insertSeparator(self, 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, "clear(self)");

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, "clearEditText(self)");

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, "setEditText(self, 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, "setCurrentText(self, 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, "initStyleOption(self, 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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any\n"
    "inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any");

extern "C" {static PyObject *meth_QComboBox_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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);
        }
    }

    {
         ::Qt::InputMethodQuery a0;
        const  ::QVariant* a1;
        int a1State = 0;
        const  ::QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_Qt_InputMethodQuery, &a0, sipType_QVariant, &a1, &a1State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->inputMethodQuery(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_QComboBox, sipName_inputMethodQuery, doc_QComboBox_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_currentData, "currentData(self, role: int = Qt.UserRole) -> Any");

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 434875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QComboBox(void *, const sipTypeDef *);}
static void *cast_QComboBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QComboBox *sipCpp = reinterpret_cast< ::QComboBox *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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},
};

PyDoc_STRVAR(doc_QComboBox, "\1QComboBox(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QComboBox[] = {
    {"highlighted(int)", "\1highlighted(self, int)", 0, 0},
    {"highlighted(QString)", "\1highlighted(self, str)", 0, 0},
    {"currentTextChanged(QString)", "\1currentTextChanged(self, str)", 0, 0},
    {"currentIndexChanged(int)", "\1currentIndexChanged(self, int)", 0, 0},
    {"currentIndexChanged(QString)", "\1currentIndexChanged(self, str)", 0, 0},
    {"activated(int)", "\1activated(self, int)", 0, 0},
    {"activated(QString)", "\1activated(self, str)", 0, 0},
    {"editTextChanged(QString)", "\1editTextChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QComboBox = {
    & ::QComboBox::staticMetaObject,
    0,
    signals_QComboBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QComboBox,
        {0},
        &plugin_QComboBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcolumnview.sip"
#include <qcolumnview.h>
#line 435170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 435174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 435177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 435180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 435183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 435186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 435189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 435195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 435201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 435204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 435207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 435210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 435213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 435222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 435225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 435228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 435252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 435255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 435261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 435264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 435267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 435270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 435273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 435276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 435279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 435285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 435297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 435300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 435303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 435306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 435309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 435312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 435315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 435321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 435330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 435333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 435336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 435339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 435342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 435345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 435348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 435351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 435354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 435375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 435378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 435381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 435384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 435387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 435393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 435396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 435399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 435402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 435405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 435408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 435411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 435414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 435417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 435420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 435426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 435429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 435432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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:
     ::QAbstractItemView* createColumn(const  ::QModelIndex&);
    void setupViewport( ::QWidget*);
    void scrollContentsBy(int,int);
    bool viewportEvent( ::QEvent*);
     ::QSize viewportSizeHint() const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    void setModel( ::QAbstractItemModel*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQColumnView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QColumnView);

    return  ::QColumnView::metaObject();
}

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));
}

 ::QAbstractItemView* sipQColumnView::createColumn(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_createColumn);

    if (!sipMeth)
        return  ::QColumnView::createColumn(a0);

    extern  ::QAbstractItemView* sipVH_QtWidgets_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_87(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QColumnView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QColumnView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQColumnView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QColumnView::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQColumnView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QColumnView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColumnView::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QColumnView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQColumnView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QColumnView::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQColumnView::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  ::QColumnView::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQColumnView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QColumnView::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQColumnView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QColumnView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQColumnView::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  ::QColumnView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QColumnView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QColumnView::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QColumnView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QColumnView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QColumnView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QColumnView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QColumnView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QColumnView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QColumnView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QColumnView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QColumnView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QColumnView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QColumnView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QColumnView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QColumnView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QColumnView::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QColumnView::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QColumnView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QColumnView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QColumnView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QColumnView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QColumnView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QColumnView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QColumnView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QColumnView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QColumnView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColumnView::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  ::QColumnView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQColumnView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QColumnView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQColumnView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QColumnView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColumnView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QColumnView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColumnView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QColumnView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQColumnView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QColumnView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQColumnView::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QColumnView::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQColumnView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QColumnView::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQColumnView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QColumnView::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QColumnView::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QColumnView::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QColumnView::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QColumnView::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QColumnView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::QColumnView::setModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QColumnView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QColumnView::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQColumnView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::QColumnView::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::QColumnView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQColumnView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::QColumnView::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColumnView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::QColumnView::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColumnView::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  ::QColumnView::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QColumnView::reset();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColumnView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QColumnView::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QColumnView::selectAll();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColumnView::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QColumnView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQColumnView::rowsInserted(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QColumnView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQColumnView::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QColumnView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQColumnView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QColumnView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QColumnView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QColumnView::updateEditorData();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColumnView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QColumnView::updateEditorGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColumnView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QColumnView::updateGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColumnView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QColumnView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QColumnView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QColumnView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QColumnView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QColumnView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QColumnView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QColumnView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

int sipQColumnView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::QColumnView::horizontalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQColumnView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::QColumnView::verticalOffset();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQColumnView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::QColumnView::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColumnView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::QColumnView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRegion sipQColumnView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QColumnView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQColumnView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QColumnView::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQColumnView::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QColumnView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_67(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QItemSelectionModel::SelectionFlags sipQColumnView::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QColumnView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QColumnView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QStyleOptionViewItem sipQColumnView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[87]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::QColumnView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQColumnView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 437709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 437769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QColumnView_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &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_QColumnView, sipName_initStyleOption, doc_QColumnView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QColumnView_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_viewportMargins, doc_QColumnView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_paintEvent, "paintEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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, "executeDelayedItemsLayout(self)");

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "event(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "columnWidths(self) -> List[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, "previewWidget(self) -> 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, "resizeGripsVisible(self) -> 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, "setColumnWidths(self, Iterable[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, "setPreviewWidget(self, 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, "setResizeGripsVisible(self, 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, "indexAt(self, 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 || sipIsDerivedClass((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, "scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "visualRect(self, 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 || sipIsDerivedClass((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, "setModel(self, 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 || sipIsDerivedClass((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, "setSelectionModel(self, 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 || sipIsDerivedClass((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, "setRootIndex(self, 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 || sipIsDerivedClass((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, "selectAll(self)");

extern "C" {static PyObject *meth_QColumnView_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "createColumn(self, 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 || sipIsDerivedClass((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, "initializeColumn(self, 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, "isIndexHidden(self, 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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 || sipIsDerivedClass((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, "visualRegionForSelection(self, 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 || sipIsDerivedClass((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, "horizontalOffset(self) -> 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 || sipIsDerivedClass((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, "verticalOffset(self) -> 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QColumnView(void *, const sipTypeDef *);}
static void *cast_QColumnView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QColumnView *sipCpp = reinterpret_cast< ::QColumnView *>(sipCppV);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQColumnView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QColumnView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QColumnView_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QColumnView_viewportMargins, 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}
};

PyDoc_STRVAR(doc_QColumnView, "\1QColumnView(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QColumnView[] = {
    {"updatePreviewWidget(QModelIndex)", "\1updatePreviewWidget(self, QModelIndex)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QColumnView = {
    & ::QColumnView::staticMetaObject,
    0,
    signals_QColumnView,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QColumnView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QColumnView,
        {0},
        &plugin_QColumnView
    },
    {
        sipNameNr_QColumnView,
        {0, 0, 1},
        104, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 441096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 441100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QColorDialog_ColorDialogOptions___hash__(PyObject *);}
static long slot_QColorDialog_ColorDialogOptions___hash__(PyObject *sipSelf)
{
     ::QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast< ::QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QColorDialog::ColorDialogOptions::Int();
#line 441118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QColorDialog::ColorDialogOptions::Int() != 0);
#line 441143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QColorDialog::ColorDialogOptions::Int() != a0->operator QColorDialog::ColorDialogOptions::Int());
#line 441173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QColorDialog::ColorDialogOptions::Int() == a0->operator QColorDialog::ColorDialogOptions::Int());
#line 441209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QColorDialog::ColorDialogOptions(*sipCpp ^ a0);
#line 441248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QColorDialog::ColorDialogOptions(*sipCpp | a0);
#line 441320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QColorDialog::ColorDialogOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QColorDialog::ColorDialogOptions(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 441588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QColorDialog_ColorDialogOptions[] = {
    {(void *)slot_QColorDialog_ColorDialogOptions___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___xor__, xor_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___ior__, ior_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___or__, or_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___iand__, iand_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___and__, and_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___invert__, invert_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QColorDialog_ColorDialogOptions, "\1QColorDialog.ColorDialogOptions()\n"
    "QColorDialog.ColorDialogOptions(Union[QColorDialog.ColorDialogOptions, QColorDialog.ColorDialogOption])\n"
    "QColorDialog.ColorDialogOptions(QColorDialog.ColorDialogOptions)");


static pyqt5ClassPluginDef plugin_QColorDialog_ColorDialogOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QColorDialog_ColorDialogOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QColorDialog__ColorDialogOptions,
        {0},
        &plugin_QColorDialog_ColorDialogOptions
    },
    {
        sipNameNr_ColorDialogOptions,
        {40, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QColorDialog_ColorDialogOptions,
    -1,
    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,
    0,
    convertTo_QColorDialog_ColorDialogOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 441674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 441678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 441681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 441684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 441687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 441690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 441693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 441711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 441714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 441717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 441720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 441723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 441726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 441729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 441732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 441735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 441738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 441741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 441744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 441747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 441750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 441753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 441756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 441759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 441762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 441765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 441768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 441771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 441774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 441777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 441780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 441819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 441822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 441825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 441828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 441831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 441834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 441837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 441840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 441843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 441846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 441849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 441852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 441855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 441858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 441861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 441864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 441867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 441870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 441873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 441876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 441879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 441882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    int exec();
    void done(int);
    void accept();
    void reject();
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQColorDialog(const sipQColorDialog &);
    sipQColorDialog &operator = (const sipQColorDialog &);

    char sipPyMethods[52];
};

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQColorDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QColorDialog);

    return  ::QColorDialog::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QColorDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQColorDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QColorDialog::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQColorDialog::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QColorDialog::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQColorDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QColorDialog::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQColorDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QColorDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQColorDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QColorDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QColorDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QColorDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QColorDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QColorDialog::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QColorDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QColorDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QColorDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QColorDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QColorDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QColorDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QColorDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QColorDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QColorDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QColorDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QColorDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QColorDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QColorDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QColorDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QColorDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QColorDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QColorDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColorDialog::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  ::QColorDialog::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQColorDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QColorDialog::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQColorDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QColorDialog::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColorDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QColorDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColorDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QColorDialog::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQColorDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QColorDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQColorDialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QColorDialog::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQColorDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QColorDialog::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQColorDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QColorDialog::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQColorDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QColorDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QColorDialog::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QColorDialog::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QColorDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QColorDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColorDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return  ::QColorDialog::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColorDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QColorDialog::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QColorDialog::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColorDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QColorDialog::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColorDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QColorDialog::open();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 443216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 443276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "getColor(initial: Union[QColor, Qt.GlobalColor, QGradient] = Qt.white, parent: QWidget = None, title: str = '', options: Union[QColorDialog.ColorDialogOptions, QColorDialog.ColorDialogOption] = QColorDialog.ColorDialogOptions()) -> 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 = QColorDialog::ColorDialogOptions();
         ::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, "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, "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, "setCustomColor(int, Union[QColor, Qt.GlobalColor, QGradient])");

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, "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, "setStandardColor(int, Union[QColor, Qt.GlobalColor, QGradient])");

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, "changeEvent(self, 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 || sipIsDerivedClass((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, "done(self, 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 || sipIsDerivedClass((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, "setCurrentColor(self, Union[QColor, Qt.GlobalColor, QGradient])");

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, "currentColor(self) -> 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, "selectedColor(self) -> 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, "setOption(self, QColorDialog.ColorDialogOption, on: bool = 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, "testOption(self, 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, "setOptions(self, Union[QColorDialog.ColorDialogOptions, QColorDialog.ColorDialogOption])");

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, "options(self) -> 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, "open(self)\n"
    "open(self, PYQT_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 || sipIsDerivedClass((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 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 445092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "setVisible(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QColorDialog(void *, const sipTypeDef *);}
static void *cast_QColorDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::QColorDialog *sipCpp = reinterpret_cast< ::QColorDialog *>(sipCppV);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQColorDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QColorDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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},
};

PyDoc_STRVAR(doc_QColorDialog, "\1QColorDialog(parent: QWidget = None)\n"
    "QColorDialog(Union[QColor, Qt.GlobalColor, QGradient], parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QColorDialog[] = {
    {"currentColorChanged(QColor)", "\1currentColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient])", 0, 0},
    {"colorSelected(QColor)", "\1colorSelected(self, Union[QColor, Qt.GlobalColor, QGradient])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QColorDialog = {
    & ::QColorDialog::staticMetaObject,
    0,
    signals_QColorDialog,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QColorDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QColorDialog,
        {0},
        &plugin_QColorDialog
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdialog.sip"
#include <qdialog.h>
#line 445386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 445390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 445396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 445399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 445417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 445423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 445426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 445429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 445432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 445435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 445438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 445441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 445447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 445453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 445456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 445459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 445462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 445465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 445468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 445471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 445474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 445477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 445480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 445483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 445486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 445525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 445528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 445531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 445534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 445537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 445540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 445546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 445549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 445552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 445555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 445558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 445561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 445564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 445567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 445570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 445573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 445576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 445582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 445585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 445588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 open();
    void reject();
    void accept();
    void done(int);
    int exec();
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDialog(const sipQDialog &);
    sipQDialog &operator = (const sipQDialog &);

    char sipPyMethods[52];
};

sipQDialog::sipQDialog( ::QWidget*a0, ::Qt::WindowFlags a1):  ::QDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDialog::~sipQDialog()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDialog);

    return  ::QDialog::metaObject();
}

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::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
         ::QDialog::open();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::QDialog::reject();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::QDialog::accept();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::QDialog::done(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_exec);

    if (!sipMeth)
        return  ::QDialog::exec();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialog::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QDialog::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QDialog::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QDialog::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QDialog::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QDialog::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QDialog::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QDialog::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQDialog::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  ::QDialog::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QDialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QDialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QDialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QDialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QDialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QDialog::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QDialog::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQDialog::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QDialog::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QDialog::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQDialog::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 446910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 446970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "result(self) -> 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, "setVisible(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "setSizeGripEnabled(self, 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, "isSizeGripEnabled(self) -> 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, "setModal(self, 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, "setResult(self, 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_, "exec_(self) -> 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 || sipIsDerivedClass((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.9-1.i686/build/py3/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 448397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_exec, "exec(self) -> 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 || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            int sipRes = 0;

            sipCallHook("__pyQtPreEventLoopHook__");

#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 448442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "done(self, 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 || sipIsDerivedClass((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, "accept(self)");

extern "C" {static PyObject *meth_QDialog_accept(PyObject *, PyObject *);}
static PyObject *meth_QDialog_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "reject(self)");

extern "C" {static PyObject *meth_QDialog_reject(PyObject *, PyObject *);}
static PyObject *meth_QDialog_reject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "open(self)");

extern "C" {static PyObject *meth_QDialog_open(PyObject *, PyObject *);}
static PyObject *meth_QDialog_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QDialog(void *, const sipTypeDef *);}
static void *cast_QDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDialog *sipCpp = reinterpret_cast< ::QDialog *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{457, 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_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},
};

PyDoc_STRVAR(doc_QDialog, "\1QDialog(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDialog[] = {
    {"rejected()", "\1rejected(self)", 0, 0},
    {"finished(int)", "\1finished(self, int)", 0, 0},
    {"accepted()", "\1accepted(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QDialog = {
    & ::QDialog::staticMetaObject,
    0,
    signals_QDialog,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDialog,
        {0},
        &plugin_QDialog
    },
    {
        sipNameNr_QDialog,
        {0, 0, 1},
        61, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcheckbox.sip"
#include <qcheckbox.h>
#line 448967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 448971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 448974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 448977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 448980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 448983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 448986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 448989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 448992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 448995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 448998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 449007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 449010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 449013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 449016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 449019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 449022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 449028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 449031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 449037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 449043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 449046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 449049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 449052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 449055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 449058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 449061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 449064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 449067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 449070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 449073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 449115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 449118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 449121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 449124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 449127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 449130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 449136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 449139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 449142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 449145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 449148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 449151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 449154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 449157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 449160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 449163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 449169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 449172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 449175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    bool hitButton(const  ::QPoint&) const;
    void checkStateSet();
    void nextCheckState();

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCheckBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCheckBox);

    return  ::QCheckBox::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QCheckBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQCheckBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QCheckBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQCheckBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QCheckBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQCheckBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QCheckBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQCheckBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QCheckBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQCheckBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QCheckBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QCheckBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QCheckBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QCheckBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QCheckBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QCheckBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QCheckBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QCheckBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QCheckBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QCheckBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QCheckBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QCheckBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QCheckBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QCheckBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QCheckBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QCheckBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QCheckBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QCheckBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QCheckBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QCheckBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QCheckBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QCheckBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QCheckBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QCheckBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QCheckBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QCheckBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQCheckBox::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  ::QCheckBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQCheckBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QCheckBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQCheckBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QCheckBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCheckBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QCheckBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQCheckBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QCheckBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQCheckBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QCheckBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQCheckBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QCheckBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCheckBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QCheckBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCheckBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QCheckBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQCheckBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QCheckBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QCheckBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QCheckBox::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QCheckBox::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QCheckBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCheckBox::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
         ::QCheckBox::checkStateSet();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCheckBox::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
         ::QCheckBox::nextCheckState();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 450483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 450543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "setTristate(self, on: bool = 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, "isTristate(self) -> 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, "checkState(self) -> 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, "setCheckState(self, 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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "hitButton(self, 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 || sipIsDerivedClass((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, "checkStateSet(self)");

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 || sipIsDerivedClass((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, "nextCheckState(self)");

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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "initStyleOption(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QCheckBox(void *, const sipTypeDef *);}
static void *cast_QCheckBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCheckBox *sipCpp = reinterpret_cast< ::QCheckBox *>(sipCppV);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCheckBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCheckBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};

PyDoc_STRVAR(doc_QCheckBox, "\1QCheckBox(parent: QWidget = None)\n"
    "QCheckBox(str, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCheckBox[] = {
    {"stateChanged(int)", "\1stateChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCheckBox = {
    & ::QCheckBox::staticMetaObject,
    0,
    signals_QCheckBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QCheckBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCheckBox,
        {0},
        &plugin_QCheckBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 452375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 452379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 452382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 452385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 452388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 452400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 452403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 249 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 452406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 452409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 452415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 452418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 452421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 452424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 452427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 452433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 452439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 452445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 452448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 452451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 452454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 452457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 452460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 452463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 452466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 452469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 452472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 452475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 452478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 452523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 452526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 452532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 452535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 452538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 452544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 452547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 452550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 452553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 452556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 452559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 452562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 452565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 452574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 452580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 452583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 452586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 paintCell( ::QPainter*,const  ::QRect&,const  ::QDate&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCalendarWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCalendarWidget);

    return  ::QCalendarWidget::metaObject();
}

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::paintCell( ::QPainter*a0,const  ::QRect& a1,const  ::QDate& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_paintCell);

    if (!sipMeth)
    {
         ::QCalendarWidget::paintCell(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,const  ::QDate&);

    sipVH_QtWidgets_86(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQCalendarWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QCalendarWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QCalendarWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCalendarWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QCalendarWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQCalendarWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QCalendarWidget::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQCalendarWidget::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  ::QCalendarWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQCalendarWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QCalendarWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQCalendarWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QCalendarWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCalendarWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QCalendarWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQCalendarWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QCalendarWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQCalendarWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QCalendarWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQCalendarWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QCalendarWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QCalendarWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQCalendarWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QCalendarWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCalendarWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QCalendarWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCalendarWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QCalendarWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQCalendarWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QCalendarWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQCalendarWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QCalendarWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCalendarWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QCalendarWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 453853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 453913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "selectedDate(self) -> 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, "yearShown(self) -> 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, "monthShown(self) -> 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, "minimumDate(self) -> 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, "setMinimumDate(self, Union[QDate, datetime.date])");

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, "maximumDate(self) -> 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, "setMaximumDate(self, Union[QDate, datetime.date])");

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, "firstDayOfWeek(self) -> 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, "setFirstDayOfWeek(self, 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, "isGridVisible(self) -> 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, "setGridVisible(self, 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, "selectionMode(self) -> 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, "setSelectionMode(self, 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, "horizontalHeaderFormat(self) -> 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, "setHorizontalHeaderFormat(self, 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, "verticalHeaderFormat(self) -> 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, "setVerticalHeaderFormat(self, 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, "headerTextFormat(self) -> 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, "setHeaderTextFormat(self, 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, "weekdayTextFormat(self, 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, "setWeekdayTextFormat(self, 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, "dateTextFormat(self) -> object\n"
    "dateTextFormat(self, Union[QDate, datetime.date]) -> 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, "setDateTextFormat(self, Union[QDate, datetime.date], 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, "updateCell(self, Union[QDate, datetime.date])");

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, "updateCells(self)");

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, "event(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "paintCell(self, QPainter, QRect, Union[QDate, datetime.date])");

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 || sipIsDerivedClass((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, "setCurrentPage(self, 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, "setDateRange(self, Union[QDate, datetime.date], Union[QDate, datetime.date])");

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, "setSelectedDate(self, Union[QDate, datetime.date])");

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, "showNextMonth(self)");

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, "showNextYear(self)");

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, "showPreviousMonth(self)");

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, "showPreviousYear(self)");

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, "showSelectedDate(self)");

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, "showToday(self)");

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, "isNavigationBarVisible(self) -> 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, "isDateEditEnabled(self) -> 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, "setDateEditEnabled(self, 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, "dateEditAcceptDelay(self) -> 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, "setDateEditAcceptDelay(self, 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, "setNavigationBarVisible(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QCalendarWidget(void *, const sipTypeDef *);}
static void *cast_QCalendarWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCalendarWidget *sipCpp = reinterpret_cast< ::QCalendarWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCalendarWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCalendarWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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},
};

PyDoc_STRVAR(doc_QCalendarWidget, "\1QCalendarWidget(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCalendarWidget[] = {
    {"selectionChanged()", "\1selectionChanged(self)", 0, 0},
    {"currentPageChanged(int,int)", "\1currentPageChanged(self, int, int)", 0, 0},
    {"clicked(QDate)", "\1clicked(self, Union[QDate, datetime.date])", 0, 0},
    {"activated(QDate)", "\1activated(self, Union[QDate, datetime.date])", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCalendarWidget = {
    & ::QCalendarWidget::staticMetaObject,
    0,
    signals_QCalendarWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QCalendarWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCalendarWidget,
        {0},
        &plugin_QCalendarWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 456752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 456756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 456759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 456762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 456765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 456768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 456771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 456774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 456777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 456780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 456783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 456786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 456789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 456792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 456795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 456798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 456801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 456804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 456807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQButtonGroup::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QButtonGroup);

    return  ::QButtonGroup::metaObject();
}

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));
}

bool sipQButtonGroup::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QButtonGroup::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQButtonGroup::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QButtonGroup::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQButtonGroup::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QButtonGroup::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQButtonGroup::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QButtonGroup::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQButtonGroup::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QButtonGroup::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQButtonGroup::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QButtonGroup::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 457101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 457161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "setExclusive(self, 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, "exclusive(self) -> 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, "addButton(self, QAbstractButton, id: int = -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, "removeButton(self, 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, "buttons(self) -> object");

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, "button(self, 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, "checkedButton(self) -> 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, "setId(self, 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, "id(self, 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, "checkedId(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QButtonGroup(void *, const sipTypeDef *);}
static void *cast_QButtonGroup(void *sipCppV, const sipTypeDef *targetType)
{
     ::QButtonGroup *sipCpp = reinterpret_cast< ::QButtonGroup *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQButtonGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QButtonGroup(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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}
};

PyDoc_STRVAR(doc_QButtonGroup, "\1QButtonGroup(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QButtonGroup[] = {
    {"buttonToggled(QAbstractButton*,bool)", "\1buttonToggled(self, QAbstractButton, bool)", 0, 0},
    {"buttonToggled(int,bool)", "\1buttonToggled(self, int, bool)", 0, 0},
    {"buttonReleased(QAbstractButton*)", "\1buttonReleased(self, QAbstractButton)", 0, 0},
    {"buttonReleased(int)", "\1buttonReleased(self, int)", 0, 0},
    {"buttonPressed(QAbstractButton*)", "\1buttonPressed(self, QAbstractButton)", 0, 0},
    {"buttonPressed(int)", "\1buttonPressed(self, int)", 0, 0},
    {"buttonClicked(QAbstractButton*)", "\1buttonClicked(self, QAbstractButton)", 0, 0},
    {"buttonClicked(int)", "\1buttonClicked(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QButtonGroup = {
    & ::QButtonGroup::staticMetaObject,
    0,
    signals_QButtonGroup,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QButtonGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QButtonGroup,
        {0},
        &plugin_QButtonGroup
    },
    {
        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
};

#line 144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 457841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 457845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 457848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 457851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 457854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 457857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 457860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 457863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 457866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 457869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 457872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 457875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 457878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 457881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 457884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 457887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 457890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 457893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 457896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 457899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 457902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 457905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 457908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 457911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 457914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 457917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 457920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 457923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    int count() const;
    int indexOf( ::QWidget*) const;
     ::QLayoutItem* takeAt(int);
     ::QLayoutItem* itemAt(int) const;
    void addItem( ::QLayoutItem*);
     ::QSize sizeHint() const;
     ::QSize minimumSize() const;
     ::QSize maximumSize() const;
     ::Qt::Orientations expandingDirections() const;
    void setGeometry(const  ::QRect&);
     ::QRect geometry() const;
    bool isEmpty() const;
    bool hasHeightForWidth() const;
    int heightForWidth(int) const;
    int minimumHeightForWidth(int) const;
    void invalidate();
     ::QWidget* widget();
     ::QLayout* layout();
     ::QSpacerItem* spacerItem();
     ::QSizePolicy::ControlTypes controlTypes() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQVBoxLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QVBoxLayout);

    return  ::QVBoxLayout::metaObject();
}

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));
}

int sipQVBoxLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return  ::QVBoxLayout::count();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQVBoxLayout::indexOf( ::QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return  ::QVBoxLayout::indexOf(a0);

    extern int sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_85(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQVBoxLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return  ::QVBoxLayout::takeAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQVBoxLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return  ::QVBoxLayout::itemAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::addItem( ::QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
         ::QVBoxLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLayoutItem*);

    sipVH_QtWidgets_82(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQVBoxLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QVBoxLayout::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQVBoxLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QVBoxLayout::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQVBoxLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QVBoxLayout::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::Qt::Orientations sipQVBoxLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QVBoxLayout::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQVBoxLayout::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QVBoxLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQVBoxLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QVBoxLayout::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQVBoxLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QVBoxLayout::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQVBoxLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QVBoxLayout::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQVBoxLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QVBoxLayout::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QVBoxLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQVBoxLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QVBoxLayout::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQVBoxLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QVBoxLayout::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQVBoxLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QVBoxLayout::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSizePolicy::ControlTypes sipQVBoxLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QVBoxLayout::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQVBoxLayout::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QVBoxLayout::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQVBoxLayout::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QVBoxLayout::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQVBoxLayout::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QVBoxLayout::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QVBoxLayout::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QVBoxLayout::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QVBoxLayout::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QVBoxLayout::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 458576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 458636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "widgetEvent(self, 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, "childEvent(self, 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 || sipIsDerivedClass((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, "addChildLayout(self, 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, "addChildWidget(self, 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.9-1.i686/build/py3/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 458956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "alignmentRect(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QVBoxLayout(void *, const sipTypeDef *);}
static void *cast_QVBoxLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QVBoxLayout *sipCpp = reinterpret_cast< ::QVBoxLayout *>(sipCppV);

    if (targetType == sipType_QBoxLayout)
        return static_cast< ::QBoxLayout *>(sipCpp);

    if (targetType == sipType_QLayout)
        return static_cast< ::QLayout *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQVBoxLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVBoxLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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)");


static pyqt5ClassPluginDef plugin_QVBoxLayout = {
    & ::QVBoxLayout::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QVBoxLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVBoxLayout,
        {0},
        &plugin_QVBoxLayout
    },
    {
        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
};

#line 129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 459164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 459168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 459171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 459174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 459177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 459180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 459183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 459186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 459189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 459192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 459195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 459198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 459201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 459204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 459207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 459210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 459213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 459216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 459219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 459222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 459225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 459228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 459231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 459234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 459237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 459240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 459243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 459246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    int count() const;
    int indexOf( ::QWidget*) const;
     ::QLayoutItem* takeAt(int);
     ::QLayoutItem* itemAt(int) const;
    void addItem( ::QLayoutItem*);
     ::QSize sizeHint() const;
     ::QSize minimumSize() const;
     ::QSize maximumSize() const;
     ::Qt::Orientations expandingDirections() const;
    void setGeometry(const  ::QRect&);
     ::QRect geometry() const;
    bool isEmpty() const;
    bool hasHeightForWidth() const;
    int heightForWidth(int) const;
    int minimumHeightForWidth(int) const;
    void invalidate();
     ::QWidget* widget();
     ::QLayout* layout();
     ::QSpacerItem* spacerItem();
     ::QSizePolicy::ControlTypes controlTypes() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQHBoxLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QHBoxLayout);

    return  ::QHBoxLayout::metaObject();
}

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));
}

int sipQHBoxLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return  ::QHBoxLayout::count();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQHBoxLayout::indexOf( ::QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return  ::QHBoxLayout::indexOf(a0);

    extern int sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_85(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQHBoxLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return  ::QHBoxLayout::takeAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQHBoxLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return  ::QHBoxLayout::itemAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::addItem( ::QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
         ::QHBoxLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLayoutItem*);

    sipVH_QtWidgets_82(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQHBoxLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QHBoxLayout::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQHBoxLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QHBoxLayout::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQHBoxLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QHBoxLayout::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::Qt::Orientations sipQHBoxLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QHBoxLayout::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQHBoxLayout::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QHBoxLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQHBoxLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QHBoxLayout::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQHBoxLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QHBoxLayout::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQHBoxLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QHBoxLayout::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQHBoxLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QHBoxLayout::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QHBoxLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQHBoxLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QHBoxLayout::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQHBoxLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QHBoxLayout::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQHBoxLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QHBoxLayout::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSizePolicy::ControlTypes sipQHBoxLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QHBoxLayout::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQHBoxLayout::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QHBoxLayout::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQHBoxLayout::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QHBoxLayout::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQHBoxLayout::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QHBoxLayout::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QHBoxLayout::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QHBoxLayout::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QHBoxLayout::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QHBoxLayout::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 459899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 459959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "widgetEvent(self, 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, "childEvent(self, 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 || sipIsDerivedClass((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, "addChildLayout(self, 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, "addChildWidget(self, 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.9-1.i686/build/py3/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 460279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "alignmentRect(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QHBoxLayout(void *, const sipTypeDef *);}
static void *cast_QHBoxLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QHBoxLayout *sipCpp = reinterpret_cast< ::QHBoxLayout *>(sipCppV);

    if (targetType == sipType_QBoxLayout)
        return static_cast< ::QBoxLayout *>(sipCpp);

    if (targetType == sipType_QLayout)
        return static_cast< ::QLayout *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQHBoxLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QHBoxLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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)");


static pyqt5ClassPluginDef plugin_QHBoxLayout = {
    & ::QHBoxLayout::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QHBoxLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QHBoxLayout,
        {0},
        &plugin_QHBoxLayout
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 460487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 460491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 460494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 460497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 460500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 460503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 460506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 460509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 460512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 460515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 460518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 460521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 460524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 460527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 460530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 460533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 460536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 460539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 460542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 460545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 460548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 460551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 460554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 460557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 460560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 460563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 460566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::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;
    void addItem( ::QLayoutItem*);
     ::QLayoutItem* itemAt(int) const;
     ::QLayoutItem* takeAt(int);
    int indexOf( ::QWidget*) const;
    int count() const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQBoxLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QBoxLayout);

    return  ::QBoxLayout::metaObject();
}

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));
}

void sipQBoxLayout::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QBoxLayout::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QBoxLayout::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QBoxLayout::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QBoxLayout::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QBoxLayout::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQBoxLayout::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QBoxLayout::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQBoxLayout::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QBoxLayout::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSizePolicy::ControlTypes sipQBoxLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QBoxLayout::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQBoxLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QBoxLayout::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQBoxLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QBoxLayout::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQBoxLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QBoxLayout::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQBoxLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QBoxLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQBoxLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QBoxLayout::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQBoxLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QBoxLayout::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQBoxLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QBoxLayout::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQBoxLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QBoxLayout::isEmpty();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRect sipQBoxLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QBoxLayout::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQBoxLayout::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QBoxLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::Qt::Orientations sipQBoxLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QBoxLayout::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQBoxLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QBoxLayout::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQBoxLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QBoxLayout::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQBoxLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QBoxLayout::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQBoxLayout::addItem( ::QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
         ::QBoxLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLayoutItem*);

    sipVH_QtWidgets_82(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQBoxLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return  ::QBoxLayout::itemAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQBoxLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return  ::QBoxLayout::takeAt(a0);

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQBoxLayout::indexOf( ::QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return  ::QBoxLayout::indexOf(a0);

    extern int sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_85(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQBoxLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return  ::QBoxLayout::count();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 461213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 461273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "widgetEvent(self, 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, "childEvent(self, 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 || sipIsDerivedClass((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, "addChildLayout(self, 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, "addChildWidget(self, 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.9-1.i686/build/py3/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 461593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "alignmentRect(self, 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, "direction(self) -> 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, "setDirection(self, 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, "addSpacing(self, 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, "addStretch(self, stretch: int = 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, "addWidget(self, QWidget, stretch: int = 0, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = 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.9-1.i686/build/py3/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 461798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "addLayout(self, QLayout, stretch: int = 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, "addStrut(self, 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, "addItem(self, 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 || sipIsDerivedClass((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, "insertSpacing(self, 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, "insertStretch(self, int, stretch: int = 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, "insertWidget(self, int, QWidget, stretch: int = 0, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = 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.9-1.i686/build/py3/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 462015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "insertLayout(self, int, QLayout, stretch: int = 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, "setStretchFactor(self, QWidget, int) -> bool\n"
    "setStretchFactor(self, 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSize(self) -> 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 || sipIsDerivedClass((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, "maximumSize(self) -> 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 || sipIsDerivedClass((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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "minimumHeightForWidth(self, 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 || sipIsDerivedClass((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, "expandingDirections(self) -> 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 || sipIsDerivedClass((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, "invalidate(self)");

extern "C" {static PyObject *meth_QBoxLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "itemAt(self, 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 || sipIsDerivedClass((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, "takeAt(self, 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 || sipIsDerivedClass((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, "count(self) -> 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "spacing(self) -> 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, "setSpacing(self, 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, "addSpacerItem(self, 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, "insertSpacerItem(self, 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, "setStretch(self, 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, "stretch(self, 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, "insertItem(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QBoxLayout(void *, const sipTypeDef *);}
static void *cast_QBoxLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QBoxLayout *sipCpp = reinterpret_cast< ::QBoxLayout *>(sipCppV);

    if (targetType == sipType_QLayout)
        return static_cast< ::QLayout *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQBoxLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QBoxLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{187, 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, parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QBoxLayout = {
    & ::QBoxLayout::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QBoxLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBoxLayout,
        {0},
        &plugin_QBoxLayout
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 462867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 462871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 462874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 462880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 462883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 462886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 462889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 462892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 462895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 462904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 462907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 462910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 462913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 462916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 462919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 462922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 462925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 462931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 462934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 462937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 462940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 462943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    int count() const;
    int indexOf( ::QWidget*) const;
     ::QLayoutItem* takeAt(int);
     ::QLayoutItem* itemAt(int) const;
    void addItem( ::QLayoutItem*);
     ::QSize sizeHint() const;
     ::QSize minimumSize() const;
     ::QSize maximumSize() const;
     ::Qt::Orientations expandingDirections() const;
    void setGeometry(const  ::QRect&);
     ::QRect geometry() const;
    bool isEmpty() const;
    bool hasHeightForWidth() const;
    int heightForWidth(int) const;
    int minimumHeightForWidth(int) const;
    void invalidate();
     ::QWidget* widget();
     ::QLayout* layout();
     ::QSpacerItem* spacerItem();
     ::QSizePolicy::ControlTypes controlTypes() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQLayout::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLayout);

    return  ::QLayout::metaObject();
}

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));
}

int sipQLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QLayout,sipName_count);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQLayout::indexOf( ::QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return  ::QLayout::indexOf(a0);

    extern int sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_QtWidgets_85(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QLayout,sipName_takeAt);

    if (!sipMeth)
        return 0;

    extern  ::QLayoutItem* sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_84(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QLayoutItem* sipQLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,sipName_QLayout,sipName_itemAt);

    if (!sipMeth)
        return 0;

    extern  ::QLayoutItem* sipVH_QtWidgets_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_83(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLayout::addItem( ::QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_QLayout,sipName_addItem);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLayoutItem*);

    sipVH_QtWidgets_82(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::QLayout::minimumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return  ::QLayout::maximumSize();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::Qt::Orientations sipQLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return  ::QLayout::expandingDirections();

    extern  ::Qt::Orientations sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_75(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQLayout::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::QLayout::setGeometry(a0);
        return;
    }

    extern void sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_QtWidgets_76(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QRect sipQLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return  ::QLayout::geometry();

    extern  ::QRect sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_77(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QLayout::isEmpty();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QLayout::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QLayout::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return  ::QLayout::minimumHeightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
         ::QLayout::invalidate();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QWidget* sipQLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::QLayout::widget();

    extern  ::QWidget* sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_78(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QLayout* sipQLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return  ::QLayout::layout();

    extern  ::QLayout* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSpacerItem* sipQLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return  ::QLayout::spacerItem();

    extern  ::QSpacerItem* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSizePolicy::ControlTypes sipQLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return  ::QLayout::controlTypes();

    extern  ::QSizePolicy::ControlTypes sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_81(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQLayout::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QLayout::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQLayout::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QLayout::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQLayout::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QLayout::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLayout::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QLayout::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLayout::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QLayout::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLayout::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QLayout::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQLayout::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QLayout::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 463593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 463653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "spacing(self) -> 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, "setSpacing(self, 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, "setAlignment(self, QWidget, Union[Qt.Alignment, Qt.AlignmentFlag]) -> bool\n"
    "setAlignment(self, QLayout, Union[Qt.Alignment, Qt.AlignmentFlag]) -> bool\n"
    "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "setSizeConstraint(self, 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, "sizeConstraint(self) -> 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, "setMenuBar(self, 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.9-1.i686/build/py3/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 464063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "menuBar(self) -> 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, "parentWidget(self) -> 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, "invalidate(self)");

extern "C" {static PyObject *meth_QLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "geometry(self) -> 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 || sipIsDerivedClass((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, "activate(self) -> 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, "update(self)");

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, "addWidget(self, 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.9-1.i686/build/py3/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 464281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "addItem(self, 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, "removeWidget(self, 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, "removeItem(self, 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, "expandingDirections(self) -> 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 || sipIsDerivedClass((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, "minimumSize(self) -> 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 || sipIsDerivedClass((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, "maximumSize(self) -> 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 || sipIsDerivedClass((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, "setGeometry(self, 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 || sipIsDerivedClass((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, "itemAt(self, 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, "takeAt(self, 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, "indexOf(self, 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 || sipIsDerivedClass((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, "count(self) -> 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, "isEmpty(self) -> 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 || sipIsDerivedClass((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, "totalHeightForWidth(self, 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, "totalMinimumSize(self) -> 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, "totalMaximumSize(self) -> 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, "totalSizeHint(self) -> 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, "layout(self) -> 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 || sipIsDerivedClass((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, "setEnabled(self, 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, "isEnabled(self) -> 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, "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, "widgetEvent(self, 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, "childEvent(self, 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 || sipIsDerivedClass((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, "addChildLayout(self, 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, "addChildWidget(self, 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.9-1.i686/build/py3/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 465021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "alignmentRect(self, 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, "setContentsMargins(self, int, int, int, int)\n"
    "setContentsMargins(self, 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, "getContentsMargins(self) -> Tuple[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, "contentsRect(self) -> 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, "contentsMargins(self) -> 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, "controlTypes(self) -> 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 || sipIsDerivedClass((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, "replaceWidget(self, QWidget, QWidget, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = 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 465280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QLayout(void *, const sipTypeDef *);}
static void *cast_QLayout(void *sipCppV, const sipTypeDef *targetType)
{
     ::QLayout *sipCpp = reinterpret_cast< ::QLayout *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QLayoutItem)
        return static_cast< ::QLayoutItem *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLayout(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 0, 0}, {189, 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), 188},
    {sipName_SetFixedSize, static_cast<int>( ::QLayout::SetFixedSize), 188},
    {sipName_SetMaximumSize, static_cast<int>( ::QLayout::SetMaximumSize), 188},
    {sipName_SetMinAndMaxSize, static_cast<int>( ::QLayout::SetMinAndMaxSize), 188},
    {sipName_SetMinimumSize, static_cast<int>( ::QLayout::SetMinimumSize), 188},
    {sipName_SetNoConstraint, static_cast<int>( ::QLayout::SetNoConstraint), 188},
};

PyDoc_STRVAR(doc_QLayout, "\1QLayout(QWidget)\n"
    "QLayout()");


static pyqt5ClassPluginDef plugin_QLayout = {
    & ::QLayout::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QLayout = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLayout,
        {0},
        &plugin_QLayout
    },
    {
        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
};

#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 465504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 465508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 465511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 465514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 465517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 465520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 465523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 465526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qdesktopwidget.sip"
#include <qdesktopwidget.h>
#line 465529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 465532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 465535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 465538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 465541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 465544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 465547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 465550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 465553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtGui/qsessionmanager.sip"
#include <qsessionmanager.h>
#line 465556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 465559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 465562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qclipboard.sip"
#include <qclipboard.h>
#line 465565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 465568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 465571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 465574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 465577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 465580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 465583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 465586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 465589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 465592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 465595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 465598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 465601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 465604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 465607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 465610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 465613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 465616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 465619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 465622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 465625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 465628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool notify( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQApplication::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QApplication);

    return  ::QApplication::metaObject();
}

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));
}

bool sipQApplication::notify( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_notify);

    if (!sipMeth)
        return  ::QApplication::notify(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQApplication::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QApplication::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQApplication::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QApplication::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQApplication::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QApplication::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQApplication::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QApplication::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQApplication::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QApplication::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQApplication::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QApplication::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQApplication::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QApplication::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 465944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 466004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "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, "setStyle(QStyle)\n"
    "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, "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, "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, "palette() -> QPalette\n"
    "palette(QWidget) -> QPalette\n"
    "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;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
             ::QPalette*sipRes;

            sipRes = new  ::QPalette( ::QApplication::palette(a0));
            Py_DECREF(a0Keep);

            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, "setPalette(QPalette, className: str = 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;
        PyObject *a1Keep = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_className,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9|AA", sipType_QPalette, &a0, &a1Keep, &a1))
        {
             ::QApplication::setPalette(*a0,a1);
            Py_XDECREF(a1Keep);

            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, "font() -> QFont\n"
    "font(QWidget) -> QFont\n"
    "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;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
             ::QFont*sipRes;

            sipRes = new  ::QFont( ::QApplication::font(a0));
            Py_DECREF(a0Keep);

            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, "setFont(QFont, className: str = 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;
        PyObject *a1Keep = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_className,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9|AA", sipType_QFont, &a0, &a1Keep, &a1))
        {
             ::QApplication::setFont(*a0,a1);
            Py_XDECREF(a1Keep);

            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, "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, "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, "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, "allWidgets() -> object");

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, "topLevelWidgets() -> object");

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, "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, "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, "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, "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, "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, "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, "widgetAt(QPoint) -> QWidget\n"
    "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, "topLevelAt(QPoint) -> QWidget\n"
    "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, "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, "alert(QWidget, msecs: int = 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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "setEffectEnabled(Qt.UIEffect, enabled: bool = 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_, "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_exec, "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, "notify(self, 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 || sipIsDerivedClass((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, "autoSipEnabled(self) -> 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, "styleSheet(self) -> 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, "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, "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, "setAutoSipEnabled(self, 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, "setStyleSheet(self, 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, "event(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QApplication(void *, const sipTypeDef *);}
static void *cast_QApplication(void *sipCppV, const sipTypeDef *targetType)
{
     ::QApplication *sipCpp = reinterpret_cast< ::QApplication *>(sipCppV);

    if (targetType == sipType_QGuiApplication)
        return static_cast< ::QGuiApplication *>(sipCpp);

    if (targetType == sipType_QCoreApplication)
        return static_cast< ::QCoreApplication *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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.  Note
        // that it could still mean that widgets outlive the QApplication (which is
        // probably not good).  However experimentation shows that deleting top level
        // widgets in the wrong order can cause crashes (so we don't try and do that).
        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 467735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QApplication(sipSimpleWrapper *);}
static void dealloc_QApplication(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQApplication *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QApplication(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 467795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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[] = {{18, 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_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},
};

PyDoc_STRVAR(doc_QApplication, "\1QApplication(List[str])");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QApplication[] = {
    {"focusChanged(QWidget*,QWidget*)", "\1focusChanged(self, QWidget, QWidget)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QApplication = {
    & ::QApplication::staticMetaObject,
    0,
    signals_QApplication,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QApplication = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QApplication,
        {0},
        &plugin_QApplication
    },
    {
        sipNameNr_QApplication,
        {0, 0, 1},
        58, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qactiongroup.sip"
#include <qactiongroup.h>
#line 467961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 467965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 467968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 467971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 467974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 467977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 467980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 467983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 467986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 467989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 467992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 467995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 467998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 468001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 468004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 468007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 468010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 468013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 468016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 468019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQActionGroup::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QActionGroup);

    return  ::QActionGroup::metaObject();
}

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));
}

bool sipQActionGroup::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QActionGroup::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQActionGroup::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QActionGroup::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQActionGroup::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QActionGroup::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQActionGroup::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QActionGroup::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQActionGroup::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QActionGroup::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQActionGroup::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QActionGroup::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 468313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 468373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "addAction(self, QAction) -> QAction\n"
    "addAction(self, str) -> QAction\n"
    "addAction(self, 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, "removeAction(self, 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, "actions(self) -> List[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, "checkedAction(self) -> 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, "isExclusive(self) -> 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, "isEnabled(self) -> 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, "isVisible(self) -> 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, "setEnabled(self, 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, "setDisabled(self, 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, "setVisible(self, 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, "setExclusive(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QActionGroup(void *, const sipTypeDef *);}
static void *cast_QActionGroup(void *sipCppV, const sipTypeDef *targetType)
{
     ::QActionGroup *sipCpp = reinterpret_cast< ::QActionGroup *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQActionGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QActionGroup(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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}
};

PyDoc_STRVAR(doc_QActionGroup, "\1QActionGroup(QObject)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QActionGroup[] = {
    {"hovered(QAction*)", "\1hovered(self, QAction)", 0, 0},
    {"triggered(QAction*)", "\1triggered(self, QAction)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QActionGroup = {
    & ::QActionGroup::staticMetaObject,
    0,
    signals_QActionGroup,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QActionGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QActionGroup,
        {0},
        &plugin_QActionGroup
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 469101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 469105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 469108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 469111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 469114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 469117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 469120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 469123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 469126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 469129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 469132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 469135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 469138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 469141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 469144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qactiongroup.sip"
#include <qactiongroup.h>
#line 469147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 469150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 469153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 469156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 469159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 469162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 469165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 469168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 469171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 469174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 469177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 469180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAction::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAction);

    return  ::QAction::metaObject();
}

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));
}

bool sipQAction::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAction::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAction::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAction::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAction::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAction::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAction::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAction::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAction::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAction::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAction::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAction::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 469492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 469552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "setActionGroup(self, 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, "actionGroup(self) -> 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, "setIcon(self, 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, "icon(self) -> 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, "setText(self, 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, "text(self) -> 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, "setIconText(self, 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, "iconText(self) -> 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, "setToolTip(self, 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, "toolTip(self) -> 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, "setStatusTip(self, 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, "statusTip(self) -> 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, "setWhatsThis(self, 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, "whatsThis(self) -> 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, "menu(self) -> 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, "setMenu(self, 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, "setSeparator(self, 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, "isSeparator(self) -> 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, "setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])");

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, "shortcut(self) -> 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, "setShortcutContext(self, 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, "shortcutContext(self) -> 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, "setFont(self, 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, "font(self) -> 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, "setCheckable(self, 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, "isCheckable(self) -> 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, "data(self) -> Any");

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, "setData(self, Any)");

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, "isChecked(self) -> 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, "isEnabled(self) -> 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, "isVisible(self) -> 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, "activate(self, 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, "showStatusText(self, widget: QWidget = 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, "parentWidget(self) -> 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, "event(self, 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 || sipIsDerivedClass((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, "trigger(self)");

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, "hover(self)");

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, "setChecked(self, 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, "toggle(self)");

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, "setEnabled(self, 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, "setDisabled(self, 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, "setVisible(self, 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, "setShortcuts(self, Iterable[Union[QKeySequence, QKeySequence.StandardKey, str, int]])\n"
    "setShortcuts(self, 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, "shortcuts(self) -> List[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, "setAutoRepeat(self, 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, "autoRepeat(self) -> 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, "setMenuRole(self, 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, "menuRole(self) -> 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, "associatedWidgets(self) -> List[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, "associatedGraphicsWidgets(self) -> object");

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, "setIconVisibleInMenu(self, 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, "isIconVisibleInMenu(self) -> 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, "setPriority(self, 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, "priority(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QAction(void *, const sipTypeDef *);}
static void *cast_QAction(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAction *sipCpp = reinterpret_cast< ::QAction *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAction(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAction(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new 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 = 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_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[] = {{32, 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},
};

PyDoc_STRVAR(doc_QAction, "\1QAction(parent: QObject = None)\n"
    "QAction(str, parent: QObject = None)\n"
    "QAction(QIcon, str, parent: QObject = None)");


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)", "\1toggled(self, bool)", 0, 0},
    {"hovered()", "\1hovered(self)", 0, 0},
    {"triggered(bool)", "\1triggered(self, bool = False)", 0, emit_QAction_triggered},
    {"changed()", "\1changed(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAction = {
    & ::QAction::staticMetaObject,
    0,
    signals_QAction,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAction,
        {0},
        &plugin_QAction
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 471624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 471628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QAbstractSpinBox_StepEnabled___hash__(PyObject *);}
static long slot_QAbstractSpinBox_StepEnabled___hash__(PyObject *sipSelf)
{
     ::QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast< ::QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QAbstractSpinBox::StepEnabled::Int();
#line 471646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractSpinBox::StepEnabled::Int() != 0);
#line 471671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractSpinBox::StepEnabled::Int() != a0->operator QAbstractSpinBox::StepEnabled::Int());
#line 471701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractSpinBox::StepEnabled::Int() == a0->operator QAbstractSpinBox::StepEnabled::Int());
#line 471737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QAbstractSpinBox::StepEnabled(*sipCpp ^ a0);
#line 471776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___xor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QAbstractSpinBox::StepEnabled(*sipCpp | a0);
#line 471848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___or__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QAbstractSpinBox::StepEnabled();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QAbstractSpinBox::StepEnabled(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 472116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAbstractSpinBox_StepEnabled[] = {
    {(void *)slot_QAbstractSpinBox_StepEnabled___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___xor__, xor_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___ior__, ior_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___or__, or_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___iand__, iand_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___and__, and_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___invert__, invert_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QAbstractSpinBox_StepEnabled, "\1QAbstractSpinBox.StepEnabled()\n"
    "QAbstractSpinBox.StepEnabled(Union[QAbstractSpinBox.StepEnabled, QAbstractSpinBox.StepEnabledFlag])\n"
    "QAbstractSpinBox.StepEnabled(QAbstractSpinBox.StepEnabled)");


static pyqt5ClassPluginDef plugin_QAbstractSpinBox_StepEnabled = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractSpinBox_StepEnabled = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractSpinBox__StepEnabled,
        {0},
        &plugin_QAbstractSpinBox_StepEnabled
    },
    {
        sipNameNr_StepEnabled,
        {20, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractSpinBox_StepEnabled,
    -1,
    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,
    0,
    convertTo_QAbstractSpinBox_StepEnabled,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 472202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 472206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 472209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 472212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 472215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 472218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 472221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 472230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 472242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 472260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 472263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 472266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 472269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 472272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 472275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 472278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 472281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 472284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 472287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 472290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 472293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 472296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 472299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 472302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 472305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 472308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 472311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 472314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 472317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 472320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 472323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 472326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 472329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 472332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 472356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 472359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 472362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 472365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 472368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 472371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 472374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 472377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 472380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 472383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 472386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 472389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 472392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 472395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 472398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 472401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 472404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 472407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 472410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 472413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 472416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 472419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
     ::QAbstractSpinBox::StepEnabled stepEnabled() const;
    void clear();
    void stepBy(int);
    void fixup( ::QString&) const;
     ::QValidator::State validate( ::QString&,int&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractSpinBox::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractSpinBox);

    return  ::QAbstractSpinBox::metaObject();
}

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));
}

 ::QAbstractSpinBox::StepEnabled sipQAbstractSpinBox::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return  ::QAbstractSpinBox::stepEnabled();

    extern  ::QAbstractSpinBox::StepEnabled sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_74(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractSpinBox::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::clear();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractSpinBox::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::stepBy(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::fixup( ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::fixup(a0);
        return;
    }

    extern void sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

    sipVH_QtWidgets_73(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[4]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return  ::QAbstractSpinBox::validate(a0,a1);

    extern  ::QValidator::State sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

    return sipVH_QtWidgets_72(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractSpinBox::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractSpinBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractSpinBox::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractSpinBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractSpinBox::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractSpinBox::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  ::QAbstractSpinBox::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQAbstractSpinBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QAbstractSpinBox::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractSpinBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QAbstractSpinBox::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractSpinBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQAbstractSpinBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QAbstractSpinBox::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQAbstractSpinBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QAbstractSpinBox::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractSpinBox::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  ::QAbstractSpinBox::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractSpinBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QAbstractSpinBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractSpinBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QAbstractSpinBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractSpinBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QAbstractSpinBox::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractSpinBox::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QAbstractSpinBox::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQAbstractSpinBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QAbstractSpinBox::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractSpinBox::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QAbstractSpinBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 473750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 473810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "buttonSymbols(self) -> 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, "setButtonSymbols(self, 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, "text(self) -> 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, "specialValueText(self) -> 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, "setSpecialValueText(self, 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, "wrapping(self) -> 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, "setWrapping(self, 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, "setReadOnly(self, 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, "isReadOnly(self) -> 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, "setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "alignment(self) -> 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, "setFrame(self, 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, "hasFrame(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "interpretText(self)");

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, "event(self, 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 || sipIsDerivedClass((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, "validate(self, str, int) -> Tuple[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 || sipIsDerivedClass((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, "fixup(self, 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 || sipIsDerivedClass((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, "stepBy(self, 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 || sipIsDerivedClass((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, "stepUp(self)");

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, "stepDown(self)");

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, "selectAll(self)");

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, "clear(self)");

extern "C" {static PyObject *meth_QAbstractSpinBox_clear(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "lineEdit(self) -> 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, "setLineEdit(self, 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, "stepEnabled(self) -> 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 || sipIsDerivedClass((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, "initStyleOption(self, 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, "setCorrectionMode(self, 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, "correctionMode(self) -> 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, "hasAcceptableInput(self) -> 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, "setAccelerated(self, 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, "isAccelerated(self) -> 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, "setKeyboardTracking(self, 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, "keyboardTracking(self) -> 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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

extern "C" {static PyObject *meth_QAbstractSpinBox_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setGroupSeparatorShown(self, 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, "isGroupSeparatorShown(self) -> 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 inheritance hierarchy. */
extern "C" {static void *cast_QAbstractSpinBox(void *, const sipTypeDef *);}
static void *cast_QAbstractSpinBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractSpinBox *sipCpp = reinterpret_cast< ::QAbstractSpinBox *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractSpinBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractSpinBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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},
};

PyDoc_STRVAR(doc_QAbstractSpinBox, "\1QAbstractSpinBox(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractSpinBox[] = {
    {"editingFinished()", "\1editingFinished(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractSpinBox = {
    & ::QAbstractSpinBox::staticMetaObject,
    0,
    signals_QAbstractSpinBox,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractSpinBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractSpinBox,
        {0},
        &plugin_QAbstractSpinBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 476423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 476427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 476430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 476436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 476442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 476445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 476448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 476451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 476454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 476457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 476460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 476463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 476466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 476469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 476472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 476475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 476478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 476481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 476484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 476487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 476490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 476493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 476496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 476499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 476502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 476505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 476508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 476511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 476514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 476562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 476565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 476568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 476571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 476574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 476577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 476580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 476583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 476586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 476589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 476592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 476595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 476598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 476601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 476604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 476607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 476610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 476613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 476616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 476619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 476622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 476625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 sliderChange( ::QAbstractSlider::SliderChange);
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractSlider::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractSlider);

    return  ::QAbstractSlider::metaObject();
}

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::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::QAbstractSlider::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_71(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0);
}

void sipQAbstractSlider::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractSlider::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractSlider::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractSlider::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractSlider::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractSlider::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractSlider::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractSlider::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  ::QAbstractSlider::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQAbstractSlider::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QAbstractSlider::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractSlider::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QAbstractSlider::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractSlider::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QAbstractSlider::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQAbstractSlider::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QAbstractSlider::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQAbstractSlider::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QAbstractSlider::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractSlider::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QAbstractSlider::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QAbstractSlider::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractSlider::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QAbstractSlider::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractSlider::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QAbstractSlider::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractSlider::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QAbstractSlider::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractSlider::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QAbstractSlider::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQAbstractSlider::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QAbstractSlider::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractSlider::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QAbstractSlider::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 477894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 477954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "orientation(self) -> 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, "setMinimum(self, 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, "minimum(self) -> 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, "setMaximum(self, 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, "maximum(self) -> 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, "setRange(self, 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, "setSingleStep(self, 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, "singleStep(self) -> 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, "setPageStep(self, 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, "pageStep(self) -> 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, "setTracking(self, 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, "hasTracking(self) -> 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, "setSliderDown(self, 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, "isSliderDown(self) -> 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, "setSliderPosition(self, 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, "sliderPosition(self) -> 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, "setInvertedAppearance(self, 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, "invertedAppearance(self) -> 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, "setInvertedControls(self, 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, "invertedControls(self) -> 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, "value(self) -> 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, "triggerAction(self, 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, "setValue(self, 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, "setOrientation(self, 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, "setRepeatAction(self, QAbstractSlider.SliderAction, thresholdTime: int = 500, repeatTime: int = 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, "repeatAction(self) -> 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, "sliderChange(self, 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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QAbstractSlider(void *, const sipTypeDef *);}
static void *cast_QAbstractSlider(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractSlider *sipCpp = reinterpret_cast< ::QAbstractSlider *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractSlider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractSlider(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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},
};

PyDoc_STRVAR(doc_QAbstractSlider, "\1QAbstractSlider(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractSlider[] = {
    {"actionTriggered(int)", "\1actionTriggered(self, int)", 0, 0},
    {"rangeChanged(int,int)", "\1rangeChanged(self, int, int)", 0, 0},
    {"sliderReleased()", "\1sliderReleased(self)", 0, 0},
    {"sliderMoved(int)", "\1sliderMoved(self, int)", 0, 0},
    {"sliderPressed()", "\1sliderPressed(self)", 0, 0},
    {"valueChanged(int)", "\1valueChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractSlider = {
    & ::QAbstractSlider::staticMetaObject,
    0,
    signals_QAbstractSlider,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractSlider = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractSlider,
        {0},
        &plugin_QAbstractSlider
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 480276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 480280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 480283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 480286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 480289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 480292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 480298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 480301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 480304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 480307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 480310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 480313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 480316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 480319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 480322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 480325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 480328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 480331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 480334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 480337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 480340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 480343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 480346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 480349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 480352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 480355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 480358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 480361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 480364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 480415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 480418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 480421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 480424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 480427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 480430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 480433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 480436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 480439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 480442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 480445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 480448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 480451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 480454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 480457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 480460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 480463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 480466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 480469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 480472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 480475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 480478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 480481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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*);
    void sipProtect_initStyleOption( ::QStyleOptionFrame*) 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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) 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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFrame::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFrame);

    return  ::QFrame::metaObject();
}

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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQFrame::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFrame::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQFrame::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QFrame::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQFrame::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QFrame::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFrame::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QFrame::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFrame::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QFrame::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQFrame::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QFrame::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQFrame::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QFrame::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQFrame::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QFrame::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QFrame::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QFrame::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QFrame::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QFrame::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QFrame::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QFrame::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QFrame::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QFrame::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QFrame::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QFrame::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QFrame::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QFrame::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QFrame::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QFrame::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QFrame::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QFrame::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QFrame::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QFrame::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QFrame::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QFrame::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QFrame::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QFrame::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QFrame::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QFrame::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QFrame::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQFrame::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QFrame::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQFrame::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QFrame::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFrame::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QFrame::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQFrame::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QFrame::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQFrame::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QFrame::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQFrame::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QFrame::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQFrame::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QFrame::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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);
}

void sipQFrame::sipProtect_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(a0);
}


PyDoc_STRVAR(doc_QFrame_sender, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 481717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 481777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "frameStyle(self) -> 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, "setFrameStyle(self, 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, "frameWidth(self) -> 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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "frameShape(self) -> 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, "setFrameShape(self, 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, "frameShadow(self) -> 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, "setFrameShadow(self, 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, "lineWidth(self) -> 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, "setLineWidth(self, 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, "midLineWidth(self) -> 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, "setMidLineWidth(self, 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, "frameRect(self) -> 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, "setFrameRect(self, 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, "event(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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;
}


PyDoc_STRVAR(doc_QFrame_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QFrame_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &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_QFrame, sipName_initStyleOption, doc_QFrame_initStyleOption);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFrame(void *, const sipTypeDef *);}
static void *cast_QFrame(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFrame *sipCpp = reinterpret_cast< ::QFrame *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFrame *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFrame(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{457, 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_initStyleOption), (PyCFunction)meth_QFrame_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFrame_initStyleOption)},
    {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), 101},
    {sipName_HLine, static_cast<int>( ::QFrame::HLine), 101},
    {sipName_NoFrame, static_cast<int>( ::QFrame::NoFrame), 101},
    {sipName_Panel, static_cast<int>( ::QFrame::Panel), 101},
    {sipName_Plain, static_cast<int>( ::QFrame::Plain), 100},
    {sipName_Raised, static_cast<int>( ::QFrame::Raised), 100},
    {sipName_Shadow_Mask, static_cast<int>( ::QFrame::Shadow_Mask), 102},
    {sipName_Shape_Mask, static_cast<int>( ::QFrame::Shape_Mask), 102},
    {sipName_StyledPanel, static_cast<int>( ::QFrame::StyledPanel), 101},
    {sipName_Sunken, static_cast<int>( ::QFrame::Sunken), 100},
    {sipName_VLine, static_cast<int>( ::QFrame::VLine), 101},
    {sipName_WinPanel, static_cast<int>( ::QFrame::WinPanel), 101},
};

PyDoc_STRVAR(doc_QFrame, "\1QFrame(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


static pyqt5ClassPluginDef plugin_QFrame = {
    & ::QFrame::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QFrame = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFrame,
        {0},
        &plugin_QFrame
    },
    {
        sipNameNr_QFrame,
        {0, 0, 1},
        62, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 483764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 483768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static long slot_QAbstractItemView_EditTriggers___hash__(PyObject *);}
static long slot_QAbstractItemView_EditTriggers___hash__(PyObject *sipSelf)
{
     ::QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast< ::QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QAbstractItemView::EditTriggers::Int();
#line 483786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractItemView::EditTriggers::Int() != 0);
#line 483811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractItemView::EditTriggers::Int() != a0->operator QAbstractItemView::EditTriggers::Int());
#line 483841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractItemView::EditTriggers::Int() == a0->operator QAbstractItemView::EditTriggers::Int());
#line 483877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QAbstractItemView::EditTriggers(*sipCpp ^ a0);
#line 483916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___xor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QAbstractItemView::EditTriggers(*sipCpp | a0);
#line 483988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___or__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QAbstractItemView::EditTriggers();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QAbstractItemView::EditTriggers(a0);

            return sipCpp;
        }
    }

    {
        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;
        }
    }

    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 121 "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 484256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAbstractItemView_EditTriggers[] = {
    {(void *)slot_QAbstractItemView_EditTriggers___hash__, hash_slot},
    {(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___ixor__, ixor_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___xor__, xor_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___ior__, ior_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___or__, or_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___iand__, iand_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___and__, and_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___invert__, invert_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QAbstractItemView_EditTriggers, "\1QAbstractItemView.EditTriggers()\n"
    "QAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])\n"
    "QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)");


static pyqt5ClassPluginDef plugin_QAbstractItemView_EditTriggers = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractItemView_EditTriggers = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemView__EditTriggers,
        {0},
        &plugin_QAbstractItemView_EditTriggers
    },
    {
        sipNameNr_EditTriggers,
        {4, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractItemView_EditTriggers,
    -1,
    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,
    0,
    convertTo_QAbstractItemView_EditTriggers,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 484342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 484346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 484352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 484358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 484361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 484364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 484391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 484394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 484397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 484400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 484406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 484409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 484412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 150 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 484415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 484418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 484424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 484427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 484430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 484433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 67 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 484436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 484439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 484442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 484445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 484451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 484463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 484466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 484469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 484472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 484475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 484478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 484481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 484487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 484496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 484499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 484502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 484505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 484508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 484511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 484514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 484517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 484520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 484538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 484541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 484544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 484547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 484550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 484553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 484559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 484562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 484565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 484568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 484571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 484574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 484577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 484580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 484583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 484586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 484589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 484592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 484595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 484598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    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:
     ::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*);
    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 metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractItemView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractItemView);

    return  ::QAbstractItemView::metaObject();
}

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));
}

 ::QStyleOptionViewItem sipQAbstractItemView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::QAbstractItemView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_70(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractItemView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::QAbstractItemView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_69(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::QAbstractItemView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_68(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[3],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::QAbstractItemView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_67(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndexList sipQAbstractItemView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QAbstractItemView::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_66(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRegion sipQAbstractItemView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_QAbstractItemView,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QRegion();

    extern  ::QRegion sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_65(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_QAbstractItemView,sipName_setSelection);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_64(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,sipName_QAbstractItemView,sipName_isIndexHidden);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_63(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractItemView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_QAbstractItemView,sipName_verticalOffset);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractItemView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_QAbstractItemView,sipName_horizontalOffset);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QModelIndex sipQAbstractItemView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_QAbstractItemView,sipName_moveCursor);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_QtWidgets_62(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

void sipQAbstractItemView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QAbstractItemView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::QAbstractItemView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::QAbstractItemView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_60(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QAbstractItemView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QAbstractItemView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QAbstractItemView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QAbstractItemView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_59(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QAbstractItemView::updateGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractItemView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QAbstractItemView::updateEditorGeometries();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractItemView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QAbstractItemView::updateEditorData();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractItemView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::QAbstractItemView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_58(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QAbstractItemView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_57(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QAbstractItemView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[24],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QAbstractItemView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_56(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[25],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::QAbstractItemView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_QtWidgets_55(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractItemView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::QAbstractItemView::selectAll();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractItemView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QAbstractItemView::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtWidgets_54(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QAbstractItemView::reset();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractItemView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::QAbstractItemView::sizeHintForColumn(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractItemView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::QAbstractItemView::sizeHintForRow(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractItemView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,sipName_QAbstractItemView,sipName_indexAt);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_53(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,sipName_QAbstractItemView,sipName_scrollTo);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRect sipQAbstractItemView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,sipName_QAbstractItemView,sipName_visualRect);

    if (!sipMeth)
        return  ::QRect();

    extern  ::QRect sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_51(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QAbstractItemView::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QAbstractItemView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_QtWidgets_49(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::QAbstractItemView::setModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractItemView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractItemView::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractItemView::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractItemView::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractItemView::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QAbstractItemView::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQAbstractItemView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QAbstractItemView::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractItemView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QAbstractItemView::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractItemView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QAbstractItemView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQAbstractItemView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QAbstractItemView::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQAbstractItemView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QAbstractItemView::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractItemView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QAbstractItemView::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QAbstractItemView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractItemView::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QAbstractItemView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QAbstractItemView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QAbstractItemView::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractItemView::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QAbstractItemView::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQAbstractItemView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QAbstractItemView::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractItemView::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QAbstractItemView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQAbstractItemView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QAbstractItemView::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractItemView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QAbstractItemView::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QAbstractItemView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QAbstractItemView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQAbstractItemView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 486841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 486901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QAbstractItemView_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &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_QAbstractItemView, sipName_initStyleOption, doc_QAbstractItemView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QAbstractItemView_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_viewportMargins, doc_QAbstractItemView_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_paintEvent, "paintEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "setModel(self, 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 || sipIsDerivedClass((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, "model(self) -> 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, "setSelectionModel(self, 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 || sipIsDerivedClass((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, "selectionModel(self) -> 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, "setItemDelegate(self, 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, "itemDelegate(self) -> QAbstractItemDelegate\n"
    "itemDelegate(self, 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, "setSelectionMode(self, 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, "selectionMode(self) -> 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, "setSelectionBehavior(self, 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, "selectionBehavior(self) -> 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, "currentIndex(self) -> 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, "rootIndex(self) -> 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, "setEditTriggers(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])");

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, "editTriggers(self) -> 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, "setAutoScroll(self, 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, "hasAutoScroll(self) -> 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, "setTabKeyNavigation(self, 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, "tabKeyNavigation(self) -> 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, "setDropIndicatorShown(self, 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, "showDropIndicator(self) -> 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, "setDragEnabled(self, 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, "dragEnabled(self) -> 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, "setAlternatingRowColors(self, 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, "alternatingRowColors(self) -> 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, "setIconSize(self, 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, "iconSize(self) -> 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, "setTextElideMode(self, 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, "textElideMode(self) -> 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, "keyboardSearch(self, 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 || sipIsDerivedClass((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, "visualRect(self, 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, "scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = 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, "indexAt(self, 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, "sizeHintForIndex(self, 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, "sizeHintForRow(self, 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 || sipIsDerivedClass((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, "sizeHintForColumn(self, 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 || sipIsDerivedClass((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, "openPersistentEditor(self, 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, "closePersistentEditor(self, 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, "setIndexWidget(self, 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 123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 489073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "indexWidget(self, 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, "reset(self)");

extern "C" {static PyObject *meth_QAbstractItemView_reset(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setRootIndex(self, 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 || sipIsDerivedClass((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, "selectAll(self)");

extern "C" {static PyObject *meth_QAbstractItemView_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "edit(self, QModelIndex)\n"
    "edit(self, 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 || sipIsDerivedClass((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, "clearSelection(self)");

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, "setCurrentIndex(self, 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, "scrollToTop(self)");

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, "scrollToBottom(self)");

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, "update(self)\n"
    "update(self, 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, "dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])");

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 || sipIsDerivedClass((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, "rowsInserted(self, 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 || sipIsDerivedClass((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, "rowsAboutToBeRemoved(self, 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 || sipIsDerivedClass((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, "selectionChanged(self, 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 || sipIsDerivedClass((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, "currentChanged(self, 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 || sipIsDerivedClass((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, "updateEditorData(self)");

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 || sipIsDerivedClass((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, "updateEditorGeometries(self)");

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 || sipIsDerivedClass((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, "updateGeometries(self)");

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 || sipIsDerivedClass((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, "verticalScrollbarAction(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarAction(self, 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 || sipIsDerivedClass((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, "verticalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "horizontalScrollbarValueChanged(self, 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 || sipIsDerivedClass((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, "closeEditor(self, 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 || sipIsDerivedClass((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, "commitData(self, 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 || sipIsDerivedClass((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, "editorDestroyed(self, 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 || sipIsDerivedClass((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, "moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) -> 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, "horizontalOffset(self) -> 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, "verticalOffset(self) -> 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, "isIndexHidden(self, 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, "setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

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, "visualRegionForSelection(self, 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, "selectedIndexes(self) -> object");

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 || sipIsDerivedClass((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, "selectionCommand(self, QModelIndex, event: QEvent = 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 || sipIsDerivedClass((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, "startDrag(self, Union[Qt.DropActions, Qt.DropAction])");

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 || sipIsDerivedClass((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, "viewOptions(self) -> 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 || sipIsDerivedClass((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, "state(self) -> 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, "setState(self, 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, "scheduleDelayedItemsLayout(self)");

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, "executeDelayedItemsLayout(self)");

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, "scrollDirtyRegion(self, 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, "setDirtyRegion(self, 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, "dirtyRegionOffset(self) -> 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, "event(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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, "dropIndicatorPosition(self) -> 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, "setVerticalScrollMode(self, 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, "verticalScrollMode(self) -> 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, "setHorizontalScrollMode(self, 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, "horizontalScrollMode(self) -> 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, "setDragDropOverwriteMode(self, 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, "dragDropOverwriteMode(self) -> 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, "setDragDropMode(self, 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, "dragDropMode(self) -> 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, "setItemDelegateForRow(self, 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, "itemDelegateForRow(self, 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, "setItemDelegateForColumn(self, 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, "itemDelegateForColumn(self, 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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

extern "C" {static PyObject *meth_QAbstractItemView_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "setAutoScrollMargin(self, 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, "autoScrollMargin(self) -> 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "viewportSizeHint(self) -> 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 || sipIsDerivedClass((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, "setDefaultDropAction(self, 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, "defaultDropAction(self) -> 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;
}


PyDoc_STRVAR(doc_QAbstractItemView_resetVerticalScrollMode, "resetVerticalScrollMode(self)");

extern "C" {static PyObject *meth_QAbstractItemView_resetVerticalScrollMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_resetVerticalScrollMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->resetVerticalScrollMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_resetVerticalScrollMode, doc_QAbstractItemView_resetVerticalScrollMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_resetHorizontalScrollMode, "resetHorizontalScrollMode(self)");

extern "C" {static PyObject *meth_QAbstractItemView_resetHorizontalScrollMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_resetHorizontalScrollMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->resetHorizontalScrollMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_resetHorizontalScrollMode, doc_QAbstractItemView_resetHorizontalScrollMode);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractItemView(void *, const sipTypeDef *);}
static void *cast_QAbstractItemView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractItemView *sipCpp = reinterpret_cast< ::QAbstractItemView *>(sipCppV);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractItemView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractItemView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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_initStyleOption), (PyCFunction)meth_QAbstractItemView_initStyleOption, 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_resetHorizontalScrollMode), meth_QAbstractItemView_resetHorizontalScrollMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_resetHorizontalScrollMode)},
    {SIP_MLNAME_CAST(sipName_resetVerticalScrollMode), meth_QAbstractItemView_resetVerticalScrollMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_resetVerticalScrollMode)},
    {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_viewportMargins), (PyCFunction)meth_QAbstractItemView_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {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},
};

PyDoc_STRVAR(doc_QAbstractItemView, "\1QAbstractItemView(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractItemView[] = {
    {"iconSizeChanged(QSize)", "\1iconSizeChanged(self, QSize)", 0, 0},
    {"viewportEntered()", "\1viewportEntered(self)", 0, 0},
    {"entered(QModelIndex)", "\1entered(self, QModelIndex)", 0, 0},
    {"activated(QModelIndex)", "\1activated(self, QModelIndex)", 0, 0},
    {"doubleClicked(QModelIndex)", "\1doubleClicked(self, QModelIndex)", 0, 0},
    {"clicked(QModelIndex)", "\1clicked(self, QModelIndex)", 0, 0},
    {"pressed(QModelIndex)", "\1pressed(self, QModelIndex)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractItemView = {
    & ::QAbstractItemView::staticMetaObject,
    0,
    signals_QAbstractItemView,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractItemView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemView,
        {0},
        &plugin_QAbstractItemView
    },
    {
        sipNameNr_QAbstractItemView,
        {0, 0, 1},
        154, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 491847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 491851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 491854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 491857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 491860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 491863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 491866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 491899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 491902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 491905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 491908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 491911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 491914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 491917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 491920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 491923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 491926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 491929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 491932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 491935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 491938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 491941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 491944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 491947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 491950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 491953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 491956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 491959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 491962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 491965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 491968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 491971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 491974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 491977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 491998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 492001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 492004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 492007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 492010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 492013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 492016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 492019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 492022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 492025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 492028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 492031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 492034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 492037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 492040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 492043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 492046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 492049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 492052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 492055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 492058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 492061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 492064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
     ::QSize sipProtectVirt_viewportSizeHint(bool) const;
    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 setupViewport( ::QWidget*);
    void scrollContentsBy(int,int);
    bool viewportEvent( ::QEvent*);
     ::QSize viewportSizeHint() const;
    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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractScrollArea(const sipQAbstractScrollArea &);
    sipQAbstractScrollArea &operator = (const sipQAbstractScrollArea &);

    char sipPyMethods[50];
};

sipQAbstractScrollArea::sipQAbstractScrollArea( ::QWidget*a0):  ::QAbstractScrollArea(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractScrollArea::~sipQAbstractScrollArea()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractScrollArea::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractScrollArea);

    return  ::QAbstractScrollArea::metaObject();
}

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::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractScrollArea::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::QAbstractScrollArea::viewportEvent(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQAbstractScrollArea::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::QAbstractScrollArea::viewportSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractScrollArea::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQAbstractScrollArea::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QAbstractScrollArea::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractScrollArea::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  ::QAbstractScrollArea::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractScrollArea::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QAbstractScrollArea::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractScrollArea::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QAbstractScrollArea::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractScrollArea::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  ::QAbstractScrollArea::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractScrollArea::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  ::QAbstractScrollArea::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQAbstractScrollArea::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QAbstractScrollArea::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQAbstractScrollArea::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QAbstractScrollArea::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractScrollArea::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractScrollArea::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QAbstractScrollArea::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQAbstractScrollArea::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QAbstractScrollArea::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractScrollArea::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  ::QAbstractScrollArea::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractScrollArea::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractScrollArea::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractScrollArea::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractScrollArea::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractScrollArea::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractScrollArea::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(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);
}

 ::QMargins sipQAbstractScrollArea::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

 ::QSize sipQAbstractScrollArea::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QAbstractScrollArea::viewportSizeHint() : viewportSizeHint());
}

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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 493412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 493472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "drawFrame(self, 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_initStyleOption, "initStyleOption(self, QStyleOptionFrame)");

extern "C" {static PyObject *meth_QAbstractScrollArea_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &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_QAbstractScrollArea, sipName_initStyleOption, doc_QAbstractScrollArea_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_verticalScrollBarPolicy, "verticalScrollBarPolicy(self) -> 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, "setVerticalScrollBarPolicy(self, 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, "verticalScrollBar(self) -> 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, "horizontalScrollBarPolicy(self) -> 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, "setHorizontalScrollBarPolicy(self, 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, "horizontalScrollBar(self) -> 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, "viewport(self) -> 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, "maximumViewportSize(self) -> 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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, 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_viewportMargins, "viewportMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QAbstractScrollArea_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_viewportMargins, doc_QAbstractScrollArea_viewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_viewportSizeHint, "viewportSizeHint(self) -> QSize");

extern "C" {static PyObject *meth_QAbstractScrollArea_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &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_QAbstractScrollArea, sipName_viewportSizeHint, doc_QAbstractScrollArea_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_event, "event(self, 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 || sipIsDerivedClass((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, "viewportEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "eventFilter(self, 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 || sipIsDerivedClass((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, "scrollContentsBy(self, 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 || sipIsDerivedClass((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, "setVerticalScrollBar(self, 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, "setHorizontalScrollBar(self, 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, "cornerWidget(self) -> 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, "setCornerWidget(self, 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, "addScrollBarWidget(self, QWidget, Union[Qt.Alignment, Qt.AlignmentFlag])");

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, "scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) -> object");

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, "setViewport(self, 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, "setupViewport(self, 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 || sipIsDerivedClass((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, "sizeAdjustPolicy(self) -> 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, "setSizeAdjustPolicy(self, 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 inheritance hierarchy. */
extern "C" {static void *cast_QAbstractScrollArea(void *, const sipTypeDef *);}
static void *cast_QAbstractScrollArea(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractScrollArea *sipCpp = reinterpret_cast< ::QAbstractScrollArea *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractScrollArea *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractScrollArea(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{99, 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_initStyleOption), (PyCFunction)meth_QAbstractScrollArea_initStyleOption, 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_viewportMargins), (PyCFunction)meth_QAbstractScrollArea_viewportMargins, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_viewportMargins)},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QAbstractScrollArea_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_viewportSizeHint)},
    {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(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QAbstractScrollArea = {
    & ::QAbstractScrollArea::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractScrollArea = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractScrollArea,
        {0},
        &plugin_QAbstractScrollArea
    },
    {
        sipNameNr_QAbstractScrollArea,
        {0, 0, 1},
        74, 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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 495830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 495834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 495837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 495840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 618 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 495843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 495846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 495849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 495852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 495855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 495858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 495861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 495864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 495867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 495870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 495873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 495876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 495879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 495882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 495885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 495888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 495891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 495894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 495897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 495900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 495903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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:
    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;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractItemDelegate::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractItemDelegate);

    return  ::QAbstractItemDelegate::metaObject();
}

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));
}

bool sipQAbstractItemDelegate::helpEvent( ::QHelpEvent*a0, ::QAbstractItemView*a1,const  ::QStyleOptionViewItem& a2,const  ::QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
        return  ::QAbstractItemDelegate::helpEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHelpEvent*, ::QAbstractItemView*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_45(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[1],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return  ::QAbstractItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_44(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[2]),sipPySelf,NULL,sipName_destroyEditor);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::destroyEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_QtWidgets_41(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[3]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_43(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[4]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&);

    sipVH_QtWidgets_42(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[5]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_QtWidgets_41(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[6]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return  ::QAbstractItemDelegate::createEditor(a0,a1,a2);

    extern  ::QWidget* sipVH_QtWidgets_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_40(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[7]),sipPySelf,sipName_QAbstractItemDelegate,sipName_sizeHint);

    if (!sipMeth)
        return  ::QSize();

    extern  ::QSize sipVH_QtWidgets_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_QtWidgets_39(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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[8]),sipPySelf,sipName_QAbstractItemDelegate,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractItemDelegate::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractItemDelegate::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemDelegate::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractItemDelegate::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemDelegate::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractItemDelegate::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 496353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 496413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "paint(self, 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, "sizeHint(self, 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, "createEditor(self, 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 || sipIsDerivedClass((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, "setEditorData(self, 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 || sipIsDerivedClass((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, "setModelData(self, 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 || sipIsDerivedClass((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, "updateEditorGeometry(self, 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 || sipIsDerivedClass((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, "destroyEditor(self, 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 || sipIsDerivedClass((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, "editorEvent(self, 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 || sipIsDerivedClass((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, "helpEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QAbstractItemDelegate(void *, const sipTypeDef *);}
static void *cast_QAbstractItemDelegate(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractItemDelegate *sipCpp = reinterpret_cast< ::QAbstractItemDelegate *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractItemDelegate(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{32, 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},
};

PyDoc_STRVAR(doc_QAbstractItemDelegate, "\1QAbstractItemDelegate(parent: QObject = None)");


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)", "\1sizeHintChanged(self, QModelIndex)", 0, 0},
    {"closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint)", "\1closeEditor(self, QWidget, QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint)", 0, emit_QAbstractItemDelegate_closeEditor},
    {"commitData(QWidget*)", "\1commitData(self, QWidget)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractItemDelegate = {
    & ::QAbstractItemDelegate::staticMetaObject,
    0,
    signals_QAbstractItemDelegate,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractItemDelegate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemDelegate,
        {0},
        &plugin_QAbstractItemDelegate
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 497132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 497136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 497139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 497142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 497154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 497160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 497163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 497166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 497169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 497172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 497175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 497178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 497181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 497184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 497187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 497190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 497193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 497196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 497199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 497202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 497205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 497208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 497211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 497214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 497217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 497220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 497223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 497226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 497229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 497232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 497235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 497277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 497280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 497283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 497286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 497289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 497292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 497295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 497298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 497301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 497304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 497307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 497310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 497313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 497316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 497319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 497322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 497325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 497328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 497331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 497334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 497337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 nextCheckState();
    void checkStateSet();
    bool hitButton(const  ::QPoint&) const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractButton::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractButton);

    return  ::QAbstractButton::metaObject();
}

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::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
         ::QAbstractButton::nextCheckState();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
         ::QAbstractButton::checkStateSet();
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractButton::hitButton(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),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, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractButton::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractButton::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractButton::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractButton::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractButton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractButton::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQAbstractButton::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  ::QAbstractButton::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQAbstractButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QAbstractButton::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QAbstractButton::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QAbstractButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQAbstractButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QAbstractButton::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQAbstractButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QAbstractButton::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQAbstractButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::QAbstractButton::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,sipName_QAbstractButton,sipName_paintEvent);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QAbstractButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractButton::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QAbstractButton::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QAbstractButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QAbstractButton::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractButton::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QAbstractButton::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQAbstractButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QAbstractButton::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractButton::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QAbstractButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 498630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 498690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setAutoRepeatDelay(self, 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, "autoRepeatDelay(self) -> 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, "setAutoRepeatInterval(self, 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, "autoRepeatInterval(self) -> 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, "setText(self, 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, "text(self) -> 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, "setIcon(self, 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, "icon(self) -> 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, "iconSize(self) -> 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, "setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])");

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, "shortcut(self) -> 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, "setCheckable(self, 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, "isCheckable(self) -> 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, "isChecked(self) -> 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, "setDown(self, 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, "isDown(self) -> 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, "setAutoRepeat(self, 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, "autoRepeat(self) -> 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, "setAutoExclusive(self, 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, "autoExclusive(self) -> 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, "group(self) -> 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, "setIconSize(self, 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, "animateClick(self, msecs: int = 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, "click(self)");

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, "toggle(self)");

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, "setChecked(self, 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, "paintEvent(self, 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, "hitButton(self, 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 || sipIsDerivedClass((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, "checkStateSet(self)");

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 || sipIsDerivedClass((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, "nextCheckState(self)");

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 || sipIsDerivedClass((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, "event(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "timerEvent(self, 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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_QAbstractButton(void *, const sipTypeDef *);}
static void *cast_QAbstractButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractButton *sipCpp = reinterpret_cast< ::QAbstractButton *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{457, 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}
};

PyDoc_STRVAR(doc_QAbstractButton, "\1QAbstractButton(parent: QWidget = None)");


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)", "\1toggled(self, bool)", 0, 0},
    {"clicked(bool)", "\1clicked(self, bool = False)", 0, emit_QAbstractButton_clicked},
    {"released()", "\1released(self)", 0, 0},
    {"pressed()", "\1pressed(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractButton = {
    & ::QAbstractButton::staticMetaObject,
    0,
    signals_QAbstractButton,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QAbstractButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractButton,
        {0},
        &plugin_QAbstractButton
    },
    {
        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
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 501084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 501088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 501091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 501094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 501097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 501100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 501103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 501106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 501109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 501112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 501115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 501118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 501121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 501124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 501127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 501130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 501133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 501136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 501139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 501142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 501145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 501148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 501151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 501154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 501157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 501160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 501166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 501217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 501220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 501223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 501226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 501229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 501232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 501235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 501238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 501241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 501244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 501247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 501250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 501253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 501256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 501259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 501262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 501265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 501268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 501271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 501274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 501277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 501280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 501283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 501323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 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 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*);
    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*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWidget);

    return  ::QWidget::metaObject();
}

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::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::QWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipQWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::QWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWidget::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::QWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QWidget::hasHeightForWidth();

    extern bool sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::QWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::QWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::QWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::QWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::QWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWidget::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  ::QWidget::heightForWidth(a0);

    extern int sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::QWidget::sizeHint();

    extern  ::QSize sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::QWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::QWidget::devType();

    extern int sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipQWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::QWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::QWidget::metric(a0);

    extern int sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, 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);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QWidget::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::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, "sender(self) -> 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 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 502547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "receivers(self, PYQT_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 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 502607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "timerEvent(self, 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 || sipIsDerivedClass((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, "childEvent(self, 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 || sipIsDerivedClass((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, "customEvent(self, 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 || sipIsDerivedClass((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, "connectNotify(self, 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 || sipIsDerivedClass((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, "disconnectNotify(self, 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 || sipIsDerivedClass((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, "senderSignalIndex(self) -> 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, "isSignalConnected(self, 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, "devType(self) -> 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 || sipIsDerivedClass((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, "style(self) -> 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, "setStyle(self, 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, "isEnabledTo(self, 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, "setEnabled(self, 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, "setDisabled(self, 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, "setWindowModified(self, 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, "frameGeometry(self) -> 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, "normalGeometry(self) -> 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, "x(self) -> 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, "y(self) -> 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, "pos(self) -> 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, "frameSize(self) -> 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, "childrenRect(self) -> 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, "childrenRegion(self) -> 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, "minimumSize(self) -> 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, "maximumSize(self) -> 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, "setMinimumSize(self, int, int)\n"
    "setMinimumSize(self, 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, "setMaximumSize(self, int, int)\n"
    "setMaximumSize(self, 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, "setMinimumWidth(self, 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, "setMinimumHeight(self, 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, "setMaximumWidth(self, 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, "setMaximumHeight(self, 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, "sizeIncrement(self) -> 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, "setSizeIncrement(self, int, int)\n"
    "setSizeIncrement(self, 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, "baseSize(self) -> 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, "setBaseSize(self, int, int)\n"
    "setBaseSize(self, 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, "setFixedSize(self, QSize)\n"
    "setFixedSize(self, 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, "setFixedWidth(self, 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, "setFixedHeight(self, 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, "mapToGlobal(self, 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, "mapFromGlobal(self, 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, "mapToParent(self, 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, "mapFromParent(self, 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, "mapTo(self, 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, "mapFrom(self, 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, "window(self) -> 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, "palette(self) -> 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, "setPalette(self, 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, "setBackgroundRole(self, 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, "backgroundRole(self) -> 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, "setForegroundRole(self, 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, "foregroundRole(self) -> 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, "setFont(self, 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, "cursor(self) -> 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, "setCursor(self, Union[QCursor, Qt.CursorShape])");

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, "unsetCursor(self)");

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, "setMask(self, QBitmap)\n"
    "setMask(self, 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, "mask(self) -> 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, "clearMask(self)");

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, "setWindowTitle(self, 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, "windowTitle(self) -> 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, "setWindowIcon(self, 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, "windowIcon(self) -> 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, "setWindowIconText(self, 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, "windowIconText(self) -> 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, "setWindowRole(self, 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, "windowRole(self) -> 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, "setWindowOpacity(self, 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, "windowOpacity(self) -> 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, "isWindowModified(self) -> 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, "setToolTip(self, 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, "toolTip(self) -> 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, "setStatusTip(self, 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, "statusTip(self) -> 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, "setWhatsThis(self, 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, "whatsThis(self) -> 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, "accessibleName(self) -> 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, "setAccessibleName(self, 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, "accessibleDescription(self) -> 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, "setAccessibleDescription(self, 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, "setLayoutDirection(self, 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, "layoutDirection(self) -> 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, "unsetLayoutDirection(self)");

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, "isRightToLeft(self) -> 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, "isLeftToRight(self) -> 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, "setFocus(self)\n"
    "setFocus(self, 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, "isActiveWindow(self) -> 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, "activateWindow(self)");

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, "clearFocus(self)");

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, "focusPolicy(self) -> 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, "setFocusPolicy(self, 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, "hasFocus(self) -> 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, "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, "setFocusProxy(self, 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, "focusProxy(self) -> 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, "contextMenuPolicy(self) -> 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, "setContextMenuPolicy(self, 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, "grabMouse(self)\n"
    "grabMouse(self, Union[QCursor, Qt.CursorShape])");

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, "releaseMouse(self)");

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, "grabKeyboard(self)");

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, "releaseKeyboard(self)");

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, "grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = 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, "releaseShortcut(self, 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, "setShortcutEnabled(self, int, enabled: bool = 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, "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, "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, "setUpdatesEnabled(self, 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, "update(self)\n"
    "update(self, QRect)\n"
    "update(self, QRegion)\n"
    "update(self, 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, "repaint(self)\n"
    "repaint(self, int, int, int, int)\n"
    "repaint(self, QRect)\n"
    "repaint(self, 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, "setVisible(self, 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 || sipIsDerivedClass((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, "setHidden(self, 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, "show(self)");

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, "hide(self)");

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, "showMinimized(self)");

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, "showMaximized(self)");

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, "showFullScreen(self)");

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, "showNormal(self)");

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, "close(self) -> 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_, "raise_(self)");

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, "lower(self)");

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, "stackUnder(self, 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, "move(self, QPoint)\n"
    "move(self, 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, "resize(self, QSize)\n"
    "resize(self, 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, "setGeometry(self, QRect)\n"
    "setGeometry(self, 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, "adjustSize(self)");

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, "isVisibleTo(self, 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, "isMinimized(self) -> 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, "isMaximized(self) -> 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, "isFullScreen(self) -> 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, "windowState(self) -> 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, "setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])");

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, "overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])");

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, "sizeHint(self) -> 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 || sipIsDerivedClass((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, "minimumSizeHint(self) -> 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 || sipIsDerivedClass((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, "sizePolicy(self) -> 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, "setSizePolicy(self, QSizePolicy)\n"
    "setSizePolicy(self, 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, "heightForWidth(self, 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 || sipIsDerivedClass((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, "visibleRegion(self) -> 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, "setContentsMargins(self, int, int, int, int)\n"
    "setContentsMargins(self, 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, "getContentsMargins(self) -> Tuple[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, "contentsRect(self) -> 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, "layout(self) -> 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, "setLayout(self, 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 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 506919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "updateGeometry(self)");

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, "setParent(self, QWidget)\n"
    "setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])");

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, "scroll(self, int, int)\n"
    "scroll(self, 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, "focusWidget(self) -> 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, "nextInFocusChain(self) -> 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, "acceptDrops(self) -> 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, "setAcceptDrops(self, 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, "addAction(self, 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, "addActions(self, object)");

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, "insertAction(self, 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, "insertActions(self, QAction, Iterable[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, "removeAction(self, 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, "actions(self) -> List[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, "setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])");

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, "overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])");

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, "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, "childAt(self, QPoint) -> QWidget\n"
    "childAt(self, 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, "setAttribute(self, Qt.WidgetAttribute, on: bool = 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, "paintEngine(self) -> 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 || sipIsDerivedClass((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, "ensurePolished(self)");

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, "isAncestorOf(self, 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, "event(self, 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 || sipIsDerivedClass((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, "mousePressEvent(self, 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 || sipIsDerivedClass((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, "mouseReleaseEvent(self, 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 || sipIsDerivedClass((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, "mouseDoubleClickEvent(self, 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 || sipIsDerivedClass((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, "mouseMoveEvent(self, 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 || sipIsDerivedClass((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, "wheelEvent(self, 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 || sipIsDerivedClass((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, "keyPressEvent(self, 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 || sipIsDerivedClass((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, "keyReleaseEvent(self, 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 || sipIsDerivedClass((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, "focusInEvent(self, 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 || sipIsDerivedClass((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, "focusOutEvent(self, 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 || sipIsDerivedClass((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, "enterEvent(self, 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 || sipIsDerivedClass((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, "leaveEvent(self, 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 || sipIsDerivedClass((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, "paintEvent(self, 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 || sipIsDerivedClass((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, "moveEvent(self, 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 || sipIsDerivedClass((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, "resizeEvent(self, 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 || sipIsDerivedClass((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, "closeEvent(self, 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 || sipIsDerivedClass((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, "contextMenuEvent(self, 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 || sipIsDerivedClass((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, "tabletEvent(self, 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 || sipIsDerivedClass((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, "actionEvent(self, 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 || sipIsDerivedClass((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, "dragEnterEvent(self, 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 || sipIsDerivedClass((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, "dragMoveEvent(self, 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 || sipIsDerivedClass((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, "dragLeaveEvent(self, 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 || sipIsDerivedClass((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, "dropEvent(self, 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 || sipIsDerivedClass((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, "showEvent(self, 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 || sipIsDerivedClass((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, "hideEvent(self, 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 || sipIsDerivedClass((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, "changeEvent(self, 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 || sipIsDerivedClass((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, "metric(self, 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 || sipIsDerivedClass((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, "inputMethodEvent(self, 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 || sipIsDerivedClass((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, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

extern "C" {static PyObject *meth_QWidget_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QWidget_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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, "updateMicroFocus(self)");

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, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = 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, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = 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, "focusNextPrevChild(self, 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 || sipIsDerivedClass((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, "focusNextChild(self) -> 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, "focusPreviousChild(self) -> 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, "windowType(self) -> 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, "windowFlags(self) -> 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, "winId(self) -> 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, "isWindow(self) -> 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, "isEnabled(self) -> 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, "isModal(self) -> 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, "minimumWidth(self) -> 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, "minimumHeight(self) -> 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, "maximumWidth(self) -> 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, "maximumHeight(self) -> 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, "font(self) -> 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, "fontMetrics(self) -> 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, "fontInfo(self) -> 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, "setMouseTracking(self, 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, "hasMouseTracking(self) -> 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, "underMouse(self) -> 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, "updatesEnabled(self) -> 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, "isVisible(self) -> 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, "isHidden(self) -> 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, "rect(self) -> 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, "geometry(self) -> 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, "size(self) -> 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, "width(self) -> 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, "height(self) -> 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, "parentWidget(self) -> 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, "testAttribute(self, 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, "windowModality(self) -> 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, "setWindowModality(self, 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, "autoFillBackground(self) -> 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, "setAutoFillBackground(self, 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, "setStyleSheet(self, 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, "styleSheet(self) -> 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, "setShortcutAutoRepeat(self, int, enabled: bool = 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, "saveGeometry(self) -> 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, "restoreGeometry(self, Union[QByteArray, bytes, bytearray]) -> 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, "render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))\n"
    "render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(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::RenderFlags(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::RenderFlags(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, "setLocale(self, 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, "locale(self) -> 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, "unsetLocale(self)");

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, "effectiveWinId(self) -> 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, "nativeParentWidget(self) -> 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, "setWindowFilePath(self, 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, "windowFilePath(self) -> 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, "graphicsProxyWidget(self) -> 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, "graphicsEffect(self) -> 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, "setGraphicsEffect(self, 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, "grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())");

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();
         ::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, "ungrabGesture(self, 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, "contentsMargins(self) -> 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, "previousInFocusChain(self) -> 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, "inputMethodHints(self) -> 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, "setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])");

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, "hasHeightForWidth(self) -> 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 || sipIsDerivedClass((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, "grab(self, rectangle: QRect = 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, "createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 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 399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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 510259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py3/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, "windowHandle(self) -> 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, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[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 || sipIsDerivedClass((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, "sharedPainter(self) -> 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 || sipIsDerivedClass((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, "initPainter(self, 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 || sipIsDerivedClass((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, "setToolTipDuration(self, 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, "toolTipDuration(self) -> 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;
}


PyDoc_STRVAR(doc_QWidget_setTabletTracking, "setTabletTracking(self, bool)");

extern "C" {static PyObject *meth_QWidget_setTabletTracking(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setTabletTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setTabletTracking(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setTabletTracking, doc_QWidget_setTabletTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_hasTabletTracking, "hasTabletTracking(self) -> bool");

extern "C" {static PyObject *meth_QWidget_hasTabletTracking(PyObject *, PyObject *);}
static PyObject *meth_QWidget_hasTabletTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasTabletTracking();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_hasTabletTracking, doc_QWidget_hasTabletTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowFlag, "setWindowFlag(self, Qt.WindowType, on: bool = True)");

extern "C" {static PyObject *meth_QWidget_setWindowFlag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowFlag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::WindowType 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_WindowType, &a0, &a1))
        {
            sipCpp->setWindowFlag(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowFlag, doc_QWidget_setWindowFlag);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QWidget(void *, const sipTypeDef *);}
static void *cast_QWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QWidget *sipCpp = reinterpret_cast< ::QWidget *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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 = Qt::WindowFlags();
         ::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[] = {{32, 0, 0}, {35, 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_hasTabletTracking), meth_QWidget_hasTabletTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_hasTabletTracking)},
    {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_setTabletTracking), meth_QWidget_setTabletTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setTabletTracking)},
    {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_setWindowFlag), (PyCFunction)meth_QWidget_setWindowFlag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_setWindowFlag)},
    {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), 458},
    {sipName_DrawWindowBackground, static_cast<int>( ::QWidget::DrawWindowBackground), 458},
    {sipName_IgnoreMask, static_cast<int>( ::QWidget::IgnoreMask), 458},
};

PyDoc_STRVAR(doc_QWidget, "\1QWidget(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QWidget[] = {
    {"windowIconTextChanged(QString)", "\1windowIconTextChanged(self, str)", 0, 0},
    {"windowIconChanged(QIcon)", "\1windowIconChanged(self, QIcon)", 0, 0},
    {"windowTitleChanged(QString)", "\1windowTitleChanged(self, str)", 0, 0},
    {"customContextMenuRequested(QPoint)", "\1customContextMenuRequested(self, QPoint)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QWidget = {
    & ::QWidget::staticMetaObject,
    0,
    signals_QWidget,
    0
};


sipClassTypeDef sipTypeDef_QtWidgets_QWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWidget,
        {0},
        &plugin_QWidget
    },
    {
        sipNameNr_QWidget,
        {0, 0, 1},
        263, 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
};
