/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6.
 * 
 * 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 105 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 29 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"

#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 33 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 105 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 36 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 43 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 39 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 422 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 48 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 51 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 54 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 57 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 62 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 65 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 68 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 71 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 74 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 24 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 77 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 80 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 86 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 89 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 58 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 92 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 581 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 95 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 122 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 98 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 101 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 104 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qregion.sip"
#include <qregion.h>
#line 107 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 110 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 113 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 247 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 119 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 122 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 361 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 128 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 131 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 276 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 134 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 206 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 137 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 140 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 472 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 444 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 461 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 149 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 720 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 152 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 789 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 155 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 158 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 161 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 164 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 167 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 170 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 334 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 173 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 754 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 179 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 208 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 182 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 185 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 188 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 191 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qicon.sip"
#include <qicon.h>
#line 194 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 197 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 72 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 200 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 203 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 206 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 209 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 212 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 215 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 218 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 221 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 101 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 224 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 227 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 230 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 233 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 236 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 239 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfont.sip"
#include <qfont.h>
#line 242 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 323 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 245 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 312 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 527 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 251 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 773 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 254 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 290 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 257 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 262 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 708 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 263 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 50 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 266 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 269 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qaction.sip"
#include <qaction.h>
#line 272 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 275 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 278 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 281 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 284 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 287 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 290 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 293 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 91 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 296 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 299 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 304 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 307 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 245 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 310 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 313 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 316 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 319 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 322 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 325 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 328 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"


class sipQTableWidget : public  ::QTableWidget
{
public:
    sipQTableWidget( ::QWidget*);
    sipQTableWidget(int,int, ::QWidget*);
    virtual ~sipQTableWidget();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::Qt::DropActions supportedDropActions() const SIP_OVERRIDE;
    bool dropMimeData(int,int,const  ::QMimeData*, ::Qt::DropAction) SIP_OVERRIDE;
     ::QMimeData* mimeData(const QList< ::QTableWidgetItem*>&) const SIP_OVERRIDE;
     ::QStringList mimeTypes() const SIP_OVERRIDE;
    void initViewItemOption( ::QStyleOptionViewItem*) const SIP_OVERRIDE;
     ::QAbstractItemDelegate* itemDelegateForIndex(const  ::QModelIndex&) const SIP_OVERRIDE;
    void startDrag( ::Qt::DropActions) SIP_OVERRIDE;
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const SIP_OVERRIDE;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*) SIP_OVERRIDE;
     ::QModelIndexList selectedIndexes() const SIP_OVERRIDE;
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const SIP_OVERRIDE;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags) SIP_OVERRIDE;
    bool isIndexHidden(const  ::QModelIndex&) const SIP_OVERRIDE;
    int verticalOffset() const SIP_OVERRIDE;
    int horizontalOffset() const SIP_OVERRIDE;
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers) SIP_OVERRIDE;
    void editorDestroyed( ::QObject*) SIP_OVERRIDE;
    void commitData( ::QWidget*) SIP_OVERRIDE;
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint) SIP_OVERRIDE;
    void horizontalScrollbarValueChanged(int) SIP_OVERRIDE;
    void verticalScrollbarValueChanged(int) SIP_OVERRIDE;
    void horizontalScrollbarAction(int) SIP_OVERRIDE;
    void verticalScrollbarAction(int) SIP_OVERRIDE;
    void updateGeometries() SIP_OVERRIDE;
    void updateEditorGeometries() SIP_OVERRIDE;
    void updateEditorData() SIP_OVERRIDE;
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&) SIP_OVERRIDE;
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&) SIP_OVERRIDE;
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int) SIP_OVERRIDE;
    void rowsInserted(const  ::QModelIndex&,int,int) SIP_OVERRIDE;
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&,const  ::QList<int>&) SIP_OVERRIDE;
    void selectAll() SIP_OVERRIDE;
    void setRootIndex(const  ::QModelIndex&) SIP_OVERRIDE;
    void reset() SIP_OVERRIDE;
    int sizeHintForColumn(int) const SIP_OVERRIDE;
    int sizeHintForRow(int) const SIP_OVERRIDE;
     ::QModelIndex indexAt(const  ::QPoint&) const SIP_OVERRIDE;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint) SIP_OVERRIDE;
     ::QRect visualRect(const  ::QModelIndex&) const SIP_OVERRIDE;
    void keyboardSearch(const  ::QString&) SIP_OVERRIDE;
    void setSelectionModel( ::QItemSelectionModel*) SIP_OVERRIDE;
    void initStyleOption( ::QStyleOptionFrame*) const SIP_OVERRIDE;
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
    int metric( ::QPaintDevice::PaintDeviceMetric) const SIP_OVERRIDE;
     ::QPaintEngine* paintEngine() const SIP_OVERRIDE;
    int devType() const SIP_OVERRIDE;
    void setVisible(bool) SIP_OVERRIDE;
     ::QSize sizeHint() const SIP_OVERRIDE;
     ::QSize minimumSizeHint() const SIP_OVERRIDE;
    int heightForWidth(int) const SIP_OVERRIDE;
    void mousePressEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseReleaseEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseDoubleClickEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseMoveEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void wheelEvent( ::QWheelEvent*) SIP_OVERRIDE;
    void keyPressEvent( ::QKeyEvent*) SIP_OVERRIDE;
    void keyReleaseEvent( ::QKeyEvent*) SIP_OVERRIDE;
    void focusInEvent( ::QFocusEvent*) SIP_OVERRIDE;
    void focusOutEvent( ::QFocusEvent*) SIP_OVERRIDE;
    void enterEvent( ::QEnterEvent*) SIP_OVERRIDE;
    void leaveEvent( ::QEvent*) SIP_OVERRIDE;
    void paintEvent( ::QPaintEvent*) SIP_OVERRIDE;
    void moveEvent( ::QMoveEvent*) SIP_OVERRIDE;
    void resizeEvent( ::QResizeEvent*) SIP_OVERRIDE;
    void closeEvent( ::QCloseEvent*) SIP_OVERRIDE;
    void contextMenuEvent( ::QContextMenuEvent*) SIP_OVERRIDE;
    void tabletEvent( ::QTabletEvent*) SIP_OVERRIDE;
    void actionEvent( ::QActionEvent*) SIP_OVERRIDE;
    void dragEnterEvent( ::QDragEnterEvent*) SIP_OVERRIDE;
    void dragMoveEvent( ::QDragMoveEvent*) SIP_OVERRIDE;
    void dragLeaveEvent( ::QDragLeaveEvent*) SIP_OVERRIDE;
    void dropEvent( ::QDropEvent*) SIP_OVERRIDE;
    void showEvent( ::QShowEvent*) SIP_OVERRIDE;
    void hideEvent( ::QHideEvent*) SIP_OVERRIDE;
    void changeEvent( ::QEvent*) SIP_OVERRIDE;
    void inputMethodEvent( ::QInputMethodEvent*) SIP_OVERRIDE;
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const SIP_OVERRIDE;
    bool focusNextPrevChild(bool) SIP_OVERRIDE;
    bool hasHeightForWidth() const SIP_OVERRIDE;
    bool nativeEvent(const  ::QByteArray&,void*, ::qintptr*) SIP_OVERRIDE;
     ::QPainter* sharedPainter() const SIP_OVERRIDE;
    void initPainter( ::QPainter*) const SIP_OVERRIDE;
     ::QSize viewportSizeHint() const SIP_OVERRIDE;
    bool viewportEvent( ::QEvent*) SIP_OVERRIDE;
    void scrollContentsBy(int,int) SIP_OVERRIDE;
    void setupViewport( ::QWidget*) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[92];
};

sipQTableWidget::sipQTableWidget( ::QWidget*a0):  ::QTableWidget(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidget::sipQTableWidget(int a0,int a1, ::QWidget*a2):  ::QTableWidget(a0,a1,a2), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidget::~sipQTableWidget()
{
    sipInstanceDestroyedEx(&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)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTableWidget,_c,_id,_a);
        SIP_UNBLOCK_THREADS
    }

    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]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QTableWidget::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtWidgets_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_179(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, SIP_NULLPTR, sipName_dropMimeData);

    if (!sipMeth)
        return  ::QTableWidget::dropMimeData(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_208(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_QtWidgets_208(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]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_mimeData);

    if (!sipMeth)
        return  ::QTableWidget::mimeData(a0);

    extern  ::QMimeData* sipVH_QtWidgets_207(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QTableWidgetItem*>&);

    return sipVH_QtWidgets_207(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]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_mimeTypes);

    if (!sipMeth)
        return  ::QTableWidget::mimeTypes();

    extern  ::QStringList sipVH_QtWidgets_176(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipQTableWidget::initViewItemOption( ::QStyleOptionViewItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[4]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_initViewItemOption);

    if (!sipMeth)
    {
         ::QTableWidget::initViewItemOption(a0);
        return;
    }

    extern void sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOptionViewItem*);

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

 ::QAbstractItemDelegate* sipQTableWidget::itemDelegateForIndex(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[5]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_itemDelegateForIndex);

    if (!sipMeth)
        return  ::QTableWidget::itemDelegateForIndex(a0);

    extern  ::QAbstractItemDelegate* sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

void sipQTableWidget::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_startDrag);

    if (!sipMeth)
    {
         ::QTableWidget::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_QtWidgets_71(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[7]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_selectionCommand);

    if (!sipMeth)
        return  ::QTableWidget::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_QtWidgets_70(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[8], &sipPySelf, SIP_NULLPTR, sipName_edit);

    if (!sipMeth)
        return  ::QTableWidget::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_QtWidgets_69(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[9]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_selectedIndexes);

    if (!sipMeth)
        return  ::QTableWidget::selectedIndexes();

    extern  ::QModelIndexList sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_68(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[10]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::QTableWidget::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtWidgets_67(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[11], &sipPySelf, SIP_NULLPTR, sipName_setSelection);

    if (!sipMeth)
    {
         ::QTableWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_66(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[12]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_isIndexHidden);

    if (!sipMeth)
        return  ::QTableWidget::isIndexHidden(a0);

    extern bool sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_65(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[13]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[14]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[15], &sipPySelf, SIP_NULLPTR, sipName_moveCursor);

    if (!sipMeth)
        return  ::QTableWidget::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);

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

void sipQTableWidget::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[16], &sipPySelf, SIP_NULLPTR, sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::QTableWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtWidgets_63(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[17], &sipPySelf, SIP_NULLPTR, sipName_commitData);

    if (!sipMeth)
    {
         ::QTableWidget::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_QtWidgets_49(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[18], &sipPySelf, SIP_NULLPTR, sipName_closeEditor);

    if (!sipMeth)
    {
         ::QTableWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_62(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[19], &sipPySelf, SIP_NULLPTR, sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTableWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

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

    sipVH_QtWidgets_61(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[20], &sipPySelf, SIP_NULLPTR, sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::QTableWidget::verticalScrollbarValueChanged(a0);
        return;
    }

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

    sipVH_QtWidgets_61(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[21], &sipPySelf, SIP_NULLPTR, sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::QTableWidget::horizontalScrollbarAction(a0);
        return;
    }

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

    sipVH_QtWidgets_61(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[22], &sipPySelf, SIP_NULLPTR, sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::QTableWidget::verticalScrollbarAction(a0);
        return;
    }

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

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

void sipQTableWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[23], &sipPySelf, SIP_NULLPTR, sipName_updateGeometries);

    if (!sipMeth)
    {
         ::QTableWidget::updateGeometries();
        return;
    }

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

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

void sipQTableWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[24], &sipPySelf, SIP_NULLPTR, sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::QTableWidget::updateEditorGeometries();
        return;
    }

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

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

void sipQTableWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[25], &sipPySelf, SIP_NULLPTR, sipName_updateEditorData);

    if (!sipMeth)
    {
         ::QTableWidget::updateEditorData();
        return;
    }

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

    sipVH_QtWidgets_38(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[26], &sipPySelf, SIP_NULLPTR, sipName_currentChanged);

    if (!sipMeth)
    {
         ::QTableWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_QtWidgets_60(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[27], &sipPySelf, SIP_NULLPTR, sipName_selectionChanged);

    if (!sipMeth)
    {
         ::QTableWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_QtWidgets_59(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[28], &sipPySelf, SIP_NULLPTR, sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::QTableWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_QtWidgets_58(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[29], &sipPySelf, SIP_NULLPTR, sipName_rowsInserted);

    if (!sipMeth)
    {
         ::QTableWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

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

void sipQTableWidget::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QList<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[30], &sipPySelf, SIP_NULLPTR, sipName_dataChanged);

    if (!sipMeth)
    {
         ::QTableWidget::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QList<int>&);

    sipVH_QtWidgets_57(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[31], &sipPySelf, SIP_NULLPTR, sipName_selectAll);

    if (!sipMeth)
    {
         ::QTableWidget::selectAll();
        return;
    }

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

    sipVH_QtWidgets_38(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[32], &sipPySelf, SIP_NULLPTR, sipName_setRootIndex);

    if (!sipMeth)
    {
         ::QTableWidget::setRootIndex(a0);
        return;
    }

    extern void sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

void sipQTableWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[33], &sipPySelf, SIP_NULLPTR, sipName_reset);

    if (!sipMeth)
    {
         ::QTableWidget::reset();
        return;
    }

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

    sipVH_QtWidgets_38(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[34]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[35]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[36]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_indexAt);

    if (!sipMeth)
        return  ::QTableWidget::indexAt(a0);

    extern  ::QModelIndex sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_QtWidgets_55(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[37], &sipPySelf, SIP_NULLPTR, sipName_scrollTo);

    if (!sipMeth)
    {
         ::QTableWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_54(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[38]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_visualRect);

    if (!sipMeth)
        return  ::QTableWidget::visualRect(a0);

    extern  ::QRect sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtWidgets_53(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[39], &sipPySelf, SIP_NULLPTR, sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::QTableWidget::keyboardSearch(a0);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_QtWidgets_52(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[40], &sipPySelf, SIP_NULLPTR, sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::QTableWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

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

void sipQTableWidget::initStyleOption( ::QStyleOptionFrame*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[41]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_initStyleOption);

    if (!sipMeth)
    {
         ::QTableWidget::initStyleOption(a0);
        return;
    }

    extern void sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOptionFrame*);

    sipVH_QtWidgets_47(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[42], &sipPySelf, SIP_NULLPTR, 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[43], &sipPySelf, SIP_NULLPTR, 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[44], &sipPySelf, SIP_NULLPTR, 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[45], &sipPySelf, SIP_NULLPTR, 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[46], &sipPySelf, SIP_NULLPTR, 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[47], &sipPySelf, SIP_NULLPTR, 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[48], &sipPySelf, SIP_NULLPTR, 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[49]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[50]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[51]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[52], &sipPySelf, SIP_NULLPTR, 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[53]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[54]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[55]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[56], &sipPySelf, SIP_NULLPTR, 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[57], &sipPySelf, SIP_NULLPTR, 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[58], &sipPySelf, SIP_NULLPTR, 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[59], &sipPySelf, SIP_NULLPTR, 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[60], &sipPySelf, SIP_NULLPTR, 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[61], &sipPySelf, SIP_NULLPTR, 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[62], &sipPySelf, SIP_NULLPTR, 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[63], &sipPySelf, SIP_NULLPTR, 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[64], &sipPySelf, SIP_NULLPTR, 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( ::QEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[65], &sipPySelf, SIP_NULLPTR, sipName_enterEvent);

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

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

    sipVH_QtWidgets_16(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[66], &sipPySelf, SIP_NULLPTR, 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[67], &sipPySelf, SIP_NULLPTR, sipName_paintEvent);

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

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

    sipVH_QtWidgets_17(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[68], &sipPySelf, SIP_NULLPTR, sipName_moveEvent);

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

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

    sipVH_QtWidgets_18(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[69], &sipPySelf, SIP_NULLPTR, sipName_resizeEvent);

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

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

    sipVH_QtWidgets_19(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[70], &sipPySelf, SIP_NULLPTR, sipName_closeEvent);

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

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

    sipVH_QtWidgets_20(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[71], &sipPySelf, SIP_NULLPTR, sipName_contextMenuEvent);

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

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

    sipVH_QtWidgets_21(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[72], &sipPySelf, SIP_NULLPTR, sipName_tabletEvent);

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

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

    sipVH_QtWidgets_22(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[73], &sipPySelf, SIP_NULLPTR, sipName_actionEvent);

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

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

    sipVH_QtWidgets_23(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[74], &sipPySelf, SIP_NULLPTR, sipName_dragEnterEvent);

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

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

    sipVH_QtWidgets_24(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[75], &sipPySelf, SIP_NULLPTR, sipName_dragMoveEvent);

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

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

    sipVH_QtWidgets_25(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[76], &sipPySelf, SIP_NULLPTR, sipName_dragLeaveEvent);

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

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

    sipVH_QtWidgets_26(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[77], &sipPySelf, SIP_NULLPTR, sipName_dropEvent);

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

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

    sipVH_QtWidgets_27(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[78], &sipPySelf, SIP_NULLPTR, sipName_showEvent);

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

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

    sipVH_QtWidgets_28(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[79], &sipPySelf, SIP_NULLPTR, sipName_hideEvent);

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

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

    sipVH_QtWidgets_29(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[80], &sipPySelf, SIP_NULLPTR, 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[81], &sipPySelf, SIP_NULLPTR, sipName_inputMethodEvent);

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

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

    sipVH_QtWidgets_30(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[82]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_inputMethodQuery);

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

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

    return sipVH_QtWidgets_31(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[83], &sipPySelf, SIP_NULLPTR, sipName_focusNextPrevChild);

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

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

    return sipVH_QtWidgets_32(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[84]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_hasHeightForWidth);

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

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

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

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

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[85], &sipPySelf, SIP_NULLPTR, sipName_nativeEvent);

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

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

    return sipVH_QtWidgets_34(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[86]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_sharedPainter);

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

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

    return sipVH_QtWidgets_35(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[87]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_initPainter);

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

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

    sipVH_QtWidgets_36(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[88]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, 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[89], &sipPySelf, SIP_NULLPTR, 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[90], &sipPySelf, SIP_NULLPTR, sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::QTableWidget::scrollContentsBy(a0,a1);
        return;
    }

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

    sipVH_QtWidgets_48(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[91], &sipPySelf, SIP_NULLPTR, sipName_setupViewport);

    if (!sipMeth)
    {
         ::QTableWidget::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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


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 = SIP_NULLPTR;

    {
        int a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->setRowCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setRowCount, doc_QTableWidget_setRowCount);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        const  ::QTableWidget *sipCpp;

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

            sipRes = sipCpp->rowCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_rowCount, doc_QTableWidget_rowCount);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->setColumnCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setColumnCount, doc_QTableWidget_setColumnCount);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        const  ::QTableWidget *sipCpp;

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

            sipRes = sipCpp->columnCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_columnCount, doc_QTableWidget_columnCount);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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 PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_row, doc_QTableWidget_row);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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 PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_column, doc_QTableWidget_column);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_item, doc_QTableWidget_item);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setItem, doc_QTableWidget_setItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_takeItem, doc_QTableWidget_takeItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_verticalHeaderItem, doc_QTableWidget_verticalHeaderItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setVerticalHeaderItem, doc_QTableWidget_setVerticalHeaderItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_takeVerticalHeaderItem, doc_QTableWidget_takeVerticalHeaderItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_horizontalHeaderItem, doc_QTableWidget_horizontalHeaderItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setHorizontalHeaderItem, doc_QTableWidget_setHorizontalHeaderItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_takeHorizontalHeaderItem, doc_QTableWidget_takeHorizontalHeaderItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setVerticalHeaderLabels, doc_QTableWidget_setVerticalHeaderLabels);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setHorizontalHeaderLabels, doc_QTableWidget_setHorizontalHeaderLabels);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        const  ::QTableWidget *sipCpp;

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

            sipRes = sipCpp->currentRow();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_currentRow, doc_QTableWidget_currentRow);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        const  ::QTableWidget *sipCpp;

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

            sipRes = sipCpp->currentColumn();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_currentColumn, doc_QTableWidget_currentColumn);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
             ::QTableWidgetItem*sipRes;

            sipRes = sipCpp->currentItem();

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_currentItem, doc_QTableWidget_currentItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_setCurrentItem, "setCurrentItem(self, QTableWidgetItem)\n"
"setCurrentItem(self, QTableWidgetItem, QItemSelectionModel.SelectionFlag)");

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

    {
         ::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_QFlags_0100QItemSelectionModel_SelectionFlag, &a1, &a1State))
        {
            sipCpp->setCurrentItem(a0,*a1);
            sipReleaseType(a1, sipType_QFlags_0100QItemSelectionModel_SelectionFlag, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setCurrentItem, doc_QTableWidget_setCurrentItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_setCurrentCell, "setCurrentCell(self, int, int)\n"
"setCurrentCell(self, int, int, QItemSelectionModel.SelectionFlag)");

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

    {
        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_QFlags_0100QItemSelectionModel_SelectionFlag, &a2, &a2State))
        {
            sipCpp->setCurrentCell(a0,a1,*a2);
            sipReleaseType(a2, sipType_QFlags_0100QItemSelectionModel_SelectionFlag, a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setCurrentCell, doc_QTableWidget_setCurrentCell);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
         ::Qt::SortOrder a1 = Qt::AscendingOrder;
         ::QTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|E", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            sipCpp->sortItems(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_sortItems, doc_QTableWidget_sortItems);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        bool a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->setSortingEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setSortingEnabled, doc_QTableWidget_setSortingEnabled);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        const  ::QTableWidget *sipCpp;

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

            sipRes = sipCpp->isSortingEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_isSortingEnabled, doc_QTableWidget_isSortingEnabled);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_editItem, doc_QTableWidget_editItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_openPersistentEditor, doc_QTableWidget_openPersistentEditor);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_closePersistentEditor, doc_QTableWidget_closePersistentEditor);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_cellWidget, doc_QTableWidget_cellWidget);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
        int a1;
         ::QWidget* a2;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ:", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, sipType_QWidget, &a2))
        {
#line 145 "/build/pyqt6/src/PyQt6-6.3.1/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 2933 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setCellWidget, doc_QTableWidget_setCellWidget);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
        int a1;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
#line 163 "/build/pyqt6/src/PyQt6-6.3.1/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 2976 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQTableWidget.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_removeCellWidget, doc_QTableWidget_removeCellWidget);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setRangeSelected, doc_QTableWidget_setRangeSelected);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_selectedRanges, "selectedRanges(self) -> List[QTableWidgetSelectionRange]");

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

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_selectedRanges, doc_QTableWidget_selectedRanges);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_selectedItems, "selectedItems(self) -> List[QTableWidgetItem]");

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

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_selectedItems, doc_QTableWidget_selectedItems);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_findItems, "findItems(self, str, Qt.MatchFlag) -> List[QTableWidgetItem]");

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

    {
        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_QFlags_0100Qt_MatchFlag, &a1, &a1State))
        {
            QList< ::QTableWidgetItem*>*sipRes;

            sipRes = new QList< ::QTableWidgetItem*>(sipCpp->findItems(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);
            sipReleaseType(a1, sipType_QFlags_0100Qt_MatchFlag, a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTableWidgetItem,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_findItems, doc_QTableWidget_findItems);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->visualRow(a0);

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_visualRow, doc_QTableWidget_visualRow);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->visualColumn(a0);

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_visualColumn, doc_QTableWidget_visualColumn);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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,SIP_NULLPTR);
        }
    }

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_itemAt, doc_QTableWidget_itemAt);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_visualItemRect, doc_QTableWidget_visualItemRect);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        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,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_itemPrototype, doc_QTableWidget_itemPrototype);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

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

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setItemPrototype, doc_QTableWidget_setItemPrototype);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        const  ::QTableWidgetItem* a0;
         ::QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
         ::QTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8|E", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            sipCpp->scrollToItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_scrollToItem, doc_QTableWidget_scrollToItem);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->insertRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_insertRow, doc_QTableWidget_insertRow);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->insertColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_insertColumn, doc_QTableWidget_insertColumn);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->removeRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_removeRow, doc_QTableWidget_removeRow);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
        int a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->removeColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_removeColumn, doc_QTableWidget_removeColumn);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_clear, doc_QTableWidget_clear);

    return SIP_NULLPTR;
}


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 = SIP_NULLPTR;

    {
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->clearContents();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_clearContents, doc_QTableWidget_clearContents);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_mimeTypes, "mimeTypes(self) -> List[str]");

extern "C" {static PyObject *meth_QTableWidget_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTableWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::QTableWidget::mimeTypes() : sipCpp->mimeTypes()));

            return sipConvertFromNewType(sipRes,sipType_QStringList,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mimeTypes, doc_QTableWidget_mimeTypes);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_mimeData, "mimeData(self, Iterable[QTableWidgetItem]) -> QMimeData");

extern "C" {static PyObject *meth_QTableWidget_mimeData(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTableWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const QList< ::QTableWidgetItem*>* a0;
        int a0State = 0;
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QList_0101QTableWidgetItem, &a0, &a0State))
        {
             ::QMimeData*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QTableWidget::mimeData(*a0) : sipCpp->mimeData(*a0));
            sipReleaseType(const_cast<QList< ::QTableWidgetItem*> *>(a0), sipType_QList_0101QTableWidgetItem, a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mimeData, doc_QTableWidget_mimeData);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_dropMimeData, "dropMimeData(self, int, int, QMimeData, Qt.DropAction) -> bool");

extern "C" {static PyObject *meth_QTableWidget_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTableWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QMimeData* a2;
         ::Qt::DropAction a3;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "piiJ8E", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, sipType_QMimeData, &a2, sipType_Qt_DropAction, &a3))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QTableWidget::dropMimeData(a0,a1,a2,a3) : sipCpp->dropMimeData(a0,a1,a2,a3));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dropMimeData, doc_QTableWidget_dropMimeData);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_supportedDropActions, "supportedDropActions(self) -> Qt.DropAction");

extern "C" {static PyObject *meth_QTableWidget_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTableWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::QTableWidget::supportedDropActions() : sipCpp->supportedDropActions()));

            return sipConvertFromNewType(sipRes,sipType_QFlags_0100Qt_DropAction,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_supportedDropActions, doc_QTableWidget_supportedDropActions);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_items, "items(self, QMimeData) -> List[QTableWidgetItem]");

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

    {
        const  ::QMimeData* a0;
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMimeData, &a0))
        {
            QList< ::QTableWidgetItem*>*sipRes;

            sipRes = new QList< ::QTableWidgetItem*>(sipCpp->items(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTableWidgetItem,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_items, doc_QTableWidget_items);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_indexFromItem, "indexFromItem(self, QTableWidgetItem) -> QModelIndex");

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

    {
        const  ::QTableWidgetItem* a0;
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->indexFromItem(a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_indexFromItem, doc_QTableWidget_indexFromItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_itemFromIndex, "itemFromIndex(self, QModelIndex) -> QTableWidgetItem");

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

    {
        const  ::QModelIndex* a0;
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QTableWidgetItem*sipRes;

            sipRes = sipCpp->itemFromIndex(*a0);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_itemFromIndex, doc_QTableWidget_itemFromIndex);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QTableWidget_event(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTableWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QTableWidget::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_event, doc_QTableWidget_event);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_dropEvent, "dropEvent(self, QDropEvent)");

extern "C" {static PyObject *meth_QTableWidget_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTableWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
         ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QTableWidget::dropEvent(a0) : sipCpp->dropEvent(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dropEvent, doc_QTableWidget_dropEvent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QTableWidget_isPersistentEditorOpen, "isPersistentEditorOpen(self, QTableWidgetItem) -> bool");

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

    {
         ::QTableWidgetItem* a0;
        const  ::QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isPersistentEditorOpen(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_isPersistentEditorOpen, doc_QTableWidget_isPersistentEditorOpen);

    return SIP_NULLPTR;
}


extern "C" {static PyObject *meth_QTableWidget_setModel(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setModel(PyObject *, PyObject *)
{

    sipNoMethod(SIP_NULLPTR, sipName_QTableWidget, sipName_setModel, SIP_NULLPTR);

    return SIP_NULLPTR;
}


/* 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_QTableWidget)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QTableView)->ctd_cast(static_cast< ::QTableView *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


/* 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 *array_QTableWidget(Py_ssize_t);}
static void *array_QTableWidget(Py_ssize_t sipNrElem)
{
    return new  ::QTableWidget[sipNrElem];
}


extern "C" {static void array_delete_QTableWidget(void *);}
static void array_delete_QTableWidget(void *sipCpp)
{
    delete[] reinterpret_cast< ::QTableWidget *>(sipCpp);
}


extern "C" {static void dealloc_QTableWidget(sipSimpleWrapper *);}
static void dealloc_QTableWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTableWidget *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    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 = SIP_NULLPTR;

    {
         ::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[] = {
            SIP_NULLPTR,
            SIP_NULLPTR,
            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 SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTableWidget[] = {{410, 255, 1}};


static PyMethodDef methods_QTableWidget[] = {
    {sipName_cellWidget, meth_QTableWidget_cellWidget, METH_VARARGS, doc_QTableWidget_cellWidget},
    {sipName_clear, meth_QTableWidget_clear, METH_VARARGS, doc_QTableWidget_clear},
    {sipName_clearContents, meth_QTableWidget_clearContents, METH_VARARGS, doc_QTableWidget_clearContents},
    {sipName_closePersistentEditor, meth_QTableWidget_closePersistentEditor, METH_VARARGS, doc_QTableWidget_closePersistentEditor},
    {sipName_column, meth_QTableWidget_column, METH_VARARGS, doc_QTableWidget_column},
    {sipName_columnCount, meth_QTableWidget_columnCount, METH_VARARGS, doc_QTableWidget_columnCount},
    {sipName_currentColumn, meth_QTableWidget_currentColumn, METH_VARARGS, doc_QTableWidget_currentColumn},
    {sipName_currentItem, meth_QTableWidget_currentItem, METH_VARARGS, doc_QTableWidget_currentItem},
    {sipName_currentRow, meth_QTableWidget_currentRow, METH_VARARGS, doc_QTableWidget_currentRow},
    {sipName_dropEvent, meth_QTableWidget_dropEvent, METH_VARARGS, doc_QTableWidget_dropEvent},
    {sipName_dropMimeData, meth_QTableWidget_dropMimeData, METH_VARARGS, doc_QTableWidget_dropMimeData},
    {sipName_editItem, meth_QTableWidget_editItem, METH_VARARGS, doc_QTableWidget_editItem},
    {sipName_event, meth_QTableWidget_event, METH_VARARGS, doc_QTableWidget_event},
    {sipName_findItems, meth_QTableWidget_findItems, METH_VARARGS, doc_QTableWidget_findItems},
    {sipName_horizontalHeaderItem, meth_QTableWidget_horizontalHeaderItem, METH_VARARGS, doc_QTableWidget_horizontalHeaderItem},
    {sipName_indexFromItem, meth_QTableWidget_indexFromItem, METH_VARARGS, doc_QTableWidget_indexFromItem},
    {sipName_insertColumn, meth_QTableWidget_insertColumn, METH_VARARGS, doc_QTableWidget_insertColumn},
    {sipName_insertRow, meth_QTableWidget_insertRow, METH_VARARGS, doc_QTableWidget_insertRow},
    {sipName_isPersistentEditorOpen, meth_QTableWidget_isPersistentEditorOpen, METH_VARARGS, doc_QTableWidget_isPersistentEditorOpen},
    {sipName_isSortingEnabled, meth_QTableWidget_isSortingEnabled, METH_VARARGS, doc_QTableWidget_isSortingEnabled},
    {sipName_item, meth_QTableWidget_item, METH_VARARGS, doc_QTableWidget_item},
    {sipName_itemAt, meth_QTableWidget_itemAt, METH_VARARGS, doc_QTableWidget_itemAt},
    {sipName_itemFromIndex, meth_QTableWidget_itemFromIndex, METH_VARARGS, doc_QTableWidget_itemFromIndex},
    {sipName_itemPrototype, meth_QTableWidget_itemPrototype, METH_VARARGS, doc_QTableWidget_itemPrototype},
    {sipName_items, meth_QTableWidget_items, METH_VARARGS, doc_QTableWidget_items},
    {sipName_mimeData, meth_QTableWidget_mimeData, METH_VARARGS, doc_QTableWidget_mimeData},
    {sipName_mimeTypes, meth_QTableWidget_mimeTypes, METH_VARARGS, doc_QTableWidget_mimeTypes},
    {sipName_openPersistentEditor, meth_QTableWidget_openPersistentEditor, METH_VARARGS, doc_QTableWidget_openPersistentEditor},
    {sipName_removeCellWidget, meth_QTableWidget_removeCellWidget, METH_VARARGS, doc_QTableWidget_removeCellWidget},
    {sipName_removeColumn, meth_QTableWidget_removeColumn, METH_VARARGS, doc_QTableWidget_removeColumn},
    {sipName_removeRow, meth_QTableWidget_removeRow, METH_VARARGS, doc_QTableWidget_removeRow},
    {sipName_row, meth_QTableWidget_row, METH_VARARGS, doc_QTableWidget_row},
    {sipName_rowCount, meth_QTableWidget_rowCount, METH_VARARGS, doc_QTableWidget_rowCount},
    {sipName_scrollToItem, SIP_MLMETH_CAST(meth_QTableWidget_scrollToItem), METH_VARARGS|METH_KEYWORDS, doc_QTableWidget_scrollToItem},
    {sipName_selectedItems, meth_QTableWidget_selectedItems, METH_VARARGS, doc_QTableWidget_selectedItems},
    {sipName_selectedRanges, meth_QTableWidget_selectedRanges, METH_VARARGS, doc_QTableWidget_selectedRanges},
    {sipName_setCellWidget, meth_QTableWidget_setCellWidget, METH_VARARGS, doc_QTableWidget_setCellWidget},
    {sipName_setColumnCount, meth_QTableWidget_setColumnCount, METH_VARARGS, doc_QTableWidget_setColumnCount},
    {sipName_setCurrentCell, meth_QTableWidget_setCurrentCell, METH_VARARGS, doc_QTableWidget_setCurrentCell},
    {sipName_setCurrentItem, meth_QTableWidget_setCurrentItem, METH_VARARGS, doc_QTableWidget_setCurrentItem},
    {sipName_setHorizontalHeaderItem, meth_QTableWidget_setHorizontalHeaderItem, METH_VARARGS, doc_QTableWidget_setHorizontalHeaderItem},
    {sipName_setHorizontalHeaderLabels, meth_QTableWidget_setHorizontalHeaderLabels, METH_VARARGS, doc_QTableWidget_setHorizontalHeaderLabels},
    {sipName_setItem, meth_QTableWidget_setItem, METH_VARARGS, doc_QTableWidget_setItem},
    {sipName_setItemPrototype, meth_QTableWidget_setItemPrototype, METH_VARARGS, doc_QTableWidget_setItemPrototype},
    {sipName_setModel, meth_QTableWidget_setModel, METH_VARARGS, SIP_NULLPTR},
    {sipName_setRangeSelected, meth_QTableWidget_setRangeSelected, METH_VARARGS, doc_QTableWidget_setRangeSelected},
    {sipName_setRowCount, meth_QTableWidget_setRowCount, METH_VARARGS, doc_QTableWidget_setRowCount},
    {sipName_setSortingEnabled, meth_QTableWidget_setSortingEnabled, METH_VARARGS, doc_QTableWidget_setSortingEnabled},
    {sipName_setVerticalHeaderItem, meth_QTableWidget_setVerticalHeaderItem, METH_VARARGS, doc_QTableWidget_setVerticalHeaderItem},
    {sipName_setVerticalHeaderLabels, meth_QTableWidget_setVerticalHeaderLabels, METH_VARARGS, doc_QTableWidget_setVerticalHeaderLabels},
    {sipName_sortItems, SIP_MLMETH_CAST(meth_QTableWidget_sortItems), METH_VARARGS|METH_KEYWORDS, doc_QTableWidget_sortItems},
    {sipName_supportedDropActions, meth_QTableWidget_supportedDropActions, METH_VARARGS, doc_QTableWidget_supportedDropActions},
    {sipName_takeHorizontalHeaderItem, meth_QTableWidget_takeHorizontalHeaderItem, METH_VARARGS, doc_QTableWidget_takeHorizontalHeaderItem},
    {sipName_takeItem, meth_QTableWidget_takeItem, METH_VARARGS, doc_QTableWidget_takeItem},
    {sipName_takeVerticalHeaderItem, meth_QTableWidget_takeVerticalHeaderItem, METH_VARARGS, doc_QTableWidget_takeVerticalHeaderItem},
    {sipName_verticalHeaderItem, meth_QTableWidget_verticalHeaderItem, METH_VARARGS, doc_QTableWidget_verticalHeaderItem},
    {sipName_visualColumn, meth_QTableWidget_visualColumn, METH_VARARGS, doc_QTableWidget_visualColumn},
    {sipName_visualItemRect, meth_QTableWidget_visualItemRect, METH_VARARGS, doc_QTableWidget_visualItemRect},
    {sipName_visualRow, meth_QTableWidget_visualRow, METH_VARARGS, doc_QTableWidget_visualRow}
};

PyDoc_STRVAR(doc_QTableWidget, "\1QTableWidget(parent: QWidget = None)\n"
"QTableWidget(int, int, parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QTableWidget[] = {
    {"currentCellChanged(int,int,int,int)", "\1currentCellChanged(self, int, int, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"cellChanged(int,int)", "\1cellChanged(self, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"cellEntered(int,int)", "\1cellEntered(self, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"cellActivated(int,int)", "\1cellActivated(self, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"cellDoubleClicked(int,int)", "\1cellDoubleClicked(self, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"cellClicked(int,int)", "\1cellClicked(self, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"cellPressed(int,int)", "\1cellPressed(self, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"itemSelectionChanged()", "\1itemSelectionChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"currentItemChanged(QTableWidgetItem*,QTableWidgetItem*)", "\1currentItemChanged(self, QTableWidgetItem, QTableWidgetItem)", SIP_NULLPTR, SIP_NULLPTR},
    {"itemChanged(QTableWidgetItem*)", "\1itemChanged(self, QTableWidgetItem)", SIP_NULLPTR, SIP_NULLPTR},
    {"itemEntered(QTableWidgetItem*)", "\1itemEntered(self, QTableWidgetItem)", SIP_NULLPTR, SIP_NULLPTR},
    {"itemActivated(QTableWidgetItem*)", "\1itemActivated(self, QTableWidgetItem)", SIP_NULLPTR, SIP_NULLPTR},
    {"itemDoubleClicked(QTableWidgetItem*)", "\1itemDoubleClicked(self, QTableWidgetItem)", SIP_NULLPTR, SIP_NULLPTR},
    {"itemClicked(QTableWidgetItem*)", "\1itemClicked(self, QTableWidgetItem)", SIP_NULLPTR, SIP_NULLPTR},
    {"itemPressed(QTableWidgetItem*)", "\1itemPressed(self, QTableWidgetItem)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QTableWidget = {
    & ::QTableWidget::staticMetaObject,
    signals_QTableWidget,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWidgets_QTableWidget = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTableWidget,
        SIP_NULLPTR,
        &plugin_QTableWidget
    },
    {
        sipNameNr_QTableWidget,
        {0, 0, 1},
        59, methods_QTableWidget,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QTableWidget,
    -1,
    -1,
    supers_QTableWidget,
    SIP_NULLPTR,
    init_type_QTableWidget,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QTableWidget,
    SIP_NULLPTR,
    array_QTableWidget,
    SIP_NULLPTR,
    release_QTableWidget,
    cast_QTableWidget,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QTableWidget,
    sizeof ( ::QTableWidget),
};
