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

#include "sipAPIQtQuick.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 64 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 73 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 76 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 79 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 85 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 90 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 99 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 714 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 238 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 783 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurface.sip"
#include <qsurface.h>
#line 205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_QtQuick[] = {
    'Q', 'S', 'G', 'S', 'i', 'm', 'p', 'l', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'N', 'o', 'd', 'e', ':', ':', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 'G', 'S', 'i', 'm', 'p', 'l', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'N', 'o', 'd', 'e', ':', ':', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 'G', 'I', 'm', 'a', 'g', 'e', 'N', 'o', 'd', 'e', ':', ':', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 'G', 'I', 'm', 'a', 'g', 'e', 'N', 'o', 'd', 'e', ':', ':', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'S', 'h', 'a', 'd', 'e', 'r', 'C', 'o', 'm', 'p', 'i', 'l', 'a', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 's', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'S', 'h', 'a', 'd', 'e', 'r', 'C', 'o', 'm', 'p', 'i', 'l', 'a', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 'S', 'h', 'a', 'd', 'e', 'r', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'S', 't', 'a', 't', 'e', ':', ':', 'D', 'i', 'r', 't', 'y', 'S', 't', 'a', 't', 'e', 's', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 'S', 'h', 'a', 'd', 'e', 'r', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'S', 't', 'a', 't', 'e', ':', ':', 'D', 'i', 'r', 't', 'y', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'S', 'h', 'a', 'd', 'e', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 'T', 'y', 'p', 'e', 's', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'S', 'h', 'a', 'd', 'e', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'P', 'a', 'i', 'n', 't', 'e', 'd', 'I', 't', 'e', 'm', ':', ':', 'P', 'e', 'r', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', 'H', 'i', 'n', 't', 's', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'C', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'P', 'a', 'i', 'n', 't', 'e', 'd', 'I', 't', 'e', 'm', ':', ':', 'P', 'e', 'r', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', 'H', 'i', 'n', 't', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'A', 'p', 'i', 0,
    'R', 'e', 'q', 'u', 'i', 'r', 'e', 's', 'F', 'u', 'l', 'l', 'M', 'a', 't', 'r', 'i', 'x', 'E', 'x', 'c', 'e', 'p', 't', 'T', 'r', 'a', 'n', 's', 'l', 'a', 't', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', '_', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'd', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'Q', 'S', 'G', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', ':', ':', 'C', 'l', 'e', 'a', 'r', 'M', 'o', 'd', 'e', 'B', 'i', 't', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'C', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'F', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'S', 'h', 'a', 'd', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', '_', 'C', 'o', 'l', 'o', 'r', 'e', 'd', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'Q', 'S', 'G', 'E', 'n', 'g', 'i', 'n', 'e', ':', ':', 'C', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'P', 'a', 'i', 'n', 't', 'e', 'd', 'I', 't', 'e', 'm', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'T', 'a', 'r', 'g', 'e', 't', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', ':', ':', 'U', 'p', 'd', 'a', 't', 'e', 'P', 'a', 'i', 'n', 't', 'N', 'o', 'd', 'e', 'D', 'a', 't', 'a', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 'S', 'h', 'a', 'd', 'e', 'r', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'Q', 'S', 'G', 'E', 'n', 'g', 'i', 'n', 'e', ':', ':', 'C', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 'G', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', ':', ':', 'C', 'l', 'e', 'a', 'r', 'M', 'o', 'd', 'e', 0,
    'I', 't', 'e', 'm', 'D', 'e', 'v', 'i', 'c', 'e', 'P', 'i', 'x', 'e', 'l', 'R', 'a', 't', 'i', 'o', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'o', 'n', 'v', 'e', 'r', 't', 'T', 'o', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'd', 'S', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'c', 't', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'N', 'o', 'd', 'e', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'S', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'E', 'r', 'r', 'o', 'r', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'o', 'l', 'l', 'o', 'w', 's', 'I', 't', 'e', 'm', 'S', 'i', 'z', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'N', 'o', 'd', 'e', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'd', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'Q', 'S', 'G', 'T', 'e', 'x', 't', 'u', 'r', 'e', ':', ':', 'A', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', 'L', 'e', 'v', 'e', 'l', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'v', 'e', 'r', 't', 'e', 'x', 'D', 'a', 't', 'a', 'A', 's', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'd', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'C', 'o', 'l', 'o', 'r', 'e', 'd', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', ':', ':', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'O', 'r', 'i', 'g', 'i', 'n', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'F', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'N', 'o', 'd', 'e', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'T', 'y', 'p', 'e', 0,
    'v', 'e', 'r', 't', 'e', 'x', 'D', 'a', 't', 'a', 'A', 's', 'C', 'o', 'l', 'o', 'r', 'e', 'd', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'd', 'R', 'e', 'c', 't', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'e', 't', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'O', 'p', 'e', 'n', 'G', 'L', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'I', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'Y', 'F', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 's', 'C', 'h', 'i', 'l', 'd', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 's', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', ':', ':', 'I', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 'D', 'a', 't', 'a', 0,
    'I', 't', 'e', 'm', 'A', 'n', 't', 'i', 'a', 'l', 'i', 'a', 's', 'i', 'n', 'g', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'N', 'o', 'd', 'e', ':', ':', 'S', 't', 'a', 't', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'i', 's', 'C', 'a', 'c', 'h', 'e', 'd', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 'D', 'a', 't', 'a', 'D', 'i', 'r', 't', 'y', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'C', 'o', 'l', 'o', 'r', 'e', 'd', 'R', 'e', 'c', 't', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', '_', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'S', 'e', 't', 0,
    's', 'e', 't', 'P', 'r', 'o', 'j', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 't', 'r', 'i', 'x', 'T', 'o', 'R', 'e', 'c', 't', 0,
    'e', 'f', 'f', 'e', 'c', 't', 'i', 'v', 'e', 'D', 'e', 'v', 'i', 'c', 'e', 'P', 'i', 'x', 'e', 'l', 'R', 'a', 't', 'i', 'o', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'S', 't', 'a', 'g', 'e', 0,
    'i', 's', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'O', 'p', 'e', 'n', 'G', 'L', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'I', 't', 'e', 'm', 'A', 'c', 't', 'i', 'v', 'e', 'F', 'o', 'c', 'u', 's', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'o', 'l', 'l', 'o', 'w', 's', 'I', 't', 'e', 'm', 'S', 'i', 'z', 'e', 0,
    'Q', 'S', 'G', 'O', 'p', 'a', 'q', 'u', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'd', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'S', 'u', 'b', 'R', 'e', 'c', 't', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'N', 'o', 'd', 'e', ':', ':', 'S', 't', 'a', 't', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'D', 'r', 'a', 'w', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'D', 'a', 't', 'a', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'B', 'e', 'f', 'o', 'r', 'e', 'S', 'y', 'n', 'c', 'h', 'r', 'o', 'n', 'i', 'z', 'i', 'n', 'g', 'S', 't', 'a', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'C', 'l', 'i', 'p', 's', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'T', 'o', 'S', 'h', 'a', 'p', 'e', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'A', 's', 'y', 'n', 'c', 'I', 'm', 'a', 'g', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    'D', 'i', 'r', 't', 'y', 'C', 'a', 'c', 'h', 'e', 'd', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 'D', 'a', 't', 'a', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'W', 'i', 't', 'h', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'T', 'y', 'p', 'e', 0,
    'i', 's', 'S', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'I', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'd', 0,
    'A', 'f', 't', 'e', 'r', 'S', 'y', 'n', 'c', 'h', 'r', 'o', 'n', 'i', 'z', 'i', 'n', 'g', 'S', 't', 'a', 'g', 'e', 0,
    's', 'e', 't', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'S', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 0,
    's', 'e', 't', 'C', 'l', 'e', 'a', 'r', 'B', 'e', 'f', 'o', 'r', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 'C', 'h', 'i', 'l', 'd', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'e', 'd', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'm', 'i', 'r', 'r', 'o', 'r', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'l', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'F', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'F', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'S', 'G', 'V', 'e', 'r', 't', 'e', 'x', 'C', 'o', 'l', 'o', 'r', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'S', 'h', 'a', 'd', 'i', 'n', 'g', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'Q', 'S', 'G', 'N', 'o', 'd', 'e', ':', ':', 'D', 'i', 'r', 't', 'y', 'S', 't', 'a', 't', 'e', 'B', 'i', 't', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'F', 'o', 'c', 'u', 's', 'I', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'S', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'r', 'o', 'm', 'I', 'm', 'a', 'g', 'e', 0,
    'T', 'e', 'x', 't', 'u', 'r', 'e', 'H', 'a', 's', 'A', 'l', 'p', 'h', 'a', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'V', 'i', 'e', 'w', ':', ':', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    'I', 't', 'e', 'm', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'C', 'h', 'i', 'l', 'd', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', ':', ':', 'I', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'A', 'c', 'c', 'e', 'p', 't', 's', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'a', 'c', 't', 'o', 'r', 'y', 'F', 'o', 'r', 'I', 'm', 'a', 'g', 'e', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'o', 'l', 'l', 'o', 'w', 's', 'I', 't', 'e', 'm', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 'G', 'T', 'e', 'x', 't', 'u', 'r', 'e', ':', ':', 'F', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 0,
    's', 'h', 'a', 'd', 'e', 'r', 'C', 'o', 'm', 'p', 'i', 'l', 'a', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'i', 'n', 's', 'e', 'r', 't', 'C', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 'B', 'e', 'f', 'o', 'r', 'e', 0,
    's', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'S', 't', 'o', 'p', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'l', 'p', 'h', 'a', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    'h', 'a', 's', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'l', 'p', 'h', 'a', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    's', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'd', 0,
    's', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'I', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'I', 't', 'e', 'm', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'o', 'u', 's', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'S', 'G', 'T', 'e', 'x', 't', 'u', 'r', 'e', ':', ':', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 'G', 'S', 'i', 'm', 'p', 'l', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'N', 'o', 'd', 'e', 0,
    'B', 'o', 'u', 'n', 'd', 'e', 'd', 'R', 'e', 'c', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 0,
    'C', 'o', 'm', 'm', 'a', 'n', 'd', 'Q', 'u', 'e', 'u', 'e', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'Q', 'S', 'G', 'B', 'a', 's', 'i', 'c', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'N', 'o', 'd', 'e', 0,
    'i', 'n', 's', 'e', 'r', 't', 'C', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 'A', 'f', 't', 'e', 'r', 0,
    's', 'e', 't', 'S', 'h', 'a', 'd', 'e', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 'F', 'i', 'l', 'e', 's', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'e', 'x', 'D', 'a', 't', 'a', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'Q', 'S', 'G', 'F', 'l', 'a', 't', 'C', 'o', 'l', 'o', 'r', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    's', 'e', 't', 'S', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'B', 'a', 'c', 'k', 'e', 'n', 'd', 0,
    'B', 'e', 'f', 'o', 'r', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'S', 't', 'a', 'g', 'e', 0,
    'o', 'p', 'e', 'n', 'g', 'l', 'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'r', 'e', 'a', 't', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'r', 'B', 'e', 'f', 'o', 'r', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 0,
    'T', 'e', 'x', 't', 'u', 'r', 'e', 'O', 'w', 'n', 's', 'G', 'L', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'S', 'i', 'z', 'e', 'R', 'o', 'o', 't', 'O', 'b', 'j', 'e', 'c', 't', 'T', 'o', 'V', 'i', 'e', 'w', 0,
    'S', 'i', 'z', 'e', 'V', 'i', 'e', 'w', 'T', 'o', 'R', 'o', 'o', 't', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'S', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', 'G', 'r', 'a', 'b', 'R', 'e', 's', 'u', 'l', 't', 0,
    'n', 'e', 'x', 't', 'I', 't', 'e', 'm', 'I', 'n', 'F', 'o', 'c', 'u', 's', 'C', 'h', 'a', 'i', 'n', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'H', 'o', 'v', 'e', 'r', 'E', 'v', 'e', 'n', 't', 's', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'e', 'd', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'I', 't', 'e', 'm', 'P', 'a', 'r', 'e', 'n', 't', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'C', 'h', 'i', 'l', 'd', 'A', 'd', 'd', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'I', 'm', 'a', 'g', 'e', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    'i', 'n', 'c', 'u', 'b', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'l', 'e', 'r', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'D', 'e', 'p', 't', 'h', 'A', 'w', 'a', 'r', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 0,
    'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 's', 't', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 'C', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 's', 0,
    'Q', 'S', 'G', 'N', 'o', 'd', 'e', ':', ':', 'D', 'i', 'r', 't', 'y', 'S', 't', 'a', 't', 'e', 0,
    'R', 'e', 'q', 'u', 'i', 'r', 'e', 's', 'D', 'e', 't', 'e', 'r', 'm', 'i', 'n', 'a', 'n', 't', 0,
    's', 'e', 't', 'S', 'h', 'a', 'd', 'e', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 'F', 'i', 'l', 'e', 0,
    'v', 'e', 'r', 't', 'e', 'x', 'D', 'a', 't', 'a', 'A', 's', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'm', 'a', 'r', 'k', 'V', 'e', 'r', 't', 'e', 'x', 'D', 'a', 't', 'a', 'D', 'i', 'r', 't', 'y', 0,
    's', 'e', 't', 'I', 'n', 'd', 'e', 'x', 'D', 'a', 't', 'a', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'A', 'l', 'w', 'a', 'y', 's', 'U', 'p', 'l', 'o', 'a', 'd', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    's', 'e', 't', 'P', 'r', 'o', 'j', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'Q', 'S', 'G', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 'N', 'o', 'd', 'e', 0,
    'A', 'f', 't', 'e', 'r', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'S', 't', 'a', 'g', 'e', 0,
    'C', 'o', 'n', 't', 'e', 'x', 't', 'N', 'o', 't', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'b', 'e', 'f', 'o', 'r', 'e', 'S', 'y', 'n', 'c', 'h', 'r', 'o', 'n', 'i', 'z', 'i', 'n', 'g', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'r', 'o', 'm', 'I', 'd', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'R', 'e', 'n', 'd', 'e', 'r', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'T', 'a', 'r', 'g', 'e', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'S', 'i', 'z', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'P', 'e', 'r', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', 'H', 'i', 'n', 't', 's', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'e', 'F', 'o', 'c', 'u', 's', 'O', 'n', 'T', 'a', 'b', 0,
    'i', 's', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 'm', 'a', 'g', 'e', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 'm', 'a', 'g', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    's', 'e', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'l', 'y', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', '*', '>', 0,
    'Q', 'S', 'G', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    'Q', 'S', 'G', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    's', 'e', 't', 'A', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', 'L', 'e', 'v', 'e', 'l', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'S', 'h', 'a', 'd', 'e', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'O', 'f', 'f', 'l', 'i', 'n', 'e', 'C', 'o', 'm', 'p', 'i', 'l', 'a', 't', 'i', 'o', 'n', 0,
    'R', 'u', 'n', 't', 'i', 'm', 'e', 'C', 'o', 'm', 'p', 'i', 'l', 'a', 't', 'i', 'o', 'n', 0,
    'O', 'w', 'n', 's', 'O', 'p', 'a', 'q', 'u', 'e', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', ':', ':', 'F', 'l', 'a', 'g', 's', 0,
    'R', 'e', 'q', 'u', 'i', 'r', 'e', 's', 'F', 'u', 'l', 'l', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'M', 'i', 'r', 'r', 'o', 'r', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'l', 'y', 0,
    's', 'e', 't', 'M', 'i', 'p', 'm', 'a', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 0,
    'T', 'e', 'x', 'C', 'o', 'o', 'r', 'd', '2', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'T', 'e', 'x', 'C', 'o', 'o', 'r', 'd', '1', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'm', 'a', 'r', 'k', 'I', 'n', 'd', 'e', 'x', 'D', 'a', 't', 'a', 'D', 'i', 'r', 't', 'y', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'R', 'e', 'c', 't', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'i', 's', 'V', 'e', 'r', 't', 'e', 'x', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 0,
    'C', 'l', 'e', 'a', 'r', 'S', 't', 'e', 'n', 'c', 'i', 'l', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    'a', 'f', 't', 'e', 'r', 'S', 'y', 'n', 'c', 'h', 'r', 'o', 'n', 'i', 'z', 'i', 'n', 'g', 0,
    'T', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'a', 'n', 'U', 's', 'e', 'A', 't', 'l', 'a', 's', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'V', 'i', 'e', 'w', ':', ':', 'S', 't', 'a', 't', 'u', 's', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'T', 'e', 'x', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'S', 'i', 'z', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'O', 'r', 'i', 'g', 'i', 'n', 0,
    'a', 't', 't', 'a', 'c', 'h', 'e', 'd', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    's', 'e', 't', 'P', 'e', 'r', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', 'H', 'i', 'n', 't', 0,
    'Q', 'S', 'G', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'B', 'i', 'n', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'S', 'G', 'S', 'i', 'm', 'p', 'l', 'e', 'R', 'e', 'c', 't', 'N', 'o', 'd', 'e', 0,
    'R', 'e', 'n', 'd', 'e', 'r', 'T', 'a', 'r', 'g', 'e', 't', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'O', 'p', 'a', 'q', 'u', 'e', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'N', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 'G', 'N', 'o', 'd', 'e', ':', ':', 'N', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 'C', 'o', 'm', 'p', 'i', 'l', 'e', 'S', 't', 'e', 'p', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', ':', ':', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 'S', 'h', 'a', 'd', 'e', 'r', 0,
    'U', 'n', 's', 'i', 'g', 'n', 'e', 'd', 'S', 'h', 'o', 'r', 't', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'T', 'y', 'p', 'e', 0,
    'D', 'r', 'a', 'w', 'T', 'r', 'i', 'a', 'n', 'g', 'l', 'e', 'S', 't', 'r', 'i', 'p', 0,
    'T', 'e', 'x', 'C', 'o', 'o', 'r', 'd', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'i', 'n', 'd', 'e', 'x', 'D', 'a', 't', 'a', 'A', 's', 'U', 'S', 'h', 'o', 'r', 't', 0,
    'v', 'e', 'r', 't', 'e', 'x', 'D', 'a', 't', 'a', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'G', 'L', '_', 'T', 'R', 'I', 'A', 'N', 'G', 'L', 'E', '_', 'S', 'T', 'R', 'I', 'P', 0,
    's', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'B', 'a', 'c', 'k', 'e', 'n', 'd', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    's', 'c', 'h', 'e', 'd', 'u', 'l', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'J', 'o', 'b', 0,
    'T', 'e', 'x', 't', 'u', 'r', 'e', 'H', 'a', 's', 'M', 'i', 'p', 'm', 'a', 'p', 's', 0,
    'r', 'e', 's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'O', 'p', 'a', 'q', 'u', 'e', 'P', 'a', 'i', 'n', 't', 'i', 'n', 'g', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'P', 'a', 'i', 'n', 't', 'e', 'd', 'I', 't', 'e', 'm', 0,
    'r', 'e', 's', 'e', 't', 'A', 'n', 't', 'i', 'a', 'l', 'i', 'a', 's', 'i', 'n', 'g', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'T', 'o', 'u', 'c', 'h', 'P', 'o', 'i', 'n', 't', 's', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'H', 'o', 'v', 'e', 'r', 'E', 'v', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'I', 'm', 'p', 'l', 'i', 'c', 'i', 't', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'B', 'a', 's', 'e', 'l', 'i', 'n', 'e', 'O', 'f', 'f', 's', 'e', 't', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', ':', ':', 'F', 'l', 'a', 'g', 's', 0,
    'i', 's', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    'f', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 0,
    'm', 'o', 'u', 's', 'e', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'i', 's', 'S', 'i', 'g', 'n', 'a', 'l', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 'n', 'd', 'e', 'r', 'S', 'i', 'g', 'n', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'i', 'p', '.', 's', 'i', 'm', 'p', 'l', 'e', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'd', 'F', 'r', 'o', 'm', 'A', 't', 'l', 'a', 's', 0,
    'i', 'n', 'h', 'e', 'r', 'i', 't', 'e', 'd', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    's', 'h', 'a', 'd', 'e', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 'G', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 'N', 'o', 'd', 'e', 0,
    'Q', 'S', 'G', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'N', 'o', 'd', 'e', 0,
    's', 'e', 't', 'I', 's', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'u', 'l', 'a', 'r', 0,
    'i', 's', 'S', 'u', 'b', 't', 'r', 'e', 'e', 'B', 'l', 'o', 'c', 'k', 'e', 'd', 0,
    'p', 'r', 'e', 'p', 'e', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 0,
    'D', 'i', 'r', 't', 'y', 'N', 'o', 'd', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'N', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'U', 'n', 's', 'i', 'g', 'n', 'e', 'd', 'B', 'y', 't', 'e', 'T', 'y', 'p', 'e', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'i', 'n', 'd', 'e', 'x', 'D', 'a', 't', 'a', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'p', 'r', 'o', 'j', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'C', 'l', 'e', 'a', 'r', 'D', 'e', 'p', 't', 'h', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    'C', 'l', 'e', 'a', 'r', 'C', 'o', 'l', 'o', 'r', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'C', 'l', 'o', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'r', 'e', 's', 'e', 't', 'O', 'p', 'e', 'n', 'G', 'L', 'S', 't', 'a', 't', 'e', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'T', 'a', 'r', 'g', 'e', 't', 'S', 'i', 'z', 'e', 0,
    'm', 'o', 'u', 's', 'e', 'G', 'r', 'a', 'b', 'b', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'f', 'i', 'l', 'l', 'C', 'o', 'l', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'S', 'c', 'a', 'l', 'e', 0,
    'p', 'e', 'r', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', 'H', 'i', 'n', 't', 's', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'F', 'o', 'c', 'u', 's', 'O', 'n', 'T', 'a', 'b', 0,
    't', 'o', 'u', 'c', 'h', 'U', 'n', 'g', 'r', 'a', 'b', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'o', 'u', 's', 'e', 'U', 'n', 'g', 'r', 'a', 'b', 'E', 'v', 'e', 'n', 't', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'Q', 'u', 'e', 'r', 'y', 0,
    'f', 'o', 'r', 'c', 'e', 'A', 'c', 't', 'i', 'v', 'e', 'F', 'o', 'c', 'u', 's', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'F', 'r', 'o', 'm', 'S', 'c', 'e', 'n', 'e', 0,
    's', 'e', 't', 'K', 'e', 'e', 'p', 'T', 'o', 'u', 'c', 'h', 'G', 'r', 'a', 'b', 0,
    's', 'e', 't', 'K', 'e', 'e', 'p', 'M', 'o', 'u', 's', 'e', 'G', 'r', 'a', 'b', 0,
    's', 'e', 't', 'I', 'm', 'p', 'l', 'i', 'c', 'i', 't', 'W', 'i', 'd', 't', 'h', 0,
    'I', 't', 'e', 'm', 'A', 'c', 'c', 'e', 'p', 't', 's', 'D', 'r', 'o', 'p', 's', 0,
    'I', 't', 'e', 'm', 'I', 's', 'F', 'o', 'c', 'u', 's', 'S', 'c', 'o', 'p', 'e', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', ':', ':', 'F', 'l', 'a', 'g', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'B', 'y', 't', 'e', 'C', 'o', 'u', 'n', 't', 0,
    'm', 'i', 'r', 'r', 'o', 'r', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'l', 'y', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 'P', 'i', 'x', 'e', 'l', 'R', 'a', 't', 'i', 'o', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    'a', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', 'L', 'e', 'v', 'e', 'l', 0,
    'O', 'p', 'a', 'q', 'u', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 0,
    'P', 'a', 'i', 'n', 't', 'e', 'r', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 0,
    'O', 'p', 'a', 'c', 'i', 't', 'y', 'N', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 'T', 'y', 'p', 'e', 0,
    'm', 'o', 'd', 'e', 'l', 'V', 'i', 'e', 'w', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'r', 'e', 'b', 'u', 'i', 'l', 'd', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'm', 'i', 'p', 'm', 'a', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'N', 'o', 'd', 'e', 0,
    'U', 'n', 's', 'i', 'g', 'n', 'e', 'd', 'I', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'D', 'r', 'a', 'w', 'T', 'r', 'i', 'a', 'n', 'g', 'l', 'e', 'F', 'a', 'n', 0,
    'i', 'n', 'd', 'e', 'x', 'D', 'a', 't', 'a', 'A', 's', 'U', 'I', 'n', 't', 0,
    'G', 'L', '_', 'T', 'R', 'I', 'A', 'N', 'G', 'L', 'E', '_', 'F', 'A', 'N', 0,
    's', 'e', 't', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'R', 'e', 'c', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'I', 'm', 'a', 'g', 'e', 'N', 'o', 'd', 'e', 0,
    's', 'c', 'e', 'n', 'e', 'G', 'r', 'a', 'p', 'h', 'E', 'r', 'r', 'o', 'r', 0,
    'b', 'e', 'f', 'o', 'r', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'F', 'o', 'c', 'u', 's', 'I', 't', 'e', 'm', 0,
    'T', 'e', 'x', 't', 'u', 'r', 'e', 'I', 's', 'O', 'p', 'a', 'q', 'u', 'e', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'o', 'r', 0,
    's', 'e', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'T', 'a', 'r', 'g', 'e', 't', 0,
    'F', 'a', 's', 't', 'F', 'B', 'O', 'R', 'e', 's', 'i', 'z', 'i', 'n', 'g', 0,
    'h', 'o', 'v', 'e', 'r', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'o', 'v', 'e', 'r', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'F', 'r', 'o', 'm', 'I', 't', 'e', 'm', 0,
    's', 'c', 'o', 'p', 'e', 'd', 'F', 'o', 'c', 'u', 's', 'I', 't', 'e', 'm', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'O', 'r', 'i', 'g', 'i', 'n', 0,
    'I', 't', 'e', 'm', 'S', 'c', 'e', 'n', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'H', 'a', 's', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'P', 'a', 'i', 'n', 't', 'N', 'o', 'd', 'e', 0,
    'm', 'o', 'u', 's', 'e', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'k', 'e', 'y', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'f', 'o', 'r', 'm', 'a', 't', 0,
    'a', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'h', 'a', 's', 'A', 'l', 'p', 'h', 'a', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'A', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', 'N', 'o', 'n', 'e', 0,
    'i', 's', 'A', 't', 'l', 'a', 's', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    's', 't', 'e', 'n', 'c', 'i', 'l', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'c', 'i', 's', 's', 'o', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'S', 'h', 'a', 'd', 'e', 'r', 'B', 'y', 't', 'e', 'C', 'o', 'd', 'e', 0,
    'D', 'e', 'v', 'i', 'c', 'e', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'Q', 'S', 'G', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'N', 'o', 'd', 'e', 0,
    'o', 'p', 'a', 'q', 'u', 'e', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'D', 'i', 'r', 't', 'y', 'N', 'o', 'd', 'e', 'A', 'd', 'd', 'e', 'd', 0,
    'Q', 'S', 'G', 'N', 'o', 'd', 'e', ':', ':', 'F', 'l', 'a', 'g', 's', 0,
    'f', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'S', 'h', 'a', 'd', 'e', 'r', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'a', 'm', 'e', 's', 0,
    'c', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'i', 's', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'D', 'i', 'r', 't', 'y', 0,
    's', 'e', 't', 'O', 'w', 'n', 's', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'C', 'o', 'l', 'o', 'r', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'D', 'r', 'a', 'w', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'D', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'A', 'f', 't', 'e', 'r', 'S', 'w', 'a', 'p', 'S', 't', 'a', 'g', 'e', 0,
    'a', 'f', 't', 'e', 'r', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'n', 'g', 0,
    'a', 'f', 't', 'e', 'r', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'T', 'a', 'r', 'g', 'e', 't', 'I', 'd', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'S', 'i', 'z', 'e', 0,
    'o', 'p', 'a', 'q', 'u', 'e', 'P', 'a', 'i', 'n', 't', 'i', 'n', 'g', 0,
    'd', 'r', 'a', 'g', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'r', 'a', 'g', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'o', 'v', 'e', 'r', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'T', 'o', 'S', 'c', 'e', 'n', 'e', 0,
    'h', 'a', 's', 'A', 'c', 't', 'i', 'v', 'e', 'F', 'o', 'c', 'u', 's', 0,
    'i', 'm', 'p', 'l', 'i', 'c', 'i', 't', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'b', 'a', 's', 'e', 'l', 'i', 'n', 'e', 'O', 'f', 'f', 's', 'e', 't', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'r', 0,
    'm', 'o', 'u', 's', 'e', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'A', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', '1', '6', 'x', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'd', 'S', 't', 'a', 't', 'e', 's', 0,
    'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'S', 'G', 'R', 'e', 'n', 'd', 'e', 'r', 'N', 'o', 'd', 'e', 0,
    'i', 's', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'u', 'l', 'a', 'r', 0,
    'D', 'i', 'r', 't', 'y', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'D', 'i', 'r', 't', 'y', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'U', 's', 'e', 'P', 'r', 'e', 'p', 'r', 'o', 'c', 'e', 's', 's', 0,
    'O', 'w', 'n', 'e', 'd', 'B', 'y', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'Q', 'S', 'G', 'N', 'o', 'd', 'e', ':', ':', 'F', 'l', 'a', 'g', 0,
    'B', 'a', 's', 'i', 'c', 'N', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'i', 's', 'M', 'a', 't', 'r', 'i', 'x', 'D', 'i', 'r', 't', 'y', 0,
    's', 'e', 't', 'S', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'c', 't', 0,
    'D', 'r', 'a', 'w', 'T', 'r', 'i', 'a', 'n', 'g', 'l', 'e', 's', 0,
    'D', 'r', 'a', 'w', 'L', 'i', 'n', 'e', 'S', 't', 'r', 'i', 'p', 0,
    'S', 't', 'a', 't', 'i', 'c', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'S', 't', 'r', 'e', 'a', 'm', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'T', 'y', 'p', 'e', 0,
    'G', 'L', '_', 'L', 'I', 'N', 'E', '_', 'S', 'T', 'R', 'I', 'P', 0,
    's', 'e', 't', 'C', 'l', 'e', 'a', 'r', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'D', 'e', 'v', 'i', 'c', 'e', 'R', 'e', 'c', 't', 0,
    'o', 'p', 'e', 'n', 'g', 'l', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    's', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    'p', 'r', 'e', 'p', 'a', 'r', 'e', 'T', 'h', 'r', 'e', 'a', 'd', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'S', 'c', 'a', 'l', 'e', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'd', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'N', 'o', 'd', 'e', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'T', 'o', 'I', 't', 'e', 'm', 0,
    'k', 'e', 'e', 'p', 'T', 'o', 'u', 'c', 'h', 'G', 'r', 'a', 'b', 0,
    'k', 'e', 'e', 'p', 'M', 'o', 'u', 's', 'e', 'G', 'r', 'a', 'b', 0,
    'i', 'm', 'p', 'l', 'i', 'c', 'i', 't', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'P', 'a', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    's', 't', 'a', 't', 'u', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'k', 'e', 'y', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'f', 'o', 'c', 'u', 's', 'O', 'u', 't', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'G', 'l', 'o', 'b', 'a', 'l', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'M', 'o', 'd', 'e', 0,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'Q', 'u', 'i', 'c', 'k', 0,
    'A', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', '8', 'x', 0,
    'A', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', '4', 'x', 0,
    'A', 'n', 'i', 's', 'o', 't', 'r', 'o', 'p', 'y', '2', 'x', 0,
    's', 't', 'e', 'n', 'c', 'i', 'l', 'V', 'a', 'l', 'u', 'e', 0,
    'S', 'c', 'i', 's', 's', 'o', 'r', 'S', 't', 'a', 't', 'e', 0,
    'S', 't', 'e', 'n', 'c', 'i', 'l', 'S', 't', 'a', 't', 'e', 0,
    'c', 'h', 'i', 'l', 'd', 'A', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'O', 'w', 'n', 's', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'O', 'w', 'n', 's', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'C', 'l', 'i', 'p', 'N', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'v', 'e', 'r', 't', 'e', 'x', 'S', 'h', 'a', 'd', 'e', 'r', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 0,
    'Q', 'S', 'G', 'I', 'm', 'a', 'g', 'e', 'N', 'o', 'd', 'e', 0,
    'D', 'r', 'a', 'w', 'L', 'i', 'n', 'e', 'L', 'o', 'o', 'p', 0,
    's', 'i', 'z', 'e', 'O', 'f', 'V', 'e', 'r', 't', 'e', 'x', 0,
    'G', 'L', '_', 'T', 'R', 'I', 'A', 'N', 'G', 'L', 'E', 'S', 0,
    'G', 'L', '_', 'L', 'I', 'N', 'E', '_', 'L', 'O', 'O', 'P', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'S', 'h', 'a', 'd', 'e', 'r', 0,
    's', 'e', 't', 'C', 'l', 'e', 'a', 'r', 'M', 'o', 'd', 'e', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'R', 'e', 'c', 't', 0,
    'c', 'o', 'l', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    't', 'e', 'x', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    's', 'c', 'e', 'n', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'T', 'a', 'r', 'g', 'e', 't', 0,
    's', 'e', 't', 'F', 'i', 'l', 'l', 'C', 'o', 'l', 'o', 'r', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'S', 'i', 'z', 'e', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'P', 'o', 'l', 'i', 's', 'h', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'S', 'c', 'e', 'n', 'e', 0,
    'i', 's', 'F', 'o', 'c', 'u', 's', 'S', 'c', 'o', 'p', 'e', 0,
    'a', 'n', 't', 'i', 'a', 'l', 'i', 'a', 's', 'i', 'n', 'g', 0,
    'c', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'R', 'e', 'c', 't', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'I', 'm', 'a', 'g', 'e', 0,
    'f', 'o', 'c', 'u', 's', 'I', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'i', 's', 'A', 'n', 'c', 'e', 's', 't', 'o', 'r', 'O', 'f', 0,
    's', 'e', 't', 'L', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'D', 'i', 'r', 't', 'y', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 'w', 'a', 'p', 'p', 'e', 'd', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    's', 'c', 'i', 's', 's', 'o', 'r', 'R', 'e', 'c', 't', 0,
    'g', 'e', 't', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'g', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'A', 'p', 'i', 0,
    'Q', 'S', 'G', 'C', 'l', 'i', 'p', 'N', 'o', 'd', 'e', 0,
    's', 'e', 't', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'n', 'e', 'x', 't', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'd', 'i', 'r', 't', 'y', 'S', 't', 'a', 't', 'e', 's', 0,
    'D', 'i', 'r', 't', 'y', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'o', 'w', 'n', 's', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'N', 'o', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    's', 'i', 'z', 'e', 'O', 'f', 'I', 'n', 'd', 'e', 'x', 0,
    'd', 'r', 'a', 'w', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'v', 'e', 'r', 't', 'e', 'x', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'S', 'G', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'Q', 'S', 'G', 'M', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'S', 'c', 'e', 'n', 'e', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'S', 'i', 'z', 'e', 0,
    'p', 'o', 'l', 'i', 's', 'h', 'I', 't', 'e', 'm', 's', 0,
    'g', 'r', 'a', 'b', 'T', 'o', 'I', 'm', 'a', 'g', 'e', 0,
    'h', 'e', 'i', 'g', 'h', 't', 'V', 'a', 'l', 'i', 'd', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'I', 't', 'e', 'm', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'M', 'o', 'u', 's', 'e', 0,
    's', 'e', 't', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'r', 'e', 's', 'e', 't', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 't', 'a', 'c', 'k', 'B', 'e', 'f', 'o', 'r', 'e', 0,
    'B', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 0,
    's', 'y', 'n', 'c', 'h', 'r', 'o', 'n', 'i', 'z', 'e', 0,
    'r', 'o', 'o', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    't', 'a', 'b', 'l', 'e', 't', 'E', 'v', 'e', 'n', 't', 0,
    'u', 'n', 's', 'e', 't', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'm', 'a', 'p', 'T', 'o', 'G', 'l', 'o', 'b', 'a', 'l', 0,
    's', 'e', 't', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'e', 'x', 'p', 'o', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'a', 't', 'c', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'E', 'v', 'e', 'n', 't', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'S', 'i', 'z', 'e', 0,
    'C', 'l', 'a', 'm', 'p', 'T', 'o', 'E', 'd', 'g', 'e', 0,
    's', 'u', 'r', 'f', 'a', 'c', 'e', 'T', 'y', 'p', 'e', 0,
    'd', 'e', 't', 'e', 'r', 'm', 'i', 'n', 'a', 'n', 't', 0,
    's', 'e', 't', 'C', 'l', 'i', 'p', 'R', 'e', 'c', 't', 0,
    'f', 'o', 'c', 'u', 's', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'S', 't', 'a', 't', 'e', 0,
    'h', 'a', 's', 'M', 'i', 'p', 'm', 'a', 'p', 's', 0,
    'Q', 'S', 'G', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'B', 'l', 'e', 'n', 'd', 'S', 't', 'a', 't', 'e', 0,
    'C', 'o', 'l', 'o', 'r', 'S', 't', 'a', 't', 'e', 0,
    'D', 'e', 'p', 't', 'h', 'S', 't', 'a', 't', 'e', 0,
    'D', 'i', 'r', 'e', 'c', 't', '3', 'D', '1', '2', 0,
    'p', 'r', 'e', 'p', 'r', 'o', 'c', 'e', 's', 's', 0,
    'f', 'i', 'r', 's', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'C', 'o', 'u', 'n', 't', 0,
    'd', 'e', 'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    'D', 'r', 'a', 'w', 'P', 'o', 'i', 'n', 't', 's', 0,
    'v', 'e', 'r', 't', 'e', 'x', 'D', 'a', 't', 'a', 0,
    'i', 'n', 'd', 'e', 'x', 'C', 'o', 'u', 'n', 't', 0,
    'i', 's', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'c', 'l', 'e', 'a', 'r', 'C', 'o', 'l', 'o', 'r', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 'R', 'e', 'c', 't', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    'r', 'o', 'o', 't', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'V', 'i', 'e', 'w', 0,
    's', 'a', 'v', 'e', 'T', 'o', 'F', 'i', 'l', 'e', 0,
    't', 'a', 'r', 'g', 'e', 't', 'S', 'i', 'z', 'e', 0,
    'w', 'i', 'd', 't', 'h', 'V', 'a', 'l', 'i', 'd', 0,
    'i', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'm', 'a', 'p', 'T', 'o', 'S', 'c', 'e', 'n', 'e', 0,
    'r', 'e', 's', 'e', 't', 'W', 'i', 'd', 't', 'h', 0,
    'c', 'h', 'i', 'l', 'd', 'I', 't', 'e', 'm', 's', 0,
    's', 't', 'a', 'c', 'k', 'A', 'f', 't', 'e', 'r', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'B', 'o', 't', 't', 'o', 'm', 'L', 'e', 'f', 't', 0,
    'Q', 'Q', 'u', 'i', 'c', 'k', 'I', 't', 'e', 'm', 0,
    'c', 'l', 'a', 's', 's', 'B', 'e', 'g', 'i', 'n', 0,
    'f', 'o', 'r', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    't', 'o', 'u', 'c', 'h', 'E', 'v', 'e', 'n', 't', 0,
    'w', 'h', 'e', 'e', 'l', 'E', 'v', 'e', 'n', 't', 0,
    'g', 'r', 'a', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'c', 'l', 'i', 'p', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    's', 'e', 't', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'g', 'e', 'n', 'M', 'i', 'p', 'M', 'a', 'p', 's', 0,
    's', 'h', 'a', 'd', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'c', 't', 0,
    's', 'e', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    's', 'e', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 0,
    '_', '_', 'i', 'n', 'v', 'e', 'r', 't', '_', '_', 0,
    'C', 'u', 'l', 'l', 'S', 't', 'a', 't', 'e', 0,
    'm', 'a', 'r', 'k', 'D', 'i', 'r', 't', 'y', 0,
    'l', 'a', 's', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 0,
    'F', 'l', 'o', 'a', 't', 'T', 'y', 'p', 'e', 0,
    'D', 'r', 'a', 'w', 'L', 'i', 'n', 'e', 's', 0,
    'i', 'n', 'd', 'e', 'x', 'D', 'a', 't', 'a', 0,
    'i', 'n', 'd', 'e', 'x', 'T', 'y', 'p', 'e', 0,
    'G', 'L', '_', 'P', 'O', 'I', 'N', 'T', 'S', 0,
    'G', 'L', '_', 'D', 'O', 'U', 'B', 'L', 'E', 0,
    'Q', 'S', 'G', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'f', 'i', 'l', 'l', 'C', 'o', 'l', 'o', 'r', 0,
    'd', 'r', 'o', 'p', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'a', 'p', 'T', 'o', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'S', 'm', 'o', 'o', 't', 'h', 0,
    'b', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 0,
    'r', 'e', 'a', 'l', 'V', 'a', 'l', 'u', 'e', 0,
    'i', 'm', 'a', 'g', 'e', 'T', 'y', 'p', 'e', 0,
    'h', 'i', 'd', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'h', 'o', 'w', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'I', 'd', 0,
    't', 'u', 'p', 'l', 'e', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'M', 'i', 'p', 'm', 'a', 'p', 0,
    'i', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'l', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'a', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'i', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 's', 0,
    's', 'e', 'n', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'c', 'l', 'i', 'p', 'L', 'i', 's', 't', 0,
    'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', 0,
    'm', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'B', 'l', 'e', 'n', 'd', 'i', 'n', 'g', 0,
    'D', 'i', 'r', 't', 'y', 'A', 'l', 'l', 0,
    'G', 'L', '_', 'L', 'I', 'N', 'E', 'S', 0,
    'G', 'L', '_', 'F', 'L', 'O', 'A', 'T', 0,
    's', 'e', 't', 'F', 'o', 'c', 'u', 's', 0,
    'h', 'a', 's', 'F', 'o', 'c', 'u', 's', 0,
    's', 'e', 't', 'S', 'c', 'a', 'l', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 't', 'e', 0,
    'T', 'o', 'p', 'R', 'i', 'g', 'h', 't', 0,
    'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 0,
    'e', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'f', 'i', 'l', 'l', 'R', 'u', 'l', 'e', 0,
    'a', 'l', 'l', 'o', 'c', 'a', 't', 'e', 0,
    'c', 'l', 'i', 'p', 'R', 'e', 'c', 't', 0,
    't', 'a', 'b', 'A', 'r', 'r', 'a', 'y', 0,
    't', 'a', 'b', 'S', 't', 'o', 'p', 's', 0,
    'r', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'n', 'a', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'F', 'l', 'a', 'g', 's', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    'f', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    '_', '_', 'h', 'a', 's', 'h', '_', '_', 0,
    '_', '_', 'b', 'o', 'o', 'l', '_', '_', 0,
    '_', '_', 'i', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'a', 'n', 'd', '_', '_', 0,
    'Q', 'S', 'G', 'N', 'o', 'd', 'e', 0,
    'c', 'o', 'm', 'p', 'i', 'l', 'e', 0,
    'G', 'L', '_', 'B', 'Y', 'T', 'E', 0,
    'N', 'o', 'S', 't', 'a', 'g', 'e', 0,
    'c', 'l', 'o', 's', 'i', 'n', 'g', 0,
    'f', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'A', 't', 0,
    's', 'e', 't', 'C', 'l', 'i', 'p', 0,
    'T', 'o', 'p', 'L', 'e', 'f', 't', 0,
    'L', 'o', 'a', 'd', 'i', 'n', 'g', 0,
    'e', 'x', 'p', 'o', 's', 'e', 'd', 0,
    'o', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'N', 'e', 'a', 'r', 'e', 's', 't', 0,
    'b', 'u', 'f', 'f', 'e', 'r', 's', 0,
    'q', 'u', 'a', 'l', 'i', 't', 'y', 0,
    's', 'e', 't', 'F', 'l', 'a', 'g', 0,
    'q', 'u', 'e', 'r', 'i', 'e', 's', 0,
    't', 'e', 'x', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'R', 'e', 'c', 't', 0,
    'p', 'r', 'o', 'g', 'r', 'a', 'm', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 0,
    'c', 'o', 'm', 'p', 'a', 'r', 'e', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    '_', '_', 'l', 'e', 'n', '_', '_', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 0,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    'G', 'L', '_', 'I', 'N', 'T', 0,
    'p', 'o', 'l', 'i', 's', 'h', 0,
    's', 'm', 'o', 'o', 't', 'h', 0,
    'B', 'o', 't', 't', 'o', 'm', 0,
    'C', 'e', 'n', 't', 'e', 'r', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 0,
    'e', 'r', 'r', 'o', 'r', 's', 0,
    'O', 'p', 'e', 'n', 'V', 'G', 0,
    'O', 'p', 'e', 'n', 'G', 'L', 0,
    'R', 'e', 'p', 'e', 'a', 't', 0,
    's', 't', 'r', 'i', 'd', 'e', 0,
    'm', 'i', 'p', 'm', 'a', 'p', 0,
    'e', 'n', 'g', 'i', 'n', 'e', 0,
    'm', 'a', 't', 'r', 'i', 'x', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 0,
    'u', 'p', 'd', 'a', 't', 'e', 0,
    'c', 'u', 'r', 's', 'o', 'r', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 0,
    'c', 'r', 'e', 'a', 't', 'e', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    's', 'e', 'n', 'd', 'e', 'r', 0,
    'v', 'a', 'l', 'u', 'e', '9', 0,
    'v', 'a', 'l', 'u', 'e', '8', 0,
    'v', 'a', 'l', 'u', 'e', '7', 0,
    'v', 'a', 'l', 'u', 'e', '6', 0,
    'v', 'a', 'l', 'u', 'e', '5', 0,
    'v', 'a', 'l', 'u', 'e', '4', 0,
    'v', 'a', 'l', 'u', 'e', '3', 0,
    'v', 'a', 'l', 'u', 'e', '2', 0,
    'v', 'a', 'l', 'u', 'e', '1', 0,
    'v', 'a', 'l', 'u', 'e', '0', 0,
    's', 'y', 'm', 'b', 'o', 'l', 0,
    'h', 'e', 'i', 'g', 'h', 't', 0,
    's', 'u', 'f', 'f', 'i', 'x', 0,
    'o', 'f', 'f', 's', 'e', 't', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    'f', 'i', 'l', 't', 'e', 'r', 0,
    's', 't', 'a', 't', 'u', 's', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 0,
    'o', 'p', 't', 'i', 'o', 'n', 0,
    'l', 'o', 'c', 'a', 'l', 'e', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    'p', 'a', 'r', 'e', 'n', 't', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    '_', '_', 'o', 'r', '_', '_', 0,
    'f', 'o', 'r', 'c', 'e', 0,
    'f', 'b', 'o', 'I', 'd', 0,
    'r', 'e', 'a', 'd', 'y', 0,
    'R', 'e', 'a', 'd', 'y', 0,
    'p', 'a', 'i', 'n', 't', 0,
    's', 'c', 'a', 'l', 'e', 0,
    't', 'y', 'p', 'e', 's', 0,
    'c', 'o', 'l', 'o', 'r', 0,
    'i', 'm', 'a', 'g', 'e', 0,
    'w', 'i', 'd', 't', 'h', 0,
    'c', 'o', 'u', 'n', 't', 0,
    'f', 'l', 'a', 'g', 's', 0,
    'e', 'v', 'e', 'n', 't', 0,
    'm', 's', 'e', 'c', 's', 0,
    's', 't', 'a', 't', 'e', 0,
    'H', 'L', 'S', 'L', 0,
    'G', 'L', 'S', 'L', 0,
    'g', 'r', 'a', 'b', 0,
    's', 'e', 't', 'Z', 0,
    'b', 'i', 'n', 'd', 0,
    'i', 't', 'e', 'm', 0,
    'r', 'e', 'c', 't', 0,
    'c', 'l', 'i', 'p', 0,
    'p', 'o', 'r', 't', 0,
    's', 'y', 'n', 'c', 0,
    's', 'e', 't', 'Y', 0,
    's', 'e', 't', 'X', 0,
    'N', 'u', 'l', 'l', 0,
    'm', 'o', 'd', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    'b', 'a', 's', 'e', 0,
    's', 'i', 'z', 'e', 0,
    't', 'y', 'p', 'e', 0,
    'f', 'r', 'o', 'm', 0,
    's', 'o', 'r', 't', 0,
    'T', 'o', 'p', 0,
    'u', 'r', 'l', 0,
    'p', 'o', 's', 0,
    't', 'x', 0,
    's', 'w', 0,
    's', 'y', 0,
    's', 'x', 0,
    'z', 0,
};
#line 197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
// Release any attribute names to the heap.
static void qtquick_anc_release(char **attr_names)
{
    if (attr_names)
    {
        for (int i = 0; attr_names[i]; ++i)
            delete[] attr_names[i];

        delete[] attr_names;
    }
}


// The destructor for the attribute names PyCapsule.
static void qtquick_anc_destructor(PyObject *cap)
{
    qtquick_anc_release(
            reinterpret_cast<char **>(PyCapsule_GetPointer(cap, NULL)));
}


// Get the attribute names or 0 if there was an error.
static char **qtquick_anc_get_attr_names(sipSimpleWrapper *pySelf, PyObject *method, PyObject *attr_names_obj)
{
    // Dispose of any existing names.
    Py_XDECREF(sipGetUserObject(pySelf));
    sipSetUserObject(pySelf, NULL);

    // Convert the new names.
    if (!PyList_Check(attr_names_obj))
    {
        sipBadCatcherResult(method);
        return 0;
    }

    char **names = new char *[PyList_Size(attr_names_obj) + 1];

    for (Py_ssize_t i = 0; i < PyList_Size(attr_names_obj); ++i)
    {
        char *name;
        PyObject *el = PyList_GetItem(attr_names_obj, i);

#if PY_MAJOR_VERSION >= 3
        PyObject *name_obj = PyUnicode_AsASCIIString(el);

        name = (name_obj ? PyBytes_AsString(name_obj) : 0);
#else
        name = PyString_AsString(el);
#endif

        if (!name)
        {
            names[i] = 0;
            qtquick_anc_release(names);

            sipBadCatcherResult(method);
            return 0;
        }

        char *name_copy = new char[strlen(name) + 1];
        strcpy(name_copy, name);
        names[i] = name_copy;

#if PY_MAJOR_VERSION >= 3
        Py_DECREF(name_obj);
#endif
    }

    names[PyList_Size(attr_names_obj)] = 0;

    sipSetUserObject(pySelf, PyCapsule_New(names, NULL, qtquick_anc_destructor));

    if (!sipGetUserObject(pySelf))
    {
        qtquick_anc_release(names);
        return 0;
    }

    return names;
}
#line 1098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

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

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

    return sipRes;
}

void* sipVH_QtQuick_82(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const char*a0)
{
    void* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "s", a0);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtQuick_77(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QSGRenderNode::RenderState*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", const_cast< ::QSGRenderNode::RenderState *>(a0), sipType_QSGRenderNode_RenderState, NULL);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void* sipVH_QtQuick_72(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QQuickWindow*a0,const char*a1)
{
    void* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "Ds", a0, sipType_QQuickWindow, NULL, a1);

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

    return sipRes;
}

void* sipVH_QtQuick_71(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QQuickWindow*a0, ::QSGRendererInterface::Resource a1)
{
    void* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DF", a0, sipType_QQuickWindow, NULL, a1, sipType_QSGRendererInterface_Resource);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

const char* const* sipVH_QtQuick_66(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int)
{
    char* const* sipRes = 0;
    int sipIsErr = 0;

#line 114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
        PyObject *names = sipCallMethod(&sipIsErr, sipMethod, "");
        
        if (names)
        {
            sipRes = qtquick_anc_get_attr_names(sipPySelf, sipMethod, names);
            
            if (!sipRes)
                sipIsErr = 1;
            
            Py_DECREF(names);
        }
#line 1277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_QtQuick_65(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QSGMaterialShader::RenderState& a0, ::QSGMaterial*a1, ::QSGMaterial*a2)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NDD", new  ::QSGMaterialShader::RenderState(a0), sipType_QSGMaterialShader_RenderState, NULL, a1, sipType_QSGMaterial, NULL, a2, sipType_QSGMaterial, NULL);
}

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

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

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

    return sipRes;
}

void sipVH_QtQuick_62(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QSGImageNode::TextureCoordinatesTransformMode a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "N", new  ::QSGImageNode::TextureCoordinatesTransformMode(a0), sipType_QSGImageNode_TextureCoordinatesTransformMode, NULL);
}

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

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

    return sipRes;
}

void sipVH_QtQuick_60(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QSGTexture::Filtering a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "F", a0, sipType_QSGTexture_Filtering);
}

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

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

    return sipRes;
}

void sipVH_QtQuick_58(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QSGTexture*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QSGTexture, NULL);
}

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

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

    return sipRes;
}

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

int sipVH_QtQuick_55(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QSGMaterial*a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", const_cast< ::QSGMaterial *>(a0), sipType_QSGMaterial, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtQuick_52(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::GLuint a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "u", a0);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtQuick_48(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QExposeEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QExposeEvent, NULL);
}

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

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

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

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

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

 ::QWindow* sipVH_QtQuick_42(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPoint*a0)
{
     ::QWindow* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", a0, sipType_QPoint, NULL);

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

    return sipRes;
}

void sipVH_QtQuick_41(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QPainter, NULL);
}

 ::QQuickImageResponse* sipVH_QtQuick_40(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QString& a0,const  ::QSize& a1)
{
     ::QQuickImageResponse* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN", new  ::QString(a0), sipType_QString, NULL, new  ::QSize(a1), sipType_QSize, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::QQuickTextureFactory* sipVH_QtQuick_37(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
     ::QQuickTextureFactory* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN", new  ::QString(a0), sipType_QString, NULL, new  ::QSize(a2), sipType_QSize, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(H2H4)", sipType_QQuickTextureFactory, &sipRes, sipType_QSize, a1);

    return sipRes;
}

 ::QPixmap sipVH_QtQuick_36(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
     ::QPixmap sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN", new  ::QString(a0), sipType_QString, NULL, new  ::QSize(a2), sipType_QSize, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(H5H4)", sipType_QPixmap, &sipRes, sipType_QSize, a1);

    return sipRes;
}

 ::QImage sipVH_QtQuick_35(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
     ::QImage sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN", new  ::QString(a0), sipType_QString, NULL, new  ::QSize(a2), sipType_QSize, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(H5H4)", sipType_QImage, &sipRes, sipType_QSize, a1);

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::QSGTexture* sipVH_QtQuick_29(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QQuickWindow*a0)
{
     ::QSGTexture* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", a0, sipType_QQuickWindow, NULL);

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

    return sipRes;
}

void sipVH_QtQuick_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QQuickFramebufferObject*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QQuickFramebufferObject, NULL);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::QSGNode* sipVH_QtQuick_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QSGNode*a0, ::QQuickItem::UpdatePaintNodeData*a1)
{
     ::QSGNode* sipRes = 0;
    int sipIsErr = 0;

#line 230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
        PyObject *res;
        
        res = sipCallMethod(&sipIsErr, sipMethod, "DD",
                a0, sipType_QSGNode, NULL,
                a1, sipType_QQuickItem_UpdatePaintNodeData, NULL);
        
        if (res)
        {
            sipParseResult(&sipIsErr, sipMethod, res, "H0", sipType_QSGNode, &sipRes);
        
            if (!sipIsErr && sipRes && (sipRes->flags() & QSGNode::OwnedByParent))
                sipTransferTo(res, (PyObject *)sipPySelf);
        
            Py_DECREF(res);
        }
#line 1635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

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

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

void sipVH_QtQuick_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QHoverEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QHoverEvent, NULL);
}

void sipVH_QtQuick_17(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTouchEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QTouchEvent, NULL);
}

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

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

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

void sipVH_QtQuick_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QInputMethodEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QInputMethodEvent, NULL);
}

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

void sipVH_QtQuick_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QQuickItem::ItemChange a0,const  ::QQuickItem::ItemChangeData& a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "FN", a0, sipType_QQuickItem_ItemChange, new  ::QQuickItem::ItemChangeData(a1), sipType_QQuickItem_ItemChangeData, NULL);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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


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

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
    #if QT_VERSION >= 0x050400
        {sipName_QSGEngine, &sipType_QSGEngine, -1, 1},
    #else
        {0, 0, -1, 1},
    #endif
        {sipName_QQuickItem, &sipType_QQuickItem, 11, 2},
    #if QT_VERSION >= 0x050400
        {sipName_QQuickItemGrabResult, &sipType_QQuickItemGrabResult, -1, 3},
    #else
        {0, 0, -1, 3},
    #endif
        {sipName_QSGTexture, &sipType_QSGTexture, 13, 4},
    #if QT_VERSION >= 0x050100
        {sipName_QQuickTextDocument, &sipType_QQuickTextDocument, -1, 5},
    #else
        {0, 0, -1, 5},
    #endif
    #if QT_VERSION >= 0x050400
        {sipName_QSGAbstractRenderer, &sipType_QSGAbstractRenderer, -1, 6},
    #else
        {0, 0, -1, 6},
    #endif
    #if QT_VERSION >= 0x050600
        {sipName_QQuickImageResponse, &sipType_QQuickImageResponse, -1, 7},
    #else
        {0, 0, -1, 7},
    #endif
        {sipName_QQuickTextureFactory, &sipType_QQuickTextureFactory, -1, 8},
    #if QT_VERSION >= 0x050400
        {sipName_QQuickRenderControl, &sipType_QQuickRenderControl, -1, 9},
    #else
        {0, 0, -1, 9},
    #endif
        {sipName_QSGTextureProvider, &sipType_QSGTextureProvider, -1, 10},
        {sipName_QQuickWindow, &sipType_QQuickWindow, 14, -1},
    #if QT_VERSION >= 0x050200
        {sipName_QQuickFramebufferObject, &sipType_QQuickFramebufferObject, -1, 12},
    #else
        {0, 0, -1, 12},
    #endif
        {sipName_QQuickPaintedItem, &sipType_QQuickPaintedItem, -1, -1},
        {sipName_QSGDynamicTexture, &sipType_QSGDynamicTexture, -1, -1},
        {sipName_QQuickView, &sipType_QQuickView, -1, -1},
    };
    
    int i = 0;
    
    sipType = NULL;
    
    do
    {
        struct class_graph *cg = &graph[i];
    
        if (cg->name != NULL && sipCpp->inherits(cg->name))
        {
            sipType = *cg->type;
            i = cg->yes;
        }
        else
            i = cg->no;
    }
    while (i >= 0);
#line 1883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

    return sipType;
}


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

#line 126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
    switch (sipCpp->type())
    {
    case QSGNode::BasicNodeType:
        sipType = sipType_QSGBasicGeometryNode;
        break;
    
    case QSGNode::GeometryNodeType:
        sipType = sipType_QSGGeometryNode;
        break;
    
    case QSGNode::TransformNodeType:
        sipType = sipType_QSGClipNode;
        break;
    
    case QSGNode::ClipNodeType:
        sipType = sipType_QSGTransformNode;
        break;
    
    case QSGNode::OpacityNodeType:
        sipType = sipType_QSGOpacityNode;
        break;
    
    default:
        sipType = 0;
    }
#line 1922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

    return sipType;
}


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

    {
         ::QSGSimpleTextureNode::TextureCoordinatesTransformFlag a0;
         ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformFlag, &a0, sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a1, &a1State))
        {
             ::QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode((a0 | *a1));
            sipReleaseType(a1,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGRenderNode::RenderingFlag a0;
         ::QSGRenderNode::RenderingFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGRenderNode_RenderingFlag, &a0, sipType_QSGRenderNode_RenderingFlags, &a1, &a1State))
        {
             ::QSGRenderNode::RenderingFlags*sipRes;

            sipRes = new  ::QSGRenderNode::RenderingFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QSGRenderNode_RenderingFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGRenderNode::StateFlag a0;
         ::QSGRenderNode::StateFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGRenderNode_StateFlag, &a0, sipType_QSGRenderNode_StateFlags, &a1, &a1State))
        {
             ::QSGRenderNode::StateFlags*sipRes;

            sipRes = new  ::QSGRenderNode::StateFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QSGRenderNode_StateFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGRendererInterface::ShaderSourceType a0;
         ::QSGRendererInterface::ShaderSourceTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGRendererInterface_ShaderSourceType, &a0, sipType_QSGRendererInterface_ShaderSourceTypes, &a1, &a1State))
        {
             ::QSGRendererInterface::ShaderSourceTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderSourceTypes((a0 | *a1));
            sipReleaseType(a1,sipType_QSGRendererInterface_ShaderSourceTypes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGRendererInterface::ShaderCompilationType a0;
         ::QSGRendererInterface::ShaderCompilationTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGRendererInterface_ShaderCompilationType, &a0, sipType_QSGRendererInterface_ShaderCompilationTypes, &a1, &a1State))
        {
             ::QSGRendererInterface::ShaderCompilationTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderCompilationTypes((a0 | *a1));
            sipReleaseType(a1,sipType_QSGRendererInterface_ShaderCompilationTypes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGNode::DirtyStateBit a0;
         ::QSGNode::DirtyState* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGNode_DirtyStateBit, &a0, sipType_QSGNode_DirtyState, &a1, &a1State))
        {
             ::QSGNode::DirtyState*sipRes;

            sipRes = new  ::QSGNode::DirtyState((a0 | *a1));
            sipReleaseType(a1,sipType_QSGNode_DirtyState,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGNode::Flag a0;
         ::QSGNode::Flags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGNode_Flag, &a0, sipType_QSGNode_Flags, &a1, &a1State))
        {
             ::QSGNode::Flags*sipRes;

            sipRes = new  ::QSGNode::Flags((a0 | *a1));
            sipReleaseType(a1,sipType_QSGNode_Flags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGMaterial::Flag a0;
         ::QSGMaterial::Flags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGMaterial_Flag, &a0, sipType_QSGMaterial_Flags, &a1, &a1State))
        {
             ::QSGMaterial::Flags*sipRes;

            sipRes = new  ::QSGMaterial::Flags((a0 | *a1));
            sipReleaseType(a1,sipType_QSGMaterial_Flags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGMaterialShader::RenderState::DirtyState a0;
         ::QSGMaterialShader::RenderState::DirtyStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGMaterialShader_RenderState_DirtyState, &a0, sipType_QSGMaterialShader_RenderState_DirtyStates, &a1, &a1State))
        {
             ::QSGMaterialShader::RenderState::DirtyStates*sipRes;

            sipRes = new  ::QSGMaterialShader::RenderState::DirtyStates((a0 | *a1));
            sipReleaseType(a1,sipType_QSGMaterialShader_RenderState_DirtyStates,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGImageNode::TextureCoordinatesTransformFlag a0;
         ::QSGImageNode::TextureCoordinatesTransformMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGImageNode_TextureCoordinatesTransformFlag, &a0, sipType_QSGImageNode_TextureCoordinatesTransformMode, &a1, &a1State))
        {
             ::QSGImageNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGImageNode::TextureCoordinatesTransformMode((a0 | *a1));
            sipReleaseType(a1,sipType_QSGImageNode_TextureCoordinatesTransformMode,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QSGAbstractRenderer::ClearModeBit a0;
         ::QSGAbstractRenderer::ClearMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSGAbstractRenderer_ClearModeBit, &a0, sipType_QSGAbstractRenderer_ClearMode, &a1, &a1State))
        {
             ::QSGAbstractRenderer::ClearMode*sipRes;

            sipRes = new  ::QSGAbstractRenderer::ClearMode((a0 | *a1));
            sipReleaseType(a1,sipType_QSGAbstractRenderer_ClearMode,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QQuickPaintedItem::PerformanceHint a0;
         ::QQuickPaintedItem::PerformanceHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QQuickPaintedItem_PerformanceHint, &a0, sipType_QQuickPaintedItem_PerformanceHints, &a1, &a1State))
        {
             ::QQuickPaintedItem::PerformanceHints*sipRes;

            sipRes = new  ::QQuickPaintedItem::PerformanceHints((a0 | *a1));
            sipReleaseType(a1,sipType_QQuickPaintedItem_PerformanceHints,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QQuickItem::Flag a0;
         ::QQuickItem::Flags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QQuickItem_Flag, &a0, sipType_QQuickItem_Flags, &a1, &a1State))
        {
             ::QQuickItem::Flags*sipRes;

            sipRes = new  ::QQuickItem::Flags((a0 | *a1));
            sipReleaseType(a1,sipType_QQuickItem_Flags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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

static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGTexture__AnisotropyLevel, {0}, 0}, sipNameNr_AnisotropyLevel, 89, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGTexture__Filtering, {0}, 0}, sipNameNr_Filtering, 89, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGTexture__WrapMode, {0}, 0}, sipNameNr_WrapMode, 89, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGSimpleTextureNode__TextureCoordinatesTransformFlag, {0}, 0}, sipNameNr_TextureCoordinatesTransformFlag, 86, slots_QSGSimpleTextureNode_TextureCoordinatesTransformFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGRenderNode__RenderingFlag, {0}, 0}, sipNameNr_RenderingFlag, 71, slots_QSGRenderNode_RenderingFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGRenderNode__StateFlag, {0}, 0}, sipNameNr_StateFlag, 71, slots_QSGRenderNode_StateFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGRendererInterface__ShaderSourceType, {0}, 0}, sipNameNr_ShaderSourceType, 77, slots_QSGRendererInterface_ShaderSourceType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGRendererInterface__ShaderCompilationType, {0}, 0}, sipNameNr_ShaderCompilationType, 77, slots_QSGRendererInterface_ShaderCompilationType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGRendererInterface__ShaderType, {0}, 0}, sipNameNr_ShaderType, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGRendererInterface__Resource, {0}, 0}, sipNameNr_Resource, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGRendererInterface__GraphicsApi, {0}, 0}, sipNameNr_GraphicsApi, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGNode__DirtyStateBit, {0}, 0}, sipNameNr_DirtyStateBit, 62, slots_QSGNode_DirtyStateBit},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGNode__Flag, {0}, 0}, sipNameNr_Flag, 62, slots_QSGNode_Flag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGNode__NodeType, {0}, 0}, sipNameNr_NodeType, 62, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGMaterial__Flag, {0}, 0}, sipNameNr_Flag, 54, slots_QSGMaterial_Flag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGMaterialShader__RenderState__DirtyState, {0}, 0}, sipNameNr_DirtyState, 58, slots_QSGMaterialShader_RenderState_DirtyState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGImageNode__TextureCoordinatesTransformFlag, {0}, 0}, sipNameNr_TextureCoordinatesTransformFlag, 51, slots_QSGImageNode_TextureCoordinatesTransformFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGGeometry__Type, {0}, 0}, sipNameNr_Type, 40, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGGeometry__DrawingMode, {0}, 0}, sipNameNr_DrawingMode, 40, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGGeometry__AttributeType, {0}, 0}, sipNameNr_AttributeType, 40, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGGeometry__DataPattern, {0}, 0}, sipNameNr_DataPattern, 40, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGEngine__CreateTextureOption, {0}, 0}, sipNameNr_CreateTextureOption, 36, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGAbstractRenderer__ClearModeBit, {0}, 0}, sipNameNr_ClearModeBit, 30, slots_QSGAbstractRenderer_ClearModeBit},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickWindow__RenderStage, {0}, 0}, sipNameNr_RenderStage, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickWindow__SceneGraphError, {0}, 0}, sipNameNr_SceneGraphError, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickWindow__CreateTextureOption, {0}, 0}, sipNameNr_CreateTextureOption, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickView__Status, {0}, 0}, sipNameNr_Status, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickView__ResizeMode, {0}, 0}, sipNameNr_ResizeMode, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickPaintedItem__PerformanceHint, {0}, 0}, sipNameNr_PerformanceHint, 15, slots_QQuickPaintedItem_PerformanceHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickPaintedItem__RenderTarget, {0}, 0}, sipNameNr_RenderTarget, 15, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickItem__TransformOrigin, {0}, 0}, sipNameNr_TransformOrigin, 7, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickItem__ItemChange, {0}, 0}, sipNameNr_ItemChange, 7, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickItem__Flag, {0}, 0}, sipNameNr_Flag, 7, slots_QQuickItem_Flag},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtQuick[] = {
    &sipTypeDef_QtQuick_QList_0101QQuickItem.mtd_base,
    &sipTypeDef_QtQuick_QQuickAsyncImageProvider.ctd_base,
    &sipTypeDef_QtQuick_QQuickCloseEvent.ctd_base,
    &sipTypeDef_QtQuick_QQuickFramebufferObject.ctd_base,
    &sipTypeDef_QtQuick_QQuickFramebufferObject_Renderer.ctd_base,
    &sipTypeDef_QtQuick_QQuickImageProvider.ctd_base,
    &sipTypeDef_QtQuick_QQuickImageResponse.ctd_base,
    &sipTypeDef_QtQuick_QQuickItem.ctd_base,
    &enumTypes[32].etd_base,
    &sipTypeDef_QtQuick_QQuickItem_Flags.ctd_base,
    &enumTypes[31].etd_base,
    &sipTypeDef_QtQuick_QQuickItem_ItemChangeData.ctd_base,
    &enumTypes[30].etd_base,
    &sipTypeDef_QtQuick_QQuickItem_UpdatePaintNodeData.ctd_base,
    &sipTypeDef_QtQuick_QQuickItemGrabResult.ctd_base,
    &sipTypeDef_QtQuick_QQuickPaintedItem.ctd_base,
    &enumTypes[28].etd_base,
    &sipTypeDef_QtQuick_QQuickPaintedItem_PerformanceHints.ctd_base,
    &enumTypes[29].etd_base,
    &sipTypeDef_QtQuick_QQuickRenderControl.ctd_base,
    &sipTypeDef_QtQuick_QQuickTextDocument.ctd_base,
    &sipTypeDef_QtQuick_QQuickTextureFactory.ctd_base,
    &sipTypeDef_QtQuick_QQuickView.ctd_base,
    &enumTypes[27].etd_base,
    &enumTypes[26].etd_base,
    &sipTypeDef_QtQuick_QQuickWindow.ctd_base,
    &enumTypes[25].etd_base,
    &sipTypeDef_QtQuick_QQuickWindow_CreateTextureOptions.ctd_base,
    &enumTypes[23].etd_base,
    &enumTypes[24].etd_base,
    &sipTypeDef_QtQuick_QSGAbstractRenderer.ctd_base,
    &sipTypeDef_QtQuick_QSGAbstractRenderer_ClearMode.ctd_base,
    &enumTypes[22].etd_base,
    &sipTypeDef_QtQuick_QSGBasicGeometryNode.ctd_base,
    &sipTypeDef_QtQuick_QSGClipNode.ctd_base,
    &sipTypeDef_QtQuick_QSGDynamicTexture.ctd_base,
    &sipTypeDef_QtQuick_QSGEngine.ctd_base,
    &enumTypes[21].etd_base,
    &sipTypeDef_QtQuick_QSGEngine_CreateTextureOptions.ctd_base,
    &sipTypeDef_QtQuick_QSGFlatColorMaterial.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry_Attribute.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry_AttributeSet.ctd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtQuick_QSGGeometry_ColoredPoint2D.ctd_base,
    &enumTypes[20].etd_base,
    &enumTypes[18].etd_base,
    &sipTypeDef_QtQuick_QSGGeometry_Point2D.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry_TexturedPoint2D.ctd_base,
    &enumTypes[17].etd_base,
    &sipTypeDef_QtQuick_QSGGeometryNode.ctd_base,
    &sipTypeDef_QtQuick_QSGImageNode.ctd_base,
    &enumTypes[16].etd_base,
    &sipTypeDef_QtQuick_QSGImageNode_TextureCoordinatesTransformMode.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterial.ctd_base,
    &enumTypes[14].etd_base,
    &sipTypeDef_QtQuick_QSGMaterial_Flags.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterialShader.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterialShader_RenderState.ctd_base,
    &enumTypes[15].etd_base,
    &sipTypeDef_QtQuick_QSGMaterialShader_RenderState_DirtyStates.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterialType.ctd_base,
    &sipTypeDef_QtQuick_QSGNode.ctd_base,
    &sipTypeDef_QtQuick_QSGNode_DirtyState.ctd_base,
    &enumTypes[11].etd_base,
    &enumTypes[12].etd_base,
    &sipTypeDef_QtQuick_QSGNode_Flags.ctd_base,
    &enumTypes[13].etd_base,
    &sipTypeDef_QtQuick_QSGOpacityNode.ctd_base,
    &sipTypeDef_QtQuick_QSGOpaqueTextureMaterial.ctd_base,
    &sipTypeDef_QtQuick_QSGRectangleNode.ctd_base,
    &sipTypeDef_QtQuick_QSGRenderNode.ctd_base,
    &sipTypeDef_QtQuick_QSGRenderNode_RenderState.ctd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtQuick_QSGRenderNode_RenderingFlags.ctd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtQuick_QSGRenderNode_StateFlags.ctd_base,
    &sipTypeDef_QtQuick_QSGRendererInterface.ctd_base,
    &enumTypes[10].etd_base,
    &enumTypes[9].etd_base,
    &enumTypes[7].etd_base,
    &sipTypeDef_QtQuick_QSGRendererInterface_ShaderCompilationTypes.ctd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtQuick_QSGRendererInterface_ShaderSourceTypes.ctd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtQuick_QSGSimpleRectNode.ctd_base,
    &sipTypeDef_QtQuick_QSGSimpleTextureNode.ctd_base,
    &enumTypes[3].etd_base,
    &sipTypeDef_QtQuick_QSGSimpleTextureNode_TextureCoordinatesTransformMode.ctd_base,
    &sipTypeDef_QtQuick_QSGTexture.ctd_base,
    &enumTypes[0].etd_base,
    &enumTypes[1].etd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtQuick_QSGTextureMaterial.ctd_base,
    &sipTypeDef_QtQuick_QSGTextureProvider.ctd_base,
    &sipTypeDef_QtQuick_QSGTransformNode.ctd_base,
    &sipTypeDef_QtQuick_QSGVertexColorMaterial.ctd_base,
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtQuick_QtCore[] = {
    {"QChildEvent"},
    {"QEvent"},
    {"QMetaMethod"},
    {"QObject"},
    {"QPoint"},
    {"QPointF"},
    {"QRect"},
    {"QRectF"},
    {"QRunnable"},
    {"QSize"},
    {"QString"},
    {"QStringList"},
    {"QThread"},
    {"QTimerEvent"},
    {"QUrl"},
    {"QVariant"},
    {"QVector<int>"},
    {"Qt::FocusReason"},
    {"Qt::InputMethodQueries"},
    {"Qt::InputMethodQuery"},
    {"Qt::MouseButtons"},
    {NULL}
};


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


/* This defines the types that this module needs to import from QtQml. */
sipImportedTypeDef sipImportedTypes_QtQuick_QtQml[] = {
    {"QList<QQmlError>"},
    {"QQmlContext"},
    {"QQmlEngine"},
    {"QQmlImageProviderBase"},
    {"QQmlImageProviderBase::Flags"},
    {"QQmlImageProviderBase::ImageType"},
    {"QQmlIncubationController"},
    {"QQmlParserStatus"},
    {NULL}
};


/* This defines the types that this module needs to import from QtGui. */
sipImportedTypeDef sipImportedTypes_QtQuick_QtGui[] = {
    {"QColor"},
    {"QCursor"},
    {"QDragEnterEvent"},
    {"QDragLeaveEvent"},
    {"QDragMoveEvent"},
    {"QDropEvent"},
    {"QExposeEvent"},
    {"QFocusEvent"},
    {"QHideEvent"},
    {"QHoverEvent"},
    {"QImage"},
    {"QInputMethodEvent"},
    {"QKeyEvent"},
    {"QMatrix4x4"},
    {"QMouseEvent"},
    {"QMoveEvent"},
    {"QOpenGLContext"},
    {"QOpenGLFramebufferObject"},
    {"QOpenGLShader::ShaderType"},
    {"QOpenGLShaderProgram"},
    {"QPainter"},
    {"QPixmap"},
    {"QRegion"},
    {"QResizeEvent"},
    {"QShowEvent"},
    {"QSurface"},
    {"QSurface::SurfaceType"},
    {"QSurfaceFormat"},
    {"QTabletEvent"},
    {"QTextDocument"},
    {"QTouchEvent"},
    {"QWheelEvent"},
    {"QWindow"},
    {NULL}
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt5.QtCore", sipImportedTypes_QtQuick_QtCore, sipImportedVirtErrorHandlers_QtQuick_QtCore, NULL},
    {"PyQt5.QtNetwork", NULL, NULL, NULL},
    {"PyQt5.QtQml", sipImportedTypes_QtQuick_QtQml, NULL, NULL},
    {"PyQt5.QtGui", sipImportedTypes_QtQuick_QtGui, NULL, NULL},
    {NULL, NULL, NULL, NULL}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QQuickWindow, {3, 0, 0}, NULL},
    {sipSubClass_QSGNode, {62, 255, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtQuick = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtQuick,
    0,
    sipStrings_QtQuick,
    importsTable,
    NULL,
    97,
    sipExportedTypes_QtQuick,
    NULL,
    0,
    NULL,
    0,
    NULL,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_QtQuick;

sip_qt_metaobject_func sip_QtQuick_qt_metaobject;
sip_qt_metacall_func sip_QtQuick_qt_metacall;
sip_qt_metacast_func sip_QtQuick_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtQuick
#define SIP_MODULE_TYPE         PyObject *
#define SIP_MODULE_DISCARD(r)   Py_DECREF(r)
#define SIP_MODULE_RETURN(r)    return (r)
#else
#define SIP_MODULE_ENTRY        initQtQuick
#define SIP_MODULE_TYPE         void
#define SIP_MODULE_DISCARD(r)
#define SIP_MODULE_RETURN(r)    return
#endif

#if defined(SIP_STATIC_MODULE)
extern "C" SIP_MODULE_TYPE SIP_MODULE_ENTRY()
#else
PyMODINIT_FUNC SIP_MODULE_ENTRY()
#endif
{
    static PyMethodDef sip_methods[] = {
        {0, 0, 0, 0}
    };

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

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

    /* Initialise the module and get it's dictionary. */
#if PY_MAJOR_VERSION >= 3
    sipModule = PyModule_Create(&sip_module_def);
#elif PY_VERSION_HEX >= 0x02050000
    sipModule = Py_InitModule(sipName_PyQt5_QtQuick, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt5_QtQuick), sip_methods);
#endif

    if (sipModule == NULL)
        SIP_MODULE_RETURN(NULL);

    sipModuleDict = PyModule_GetDict(sipModule);

    /* Get the SIP module's API. */
#if PY_VERSION_HEX >= 0x02050000
    sip_sipmod = PyImport_ImportModule(SIP_MODULE_NAME);
#else
    sip_sipmod = PyImport_ImportModule(const_cast<char *>(SIP_MODULE_NAME));
#endif

    if (sip_sipmod == NULL)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

    sip_capiobj = PyDict_GetItemString(PyModule_GetDict(sip_sipmod), "_C_API");
    Py_DECREF(sip_sipmod);

#if defined(SIP_USE_PYCAPSULE)
    if (sip_capiobj == NULL || !PyCapsule_CheckExact(sip_capiobj))
#else
    if (sip_capiobj == NULL || !PyCObject_Check(sip_capiobj))
#endif
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

#if defined(SIP_USE_PYCAPSULE)
    sipAPI_QtQuick = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_QtQuick = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtQuick_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtQuick_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtQuick_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

    /* Initialise the module now all its dependencies have been set up. */
    if (sipInitModule(&sipModuleAPI_QtQuick,sipModuleDict) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }
#line 280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
qpyquick_post_init();
#line 2810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 2821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 2928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


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

#line 152 "sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

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

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

            if (!tobj)
            {
                Py_DECREF(l);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 2966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtQuick_QList_0101QQuickItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4232,     /* QList<QQuickItem*> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QQuickItem,
    array_QList_0101QQuickItem,
    copy_QList_0101QQuickItem,
    release_QList_0101QQuickItem,
    convertTo_QList_0101QQuickItem,
    convertFrom_QList_0101QQuickItem
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgvertexcolormaterial.sip"
#include <qsgvertexcolormaterial.h>
#line 2998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGVertexColorMaterial : public  ::QSGVertexColorMaterial
{
public:
    sipQSGVertexColorMaterial();
    virtual ~sipQSGVertexColorMaterial();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QSGMaterialType* sipProtectVirt_type(bool) const;
     ::QSGMaterialShader* sipProtectVirt_createShader(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QSGMaterialType* type() const;
     ::QSGMaterialShader* createShader() const;
    int compare(const  ::QSGMaterial*) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipQSGVertexColorMaterial::sipQSGVertexColorMaterial():  ::QSGVertexColorMaterial(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

 ::QSGMaterialType* sipQSGVertexColorMaterial::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGVertexColorMaterial::type();

    extern  ::QSGMaterialType* sipVH_QtQuick_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_53(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGMaterialShader* sipQSGVertexColorMaterial::createShader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGVertexColorMaterial::createShader();

    extern  ::QSGMaterialShader* sipVH_QtQuick_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_54(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSGVertexColorMaterial::compare(const  ::QSGMaterial*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGVertexColorMaterial::compare(a0);

    extern int sipVH_QtQuick_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QSGMaterial*);

    return sipVH_QtQuick_55(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSGMaterialType* sipQSGVertexColorMaterial::sipProtectVirt_type(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QSGVertexColorMaterial::type() : type());
}

 ::QSGMaterialShader* sipQSGVertexColorMaterial::sipProtectVirt_createShader(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QSGVertexColorMaterial::createShader() : createShader());
}


PyDoc_STRVAR(doc_QSGVertexColorMaterial_compare, "compare(self, QSGMaterial) -> int");

extern "C" {static PyObject *meth_QSGVertexColorMaterial_compare(PyObject *, PyObject *);}
static PyObject *meth_QSGVertexColorMaterial_compare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGMaterial* a0;
        const  ::QSGVertexColorMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGVertexColorMaterial, &sipCpp, sipType_QSGMaterial, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGVertexColorMaterial::compare(a0) : sipCpp->compare(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGVertexColorMaterial, sipName_compare, doc_QSGVertexColorMaterial_compare);

    return NULL;
}


PyDoc_STRVAR(doc_QSGVertexColorMaterial_type, "type(self) -> QSGMaterialType");

extern "C" {static PyObject *meth_QSGVertexColorMaterial_type(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGVertexColorMaterial_type(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQSGVertexColorMaterial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGVertexColorMaterial, &sipCpp))
        {
             ::QSGMaterialType*sipRes;

            sipRes = sipCpp->sipProtectVirt_type(sipSelfWasArg);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QSGVertexColorMaterial_createShader, "createShader(self) -> QSGMaterialShader");

extern "C" {static PyObject *meth_QSGVertexColorMaterial_createShader(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGVertexColorMaterial_createShader(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQSGVertexColorMaterial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGVertexColorMaterial, &sipCpp))
        {
             ::QSGMaterialShader*sipRes;

            sipRes = sipCpp->sipProtectVirt_createShader(sipSelfWasArg);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGVertexColorMaterial, sipName_createShader, doc_QSGVertexColorMaterial_createShader);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGVertexColorMaterial(void *, const sipTypeDef *);}
static void *cast_QSGVertexColorMaterial(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGVertexColorMaterial *sipCpp = reinterpret_cast< ::QSGVertexColorMaterial *>(sipCppV);

    if (targetType == sipType_QSGMaterial)
        return static_cast< ::QSGMaterial *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGVertexColorMaterial(void *, int);}
static void release_QSGVertexColorMaterial(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGVertexColorMaterial *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGVertexColorMaterial *>(sipCppV);
}


extern "C" {static void dealloc_QSGVertexColorMaterial(sipSimpleWrapper *);}
static void dealloc_QSGVertexColorMaterial(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGVertexColorMaterial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGVertexColorMaterial[] = {
    {SIP_MLNAME_CAST(sipName_compare), meth_QSGVertexColorMaterial_compare, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGVertexColorMaterial_compare)},
    {SIP_MLNAME_CAST(sipName_createShader), (PyCFunction)meth_QSGVertexColorMaterial_createShader, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGVertexColorMaterial_createShader)},
    {SIP_MLNAME_CAST(sipName_type), (PyCFunction)meth_QSGVertexColorMaterial_type, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGVertexColorMaterial_type)}
};

PyDoc_STRVAR(doc_QSGVertexColorMaterial, "\1QSGVertexColorMaterial()");


static pyqt5ClassPluginDef plugin_QSGVertexColorMaterial = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGVertexColorMaterial = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGVertexColorMaterial,
        {0},
        &plugin_QSGVertexColorMaterial
    },
    {
        sipNameNr_QSGVertexColorMaterial,
        {0, 0, 1},
        3, methods_QSGVertexColorMaterial,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGVertexColorMaterial,
    -1,
    -1,
    supers_QSGVertexColorMaterial,
    0,
    init_type_QSGVertexColorMaterial,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGVertexColorMaterial,
    0,
    0,
    0,
    release_QSGVertexColorMaterial,
    cast_QSGVertexColorMaterial,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 3330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 3334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 3337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 3379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGTextureProvider : public  ::QSGTextureProvider
{
public:
    sipQSGTextureProvider();
    virtual ~sipQSGTextureProvider();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QSGTexture* texture() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipQSGTextureProvider::sipQSGTextureProvider():  ::QSGTextureProvider(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQSGTextureProvider::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QSGTextureProvider);

    return  ::QSGTextureProvider::metaObject();
}

int sipQSGTextureProvider::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSGTextureProvider::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QSGTextureProvider,_c,_id,_a);

    return _id;
}

void *sipQSGTextureProvider::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QSGTextureProvider, _clname, &sipCpp) ? sipCpp :  ::QSGTextureProvider::qt_metacast(_clname));
}

 ::QSGTexture* sipQSGTextureProvider::texture() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern  ::QSGTexture* sipVH_QtQuick_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_83(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSGTextureProvider::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSGTextureProvider::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSGTextureProvider::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSGTextureProvider::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSGTextureProvider::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSGTextureProvider::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSGTextureProvider::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSGTextureProvider::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSGTextureProvider::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QSGTextureProvider_sender, "sender(self) -> QObject");

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

    {
        const sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGTextureProvider, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 3692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_sender, doc_QSGTextureProvider_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_receivers, "receivers(self, PYQT_SIGNAL) -> int");

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

    {
        PyObject * a0;
        const sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSGTextureProvider, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 3752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_receivers, doc_QSGTextureProvider_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSGTextureProvider_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTextureProvider_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGTextureProvider, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_timerEvent, doc_QSGTextureProvider_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSGTextureProvider_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTextureProvider_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGTextureProvider, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_childEvent, doc_QSGTextureProvider_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSGTextureProvider_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTextureProvider_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGTextureProvider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_customEvent, doc_QSGTextureProvider_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGTextureProvider_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTextureProvider_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGTextureProvider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_connectNotify, doc_QSGTextureProvider_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGTextureProvider_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTextureProvider_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGTextureProvider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_disconnectNotify, doc_QSGTextureProvider_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_senderSignalIndex, "senderSignalIndex(self) -> int");

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

    {
        const sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGTextureProvider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_senderSignalIndex, doc_QSGTextureProvider_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

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

    {
        const  ::QMetaMethod* a0;
        const sipQSGTextureProvider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGTextureProvider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_isSignalConnected, doc_QSGTextureProvider_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureProvider_texture, "texture(self) -> QSGTexture");

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

    {
        const  ::QSGTextureProvider *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGTextureProvider, sipName_texture);
                return NULL;
            }

            sipRes = sipCpp->texture();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureProvider, sipName_texture, doc_QSGTextureProvider_texture);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGTextureProvider(void *, const sipTypeDef *);}
static void *cast_QSGTextureProvider(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGTextureProvider *sipCpp = reinterpret_cast< ::QSGTextureProvider *>(sipCppV);

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

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGTextureProvider(void *, int);}
static void release_QSGTextureProvider(void *sipCppV, int)
{
     ::QSGTextureProvider *sipCpp = reinterpret_cast< ::QSGTextureProvider *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSGTextureProvider(sipSimpleWrapper *);}
static void dealloc_QSGTextureProvider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGTextureProvider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSGTextureProvider[] = {{3, 0, 1}};


static PyMethodDef methods_QSGTextureProvider[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSGTextureProvider_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSGTextureProvider_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSGTextureProvider_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSGTextureProvider_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSGTextureProvider_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSGTextureProvider_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSGTextureProvider_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSGTextureProvider_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_texture), meth_QSGTextureProvider_texture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTextureProvider_texture)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSGTextureProvider_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QSGTextureProvider, "\1QSGTextureProvider()");


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


static pyqt5ClassPluginDef plugin_QSGTextureProvider = {
    & ::QSGTextureProvider::staticMetaObject,
    0,
    signals_QSGTextureProvider,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGTextureProvider = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGTextureProvider,
        {0},
        &plugin_QSGTextureProvider
    },
    {
        sipNameNr_QSGTextureProvider,
        {0, 0, 1},
        10, methods_QSGTextureProvider,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGTextureProvider,
    -1,
    -1,
    supers_QSGTextureProvider,
    0,
    init_type_QSGTextureProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGTextureProvider,
    0,
    0,
    0,
    release_QSGTextureProvider,
    cast_QSGTextureProvider,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexturematerial.sip"
#include <qsgtexturematerial.h>
#line 4156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 4166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGTextureMaterial : public  ::QSGTextureMaterial
{
public:
    sipQSGTextureMaterial();
    virtual ~sipQSGTextureMaterial();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int compare(const  ::QSGMaterial*) const;
     ::QSGMaterialShader* createShader() const;
     ::QSGMaterialType* type() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipQSGTextureMaterial::sipQSGTextureMaterial():  ::QSGTextureMaterial(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

int sipQSGTextureMaterial::compare(const  ::QSGMaterial*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGTextureMaterial::compare(a0);

    extern int sipVH_QtQuick_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QSGMaterial*);

    return sipVH_QtQuick_55(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSGMaterialShader* sipQSGTextureMaterial::createShader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGTextureMaterial::createShader();

    extern  ::QSGMaterialShader* sipVH_QtQuick_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_54(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGMaterialType* sipQSGTextureMaterial::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGTextureMaterial::type();

    extern  ::QSGMaterialType* sipVH_QtQuick_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_53(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGTextureMaterial_type, "type(self) -> QSGMaterialType");

extern "C" {static PyObject *meth_QSGTextureMaterial_type(PyObject *, PyObject *);}
static PyObject *meth_QSGTextureMaterial_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGTextureMaterial *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGTextureMaterial::type() : sipCpp->type());

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QSGTextureMaterial_createShader, "createShader(self) -> QSGMaterialShader");

extern "C" {static PyObject *meth_QSGTextureMaterial_createShader(PyObject *, PyObject *);}
static PyObject *meth_QSGTextureMaterial_createShader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGTextureMaterial *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGTextureMaterial::createShader() : sipCpp->createShader());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTextureMaterial, sipName_createShader, doc_QSGTextureMaterial_createShader);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGTextureMaterial(void *, const sipTypeDef *);}
static void *cast_QSGTextureMaterial(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGTextureMaterial *sipCpp = reinterpret_cast< ::QSGTextureMaterial *>(sipCppV);

    if (targetType == sipType_QSGOpaqueTextureMaterial)
        return static_cast< ::QSGOpaqueTextureMaterial *>(sipCpp);

    if (targetType == sipType_QSGMaterial)
        return static_cast< ::QSGMaterial *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGTextureMaterial(void *, int);}
static void release_QSGTextureMaterial(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGTextureMaterial *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGTextureMaterial *>(sipCppV);
}


extern "C" {static void dealloc_QSGTextureMaterial(sipSimpleWrapper *);}
static void dealloc_QSGTextureMaterial(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGTextureMaterial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGTextureMaterial[] = {
    {SIP_MLNAME_CAST(sipName_createShader), meth_QSGTextureMaterial_createShader, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTextureMaterial_createShader)},
    {SIP_MLNAME_CAST(sipName_type), meth_QSGTextureMaterial_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTextureMaterial_type)}
};

PyDoc_STRVAR(doc_QSGTextureMaterial, "\1QSGTextureMaterial()");


static pyqt5ClassPluginDef plugin_QSGTextureMaterial = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGTextureMaterial = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGTextureMaterial,
        {0},
        &plugin_QSGTextureMaterial
    },
    {
        sipNameNr_QSGTextureMaterial,
        {0, 0, 1},
        2, methods_QSGTextureMaterial,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGTextureMaterial,
    -1,
    -1,
    supers_QSGTextureMaterial,
    0,
    init_type_QSGTextureMaterial,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGTextureMaterial,
    0,
    0,
    0,
    release_QSGTextureMaterial,
    cast_QSGTextureMaterial,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexturematerial.sip"
#include <qsgtexturematerial.h>
#line 4446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 4450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 4462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGOpaqueTextureMaterial : public  ::QSGOpaqueTextureMaterial
{
public:
    sipQSGOpaqueTextureMaterial();
    virtual ~sipQSGOpaqueTextureMaterial();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QSGMaterialType* type() const;
     ::QSGMaterialShader* createShader() const;
    int compare(const  ::QSGMaterial*) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipQSGOpaqueTextureMaterial::sipQSGOpaqueTextureMaterial():  ::QSGOpaqueTextureMaterial(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

 ::QSGMaterialType* sipQSGOpaqueTextureMaterial::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGOpaqueTextureMaterial::type();

    extern  ::QSGMaterialType* sipVH_QtQuick_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_53(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGMaterialShader* sipQSGOpaqueTextureMaterial::createShader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGOpaqueTextureMaterial::createShader();

    extern  ::QSGMaterialShader* sipVH_QtQuick_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_54(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSGOpaqueTextureMaterial::compare(const  ::QSGMaterial*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGOpaqueTextureMaterial::compare(a0);

    extern int sipVH_QtQuick_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QSGMaterial*);

    return sipVH_QtQuick_55(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_type, "type(self) -> QSGMaterialType");

extern "C" {static PyObject *meth_QSGOpaqueTextureMaterial_type(PyObject *, PyObject *);}
static PyObject *meth_QSGOpaqueTextureMaterial_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGOpaqueTextureMaterial::type() : sipCpp->type());

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_createShader, "createShader(self) -> QSGMaterialShader");

extern "C" {static PyObject *meth_QSGOpaqueTextureMaterial_createShader(PyObject *, PyObject *);}
static PyObject *meth_QSGOpaqueTextureMaterial_createShader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGOpaqueTextureMaterial::createShader() : sipCpp->createShader());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_createShader, doc_QSGOpaqueTextureMaterial_createShader);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_compare, "compare(self, QSGMaterial) -> int");

extern "C" {static PyObject *meth_QSGOpaqueTextureMaterial_compare(PyObject *, PyObject *);}
static PyObject *meth_QSGOpaqueTextureMaterial_compare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGMaterial* a0;
        const  ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp, sipType_QSGMaterial, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGOpaqueTextureMaterial::compare(a0) : sipCpp->compare(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_compare, doc_QSGOpaqueTextureMaterial_compare);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_setTexture, "setTexture(self, QSGTexture)");

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

    {
         ::QSGTexture* a0;
         ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp, sipType_QSGTexture, &a0))
        {
            sipCpp->setTexture(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_setTexture, doc_QSGOpaqueTextureMaterial_setTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_texture, "texture(self) -> QSGTexture");

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

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

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

            sipRes = sipCpp->texture();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_texture, doc_QSGOpaqueTextureMaterial_texture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_setMipmapFiltering, "setMipmapFiltering(self, QSGTexture.Filtering)");

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

    {
         ::QSGTexture::Filtering a0;
         ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp, sipType_QSGTexture_Filtering, &a0))
        {
            sipCpp->setMipmapFiltering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_setMipmapFiltering, doc_QSGOpaqueTextureMaterial_setMipmapFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_mipmapFiltering, "mipmapFiltering(self) -> QSGTexture.Filtering");

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

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp))
        {
             ::QSGTexture::Filtering sipRes;

            sipRes = sipCpp->mipmapFiltering();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_Filtering);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_mipmapFiltering, doc_QSGOpaqueTextureMaterial_mipmapFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_setFiltering, "setFiltering(self, QSGTexture.Filtering)");

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

    {
         ::QSGTexture::Filtering a0;
         ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp, sipType_QSGTexture_Filtering, &a0))
        {
            sipCpp->setFiltering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_setFiltering, doc_QSGOpaqueTextureMaterial_setFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_filtering, "filtering(self) -> QSGTexture.Filtering");

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

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp))
        {
             ::QSGTexture::Filtering sipRes;

            sipRes = sipCpp->filtering();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_Filtering);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_filtering, doc_QSGOpaqueTextureMaterial_filtering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_setHorizontalWrapMode, "setHorizontalWrapMode(self, QSGTexture.WrapMode)");

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

    {
         ::QSGTexture::WrapMode a0;
         ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp, sipType_QSGTexture_WrapMode, &a0))
        {
            sipCpp->setHorizontalWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_setHorizontalWrapMode, doc_QSGOpaqueTextureMaterial_setHorizontalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_horizontalWrapMode, "horizontalWrapMode(self) -> QSGTexture.WrapMode");

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

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp))
        {
             ::QSGTexture::WrapMode sipRes;

            sipRes = sipCpp->horizontalWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_WrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_horizontalWrapMode, doc_QSGOpaqueTextureMaterial_horizontalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_setVerticalWrapMode, "setVerticalWrapMode(self, QSGTexture.WrapMode)");

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

    {
         ::QSGTexture::WrapMode a0;
         ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp, sipType_QSGTexture_WrapMode, &a0))
        {
            sipCpp->setVerticalWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_setVerticalWrapMode, doc_QSGOpaqueTextureMaterial_setVerticalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_verticalWrapMode, "verticalWrapMode(self) -> QSGTexture.WrapMode");

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

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp))
        {
             ::QSGTexture::WrapMode sipRes;

            sipRes = sipCpp->verticalWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_WrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_verticalWrapMode, doc_QSGOpaqueTextureMaterial_verticalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_setAnisotropyLevel, "setAnisotropyLevel(self, QSGTexture.AnisotropyLevel)");

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

    {
         ::QSGTexture::AnisotropyLevel a0;
         ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp, sipType_QSGTexture_AnisotropyLevel, &a0))
        {
            sipCpp->setAnisotropyLevel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_setAnisotropyLevel, doc_QSGOpaqueTextureMaterial_setAnisotropyLevel);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_anisotropyLevel, "anisotropyLevel(self) -> QSGTexture.AnisotropyLevel");

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

    {
        const  ::QSGOpaqueTextureMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGOpaqueTextureMaterial, &sipCpp))
        {
             ::QSGTexture::AnisotropyLevel sipRes;

            sipRes = sipCpp->anisotropyLevel();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_AnisotropyLevel);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpaqueTextureMaterial, sipName_anisotropyLevel, doc_QSGOpaqueTextureMaterial_anisotropyLevel);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGOpaqueTextureMaterial(void *, const sipTypeDef *);}
static void *cast_QSGOpaqueTextureMaterial(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGOpaqueTextureMaterial *sipCpp = reinterpret_cast< ::QSGOpaqueTextureMaterial *>(sipCppV);

    if (targetType == sipType_QSGMaterial)
        return static_cast< ::QSGMaterial *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGOpaqueTextureMaterial(void *, int);}
static void release_QSGOpaqueTextureMaterial(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGOpaqueTextureMaterial *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGOpaqueTextureMaterial *>(sipCppV);
}


extern "C" {static void dealloc_QSGOpaqueTextureMaterial(sipSimpleWrapper *);}
static void dealloc_QSGOpaqueTextureMaterial(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGOpaqueTextureMaterial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGOpaqueTextureMaterial[] = {
    {SIP_MLNAME_CAST(sipName_anisotropyLevel), meth_QSGOpaqueTextureMaterial_anisotropyLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_anisotropyLevel)},
    {SIP_MLNAME_CAST(sipName_compare), meth_QSGOpaqueTextureMaterial_compare, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_compare)},
    {SIP_MLNAME_CAST(sipName_createShader), meth_QSGOpaqueTextureMaterial_createShader, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_createShader)},
    {SIP_MLNAME_CAST(sipName_filtering), meth_QSGOpaqueTextureMaterial_filtering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_filtering)},
    {SIP_MLNAME_CAST(sipName_horizontalWrapMode), meth_QSGOpaqueTextureMaterial_horizontalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_horizontalWrapMode)},
    {SIP_MLNAME_CAST(sipName_mipmapFiltering), meth_QSGOpaqueTextureMaterial_mipmapFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_mipmapFiltering)},
    {SIP_MLNAME_CAST(sipName_setAnisotropyLevel), meth_QSGOpaqueTextureMaterial_setAnisotropyLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_setAnisotropyLevel)},
    {SIP_MLNAME_CAST(sipName_setFiltering), meth_QSGOpaqueTextureMaterial_setFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_setFiltering)},
    {SIP_MLNAME_CAST(sipName_setHorizontalWrapMode), meth_QSGOpaqueTextureMaterial_setHorizontalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_setHorizontalWrapMode)},
    {SIP_MLNAME_CAST(sipName_setMipmapFiltering), meth_QSGOpaqueTextureMaterial_setMipmapFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_setMipmapFiltering)},
    {SIP_MLNAME_CAST(sipName_setTexture), meth_QSGOpaqueTextureMaterial_setTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_setTexture)},
    {SIP_MLNAME_CAST(sipName_setVerticalWrapMode), meth_QSGOpaqueTextureMaterial_setVerticalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_setVerticalWrapMode)},
    {SIP_MLNAME_CAST(sipName_texture), meth_QSGOpaqueTextureMaterial_texture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_texture)},
    {SIP_MLNAME_CAST(sipName_type), meth_QSGOpaqueTextureMaterial_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_type)},
    {SIP_MLNAME_CAST(sipName_verticalWrapMode), meth_QSGOpaqueTextureMaterial_verticalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpaqueTextureMaterial_verticalWrapMode)}
};

PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial, "\1QSGOpaqueTextureMaterial()");


static pyqt5ClassPluginDef plugin_QSGOpaqueTextureMaterial = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGOpaqueTextureMaterial = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGOpaqueTextureMaterial,
        {0},
        &plugin_QSGOpaqueTextureMaterial
    },
    {
        sipNameNr_QSGOpaqueTextureMaterial,
        {0, 0, 1},
        15, methods_QSGOpaqueTextureMaterial,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGOpaqueTextureMaterial,
    -1,
    -1,
    supers_QSGOpaqueTextureMaterial,
    0,
    init_type_QSGOpaqueTextureMaterial,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGOpaqueTextureMaterial,
    0,
    0,
    0,
    release_QSGOpaqueTextureMaterial,
    cast_QSGOpaqueTextureMaterial,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 87 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 5112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 5116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 5125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 5167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGDynamicTexture : public  ::QSGDynamicTexture
{
public:
    sipQSGDynamicTexture();
    virtual ~sipQSGDynamicTexture();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool updateTexture();
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int textureId() const;
     ::QSize textureSize() const;
    bool hasAlphaChannel() const;
    bool hasMipmaps() const;
     ::QRectF normalizedTextureSubRect() const;
    bool isAtlasTexture() const;
     ::QSGTexture* removedFromAtlas() const;
    void bind();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipQSGDynamicTexture::sipQSGDynamicTexture():  ::QSGDynamicTexture(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQSGDynamicTexture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QSGDynamicTexture);

    return  ::QSGDynamicTexture::metaObject();
}

int sipQSGDynamicTexture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSGDynamicTexture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QSGDynamicTexture,_c,_id,_a);

    return _id;
}

void *sipQSGDynamicTexture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QSGDynamicTexture, _clname, &sipCpp) ? sipCpp :  ::QSGDynamicTexture::qt_metacast(_clname));
}

bool sipQSGDynamicTexture::updateTexture()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QSGDynamicTexture,sipName_updateTexture);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQSGDynamicTexture::textureId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_QSGDynamicTexture,sipName_textureId);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_31(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSGDynamicTexture::textureSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_QSGDynamicTexture,sipName_textureSize);

    if (!sipMeth)
        return  ::QSize();

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

    return sipVH_QtQuick_30(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGDynamicTexture::hasAlphaChannel() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_QSGDynamicTexture,sipName_hasAlphaChannel);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGDynamicTexture::hasMipmaps() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,sipName_QSGDynamicTexture,sipName_hasMipmaps);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQSGDynamicTexture::normalizedTextureSubRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGDynamicTexture::normalizedTextureSubRect();

    extern  ::QRectF sipVH_QtQuick_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_57(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGDynamicTexture::isAtlasTexture() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGDynamicTexture::isAtlasTexture();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGTexture* sipQSGDynamicTexture::removedFromAtlas() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGDynamicTexture::removedFromAtlas();

    extern  ::QSGTexture* sipVH_QtQuick_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_59(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGDynamicTexture::bind()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,sipName_QSGDynamicTexture,sipName_bind);

    if (!sipMeth)
        return;

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QObject* sipQSGDynamicTexture::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSGDynamicTexture::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSGDynamicTexture::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSGDynamicTexture::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSGDynamicTexture::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSGDynamicTexture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSGDynamicTexture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSGDynamicTexture::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSGDynamicTexture::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QSGDynamicTexture_sender, "sender(self) -> QObject");

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

    {
        const sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGDynamicTexture, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 5608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_sender, doc_QSGDynamicTexture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_receivers, "receivers(self, PYQT_SIGNAL) -> int");

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

    {
        PyObject * a0;
        const sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSGDynamicTexture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 5668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_receivers, doc_QSGDynamicTexture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSGDynamicTexture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGDynamicTexture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGDynamicTexture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_timerEvent, doc_QSGDynamicTexture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSGDynamicTexture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGDynamicTexture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGDynamicTexture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_childEvent, doc_QSGDynamicTexture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSGDynamicTexture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGDynamicTexture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGDynamicTexture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_customEvent, doc_QSGDynamicTexture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGDynamicTexture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGDynamicTexture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGDynamicTexture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_connectNotify, doc_QSGDynamicTexture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGDynamicTexture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGDynamicTexture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGDynamicTexture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_disconnectNotify, doc_QSGDynamicTexture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_senderSignalIndex, "senderSignalIndex(self) -> int");

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

    {
        const sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGDynamicTexture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_senderSignalIndex, doc_QSGDynamicTexture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

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

    {
        const  ::QMetaMethod* a0;
        const sipQSGDynamicTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGDynamicTexture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_isSignalConnected, doc_QSGDynamicTexture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSGDynamicTexture_updateTexture, "updateTexture(self) -> bool");

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

    {
         ::QSGDynamicTexture *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGDynamicTexture, sipName_updateTexture);
                return NULL;
            }

            sipRes = sipCpp->updateTexture();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGDynamicTexture, sipName_updateTexture, doc_QSGDynamicTexture_updateTexture);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGDynamicTexture(void *, const sipTypeDef *);}
static void *cast_QSGDynamicTexture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGDynamicTexture *sipCpp = reinterpret_cast< ::QSGDynamicTexture *>(sipCppV);

    if (targetType == sipType_QSGTexture)
        return static_cast< ::QSGTexture *>(sipCpp);

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

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGDynamicTexture(void *, int);}
static void release_QSGDynamicTexture(void *sipCppV, int)
{
     ::QSGDynamicTexture *sipCpp = reinterpret_cast< ::QSGDynamicTexture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSGDynamicTexture(sipSimpleWrapper *);}
static void dealloc_QSGDynamicTexture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGDynamicTexture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGDynamicTexture[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSGDynamicTexture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSGDynamicTexture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSGDynamicTexture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSGDynamicTexture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSGDynamicTexture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSGDynamicTexture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSGDynamicTexture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSGDynamicTexture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSGDynamicTexture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateTexture), meth_QSGDynamicTexture_updateTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGDynamicTexture_updateTexture)}
};

PyDoc_STRVAR(doc_QSGDynamicTexture, "\1QSGDynamicTexture()");


static pyqt5ClassPluginDef plugin_QSGDynamicTexture = {
    & ::QSGDynamicTexture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGDynamicTexture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGDynamicTexture,
        {0},
        &plugin_QSGDynamicTexture
    },
    {
        sipNameNr_QSGDynamicTexture,
        {0, 0, 1},
        10, methods_QSGDynamicTexture,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGDynamicTexture,
    -1,
    -1,
    supers_QSGDynamicTexture,
    0,
    init_type_QSGDynamicTexture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGDynamicTexture,
    0,
    0,
    0,
    release_QSGDynamicTexture,
    cast_QSGDynamicTexture,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 6068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 6075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 6078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 6120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGTexture : public  ::QSGTexture
{
public:
    sipQSGTexture();
    virtual ~sipQSGTexture();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void bind();
     ::QSGTexture* removedFromAtlas() const;
    bool isAtlasTexture() const;
     ::QRectF normalizedTextureSubRect() const;
    bool hasMipmaps() const;
    bool hasAlphaChannel() const;
     ::QSize textureSize() const;
    int textureId() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[15];
};

sipQSGTexture::sipQSGTexture():  ::QSGTexture(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQSGTexture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QSGTexture);

    return  ::QSGTexture::metaObject();
}

int sipQSGTexture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSGTexture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QSGTexture,_c,_id,_a);

    return _id;
}

void *sipQSGTexture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QSGTexture, _clname, &sipCpp) ? sipCpp :  ::QSGTexture::qt_metacast(_clname));
}

void sipQSGTexture::bind()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QSGTexture,sipName_bind);

    if (!sipMeth)
        return;

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGTexture* sipQSGTexture::removedFromAtlas() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGTexture::removedFromAtlas();

    extern  ::QSGTexture* sipVH_QtQuick_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_59(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGTexture::isAtlasTexture() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGTexture::isAtlasTexture();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQSGTexture::normalizedTextureSubRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGTexture::normalizedTextureSubRect();

    extern  ::QRectF sipVH_QtQuick_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_57(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGTexture::hasMipmaps() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGTexture::hasAlphaChannel() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQSGTexture::textureSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,sipName_QSGTexture,sipName_textureSize);

    if (!sipMeth)
        return  ::QSize();

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

    return sipVH_QtQuick_30(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSGTexture::textureId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_31(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSGTexture::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSGTexture::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSGTexture::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSGTexture::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSGTexture::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSGTexture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSGTexture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSGTexture::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSGTexture::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QSGTexture_sender, "sender(self) -> QObject");

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

    {
        const sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 6545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_sender, doc_QSGTexture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_receivers, "receivers(self, PYQT_SIGNAL) -> int");

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

    {
        PyObject * a0;
        const sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSGTexture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 6605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_receivers, doc_QSGTexture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSGTexture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_timerEvent, doc_QSGTexture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSGTexture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_childEvent, doc_QSGTexture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSGTexture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_customEvent, doc_QSGTexture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGTexture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_connectNotify, doc_QSGTexture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGTexture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_disconnectNotify, doc_QSGTexture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_senderSignalIndex, "senderSignalIndex(self) -> int");

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

    {
        const sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_senderSignalIndex, doc_QSGTexture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

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

    {
        const  ::QMetaMethod* a0;
        const sipQSGTexture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_isSignalConnected, doc_QSGTexture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_textureId, "textureId(self) -> int");

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

    {
        const  ::QSGTexture *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGTexture, sipName_textureId);
                return NULL;
            }

            sipRes = sipCpp->textureId();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_textureId, doc_QSGTexture_textureId);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_textureSize, "textureSize(self) -> QSize");

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

    {
        const  ::QSGTexture *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGTexture, sipName_textureSize);
                return NULL;
            }

            sipRes = new  ::QSize(sipCpp->textureSize());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_textureSize, doc_QSGTexture_textureSize);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_hasAlphaChannel, "hasAlphaChannel(self) -> bool");

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

    {
        const  ::QSGTexture *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGTexture, sipName_hasAlphaChannel);
                return NULL;
            }

            sipRes = sipCpp->hasAlphaChannel();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_hasAlphaChannel, doc_QSGTexture_hasAlphaChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_hasMipmaps, "hasMipmaps(self) -> bool");

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

    {
        const  ::QSGTexture *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGTexture, sipName_hasMipmaps);
                return NULL;
            }

            sipRes = sipCpp->hasMipmaps();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_hasMipmaps, doc_QSGTexture_hasMipmaps);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_normalizedTextureSubRect, "normalizedTextureSubRect(self) -> QRectF");

extern "C" {static PyObject *meth_QSGTexture_normalizedTextureSubRect(PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_normalizedTextureSubRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGTexture *sipCpp;

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

            sipRes = new  ::QRectF((sipSelfWasArg ? sipCpp-> ::QSGTexture::normalizedTextureSubRect() : sipCpp->normalizedTextureSubRect()));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_normalizedTextureSubRect, doc_QSGTexture_normalizedTextureSubRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_isAtlasTexture, "isAtlasTexture(self) -> bool");

extern "C" {static PyObject *meth_QSGTexture_isAtlasTexture(PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_isAtlasTexture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGTexture *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGTexture::isAtlasTexture() : sipCpp->isAtlasTexture());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_isAtlasTexture, doc_QSGTexture_isAtlasTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_removedFromAtlas, "removedFromAtlas(self) -> QSGTexture");

extern "C" {static PyObject *meth_QSGTexture_removedFromAtlas(PyObject *, PyObject *);}
static PyObject *meth_QSGTexture_removedFromAtlas(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGTexture *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGTexture::removedFromAtlas() : sipCpp->removedFromAtlas());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_removedFromAtlas, doc_QSGTexture_removedFromAtlas);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_bind, "bind(self)");

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

    {
         ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGTexture, sipName_bind);
                return NULL;
            }

            sipCpp->bind();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_bind, doc_QSGTexture_bind);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_updateBindOptions, "updateBindOptions(self, force: bool = False)");

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

    {
        bool a0 = 0;
         ::QSGTexture *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|b", &sipSelf, sipType_QSGTexture, &sipCpp, &a0))
        {
            sipCpp->updateBindOptions(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_updateBindOptions, doc_QSGTexture_updateBindOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_setMipmapFiltering, "setMipmapFiltering(self, QSGTexture.Filtering)");

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

    {
         ::QSGTexture::Filtering a0;
         ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QSGTexture_Filtering, &a0))
        {
            sipCpp->setMipmapFiltering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_setMipmapFiltering, doc_QSGTexture_setMipmapFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_mipmapFiltering, "mipmapFiltering(self) -> QSGTexture.Filtering");

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

    {
        const  ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
             ::QSGTexture::Filtering sipRes;

            sipRes = sipCpp->mipmapFiltering();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_Filtering);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_mipmapFiltering, doc_QSGTexture_mipmapFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_setFiltering, "setFiltering(self, QSGTexture.Filtering)");

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

    {
         ::QSGTexture::Filtering a0;
         ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QSGTexture_Filtering, &a0))
        {
            sipCpp->setFiltering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_setFiltering, doc_QSGTexture_setFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_filtering, "filtering(self) -> QSGTexture.Filtering");

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

    {
        const  ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
             ::QSGTexture::Filtering sipRes;

            sipRes = sipCpp->filtering();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_Filtering);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_filtering, doc_QSGTexture_filtering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_setHorizontalWrapMode, "setHorizontalWrapMode(self, QSGTexture.WrapMode)");

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

    {
         ::QSGTexture::WrapMode a0;
         ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QSGTexture_WrapMode, &a0))
        {
            sipCpp->setHorizontalWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_setHorizontalWrapMode, doc_QSGTexture_setHorizontalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_horizontalWrapMode, "horizontalWrapMode(self) -> QSGTexture.WrapMode");

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

    {
        const  ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
             ::QSGTexture::WrapMode sipRes;

            sipRes = sipCpp->horizontalWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_WrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_horizontalWrapMode, doc_QSGTexture_horizontalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_setVerticalWrapMode, "setVerticalWrapMode(self, QSGTexture.WrapMode)");

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

    {
         ::QSGTexture::WrapMode a0;
         ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QSGTexture_WrapMode, &a0))
        {
            sipCpp->setVerticalWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_setVerticalWrapMode, doc_QSGTexture_setVerticalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_verticalWrapMode, "verticalWrapMode(self) -> QSGTexture.WrapMode");

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

    {
        const  ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
             ::QSGTexture::WrapMode sipRes;

            sipRes = sipCpp->verticalWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_WrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_verticalWrapMode, doc_QSGTexture_verticalWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_convertToNormalizedSourceRect, "convertToNormalizedSourceRect(self, QRectF) -> QRectF");

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

    {
        const  ::QRectF* a0;
        const  ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QRectF, &a0))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->convertToNormalizedSourceRect(*a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_convertToNormalizedSourceRect, doc_QSGTexture_convertToNormalizedSourceRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_setAnisotropyLevel, "setAnisotropyLevel(self, QSGTexture.AnisotropyLevel)");

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

    {
         ::QSGTexture::AnisotropyLevel a0;
         ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGTexture, &sipCpp, sipType_QSGTexture_AnisotropyLevel, &a0))
        {
            sipCpp->setAnisotropyLevel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_setAnisotropyLevel, doc_QSGTexture_setAnisotropyLevel);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTexture_anisotropyLevel, "anisotropyLevel(self) -> QSGTexture.AnisotropyLevel");

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

    {
        const  ::QSGTexture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGTexture, &sipCpp))
        {
             ::QSGTexture::AnisotropyLevel sipRes;

            sipRes = sipCpp->anisotropyLevel();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_AnisotropyLevel);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTexture, sipName_anisotropyLevel, doc_QSGTexture_anisotropyLevel);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGTexture(void *, const sipTypeDef *);}
static void *cast_QSGTexture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGTexture *sipCpp = reinterpret_cast< ::QSGTexture *>(sipCppV);

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

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGTexture(void *, int);}
static void release_QSGTexture(void *sipCppV, int)
{
     ::QSGTexture *sipCpp = reinterpret_cast< ::QSGTexture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSGTexture(sipSimpleWrapper *);}
static void dealloc_QSGTexture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGTexture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSGTexture[] = {{3, 0, 1}};


static PyMethodDef methods_QSGTexture[] = {
    {SIP_MLNAME_CAST(sipName_anisotropyLevel), meth_QSGTexture_anisotropyLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_anisotropyLevel)},
    {SIP_MLNAME_CAST(sipName_bind), meth_QSGTexture_bind, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_bind)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSGTexture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSGTexture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_convertToNormalizedSourceRect), meth_QSGTexture_convertToNormalizedSourceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_convertToNormalizedSourceRect)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSGTexture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSGTexture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_filtering), meth_QSGTexture_filtering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_filtering)},
    {SIP_MLNAME_CAST(sipName_hasAlphaChannel), meth_QSGTexture_hasAlphaChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_hasAlphaChannel)},
    {SIP_MLNAME_CAST(sipName_hasMipmaps), meth_QSGTexture_hasMipmaps, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_hasMipmaps)},
    {SIP_MLNAME_CAST(sipName_horizontalWrapMode), meth_QSGTexture_horizontalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_horizontalWrapMode)},
    {SIP_MLNAME_CAST(sipName_isAtlasTexture), meth_QSGTexture_isAtlasTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_isAtlasTexture)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSGTexture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mipmapFiltering), meth_QSGTexture_mipmapFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_mipmapFiltering)},
    {SIP_MLNAME_CAST(sipName_normalizedTextureSubRect), meth_QSGTexture_normalizedTextureSubRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_normalizedTextureSubRect)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSGTexture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removedFromAtlas), meth_QSGTexture_removedFromAtlas, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_removedFromAtlas)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSGTexture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSGTexture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnisotropyLevel), meth_QSGTexture_setAnisotropyLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_setAnisotropyLevel)},
    {SIP_MLNAME_CAST(sipName_setFiltering), meth_QSGTexture_setFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_setFiltering)},
    {SIP_MLNAME_CAST(sipName_setHorizontalWrapMode), meth_QSGTexture_setHorizontalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_setHorizontalWrapMode)},
    {SIP_MLNAME_CAST(sipName_setMipmapFiltering), meth_QSGTexture_setMipmapFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_setMipmapFiltering)},
    {SIP_MLNAME_CAST(sipName_setVerticalWrapMode), meth_QSGTexture_setVerticalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_setVerticalWrapMode)},
    {SIP_MLNAME_CAST(sipName_textureId), meth_QSGTexture_textureId, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_textureId)},
    {SIP_MLNAME_CAST(sipName_textureSize), meth_QSGTexture_textureSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_textureSize)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSGTexture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateBindOptions), (PyCFunction)meth_QSGTexture_updateBindOptions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGTexture_updateBindOptions)},
    {SIP_MLNAME_CAST(sipName_verticalWrapMode), meth_QSGTexture_verticalWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTexture_verticalWrapMode)}
};

static sipEnumMemberDef enummembers_QSGTexture[] = {
    {sipName_Anisotropy16x, static_cast<int>( ::QSGTexture::Anisotropy16x), 90},
    {sipName_Anisotropy2x, static_cast<int>( ::QSGTexture::Anisotropy2x), 90},
    {sipName_Anisotropy4x, static_cast<int>( ::QSGTexture::Anisotropy4x), 90},
    {sipName_Anisotropy8x, static_cast<int>( ::QSGTexture::Anisotropy8x), 90},
    {sipName_AnisotropyNone, static_cast<int>( ::QSGTexture::AnisotropyNone), 90},
    {sipName_ClampToEdge, static_cast<int>( ::QSGTexture::ClampToEdge), 92},
    {sipName_Linear, static_cast<int>( ::QSGTexture::Linear), 91},
    {sipName_Nearest, static_cast<int>( ::QSGTexture::Nearest), 91},
    {sipName_None, static_cast<int>( ::QSGTexture::None), 91},
    {sipName_Repeat, static_cast<int>( ::QSGTexture::Repeat), 92},
};

PyDoc_STRVAR(doc_QSGTexture, "\1QSGTexture()");


static pyqt5ClassPluginDef plugin_QSGTexture = {
    & ::QSGTexture::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGTexture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGTexture,
        {0},
        &plugin_QSGTexture
    },
    {
        sipNameNr_QSGTexture,
        {0, 0, 1},
        29, methods_QSGTexture,
        10, enummembers_QSGTexture,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGTexture,
    -1,
    -1,
    supers_QSGTexture,
    0,
    init_type_QSGTexture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGTexture,
    0,
    0,
    0,
    release_QSGTexture,
    cast_QSGTexture,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 7601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 7605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___hash__(PyObject *);}
static long slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___hash__(PyObject *sipSelf)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int();
#line 7623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___bool__(PyObject *);}
static int slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___bool__(PyObject *sipSelf)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int() != 0);
#line 7648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int() != a0->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int());
#line 7678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(a0),sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int() == a0->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int());
#line 7714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(a0),sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGSimpleTextureNode::TextureCoordinatesTransformMode(*sipCpp ^ a0);
#line 7753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
             ::QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGSimpleTextureNode::TextureCoordinatesTransformMode(*sipCpp | a0);
#line 7825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
             ::QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode((*a0 | a1));
            sipReleaseType(a0,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGSimpleTextureNode::TextureCoordinatesTransformMode::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
             ::QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode((*a0 & a1));
            sipReleaseType(a0,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___invert__(PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___invert__(PyObject *sipSelf)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___int__(PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___int__(PyObject *sipSelf)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGSimpleTextureNode_TextureCoordinatesTransformMode(void *, int);}
static void release_QSGSimpleTextureNode_TextureCoordinatesTransformMode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipCppV);
}


extern "C" {static void assign_QSGSimpleTextureNode_TextureCoordinatesTransformMode(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGSimpleTextureNode_TextureCoordinatesTransformMode(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipSrc);
}


extern "C" {static void *array_QSGSimpleTextureNode_TextureCoordinatesTransformMode(SIP_SSIZE_T);}
static void *array_QSGSimpleTextureNode_TextureCoordinatesTransformMode(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode[sipNrElem];
}


extern "C" {static void *copy_QSGSimpleTextureNode_TextureCoordinatesTransformMode(const void *, SIP_SSIZE_T);}
static void *copy_QSGSimpleTextureNode_TextureCoordinatesTransformMode(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode(reinterpret_cast<const  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGSimpleTextureNode_TextureCoordinatesTransformMode(sipSimpleWrapper *);}
static void dealloc_QSGSimpleTextureNode_TextureCoordinatesTransformMode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGSimpleTextureNode_TextureCoordinatesTransformMode(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGSimpleTextureNode_TextureCoordinatesTransformMode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGSimpleTextureNode_TextureCoordinatesTransformMode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            sipCpp = new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode(*a0);
            sipReleaseType(const_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(a0),sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGSimpleTextureNode_TextureCoordinatesTransformMode(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGSimpleTextureNode_TextureCoordinatesTransformMode(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGSimpleTextureNode::TextureCoordinatesTransformMode **sipCppPtr = reinterpret_cast< ::QSGSimpleTextureNode::TextureCoordinatesTransformMode **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGSimpleTextureNode::TextureCoordinatesTransformMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGSimpleTextureNode_TextureCoordinatesTransformFlag)) ||
            sipCanConvertToType(sipPy, sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGSimpleTextureNode_TextureCoordinatesTransformFlag)))
{
    *sipCppPtr = new QSGSimpleTextureNode::TextureCoordinatesTransformMode(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGSimpleTextureNode::TextureCoordinatesTransformMode *>(sipConvertToType(sipPy, sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 8093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGSimpleTextureNode_TextureCoordinatesTransformMode[] = {
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___hash__, hash_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___bool__, bool_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ne__, ne_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___eq__, eq_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ixor__, ixor_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___xor__, xor_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ior__, ior_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___or__, or_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___iand__, iand_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___and__, and_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___invert__, invert_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGSimpleTextureNode_TextureCoordinatesTransformMode, "\1QSGSimpleTextureNode.TextureCoordinatesTransformMode()\n"
    "QSGSimpleTextureNode.TextureCoordinatesTransformMode(Union[QSGSimpleTextureNode.TextureCoordinatesTransformMode, QSGSimpleTextureNode.TextureCoordinatesTransformFlag])\n"
    "QSGSimpleTextureNode.TextureCoordinatesTransformMode(QSGSimpleTextureNode.TextureCoordinatesTransformMode)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGSimpleTextureNode_TextureCoordinatesTransformMode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGSimpleTextureNode__TextureCoordinatesTransformMode,
        {0},
        &plugin_QSGSimpleTextureNode_TextureCoordinatesTransformMode
    },
    {
        sipNameNr_TextureCoordinatesTransformMode,
        {86, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    init_type_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    assign_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    array_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    copy_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    release_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    0,
    convertTo_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 8179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 8186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 8189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 8192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 8195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGSimpleTextureNode : public  ::QSGSimpleTextureNode
{
public:
    sipQSGSimpleTextureNode();
    virtual ~sipQSGSimpleTextureNode();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isSubtreeBlocked() const;
    void preprocess();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQSGSimpleTextureNode::sipQSGSimpleTextureNode():  ::QSGSimpleTextureNode(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipQSGSimpleTextureNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGSimpleTextureNode::isSubtreeBlocked();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGSimpleTextureNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGSimpleTextureNode::preprocess();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_setRect, "setRect(self, QRectF)\n"
    "setRect(self, float, float, float, float)");

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

    {
        const  ::QRectF* a0;
         ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_setRect, doc_QSGSimpleTextureNode_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_rect, "rect(self) -> QRectF");

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

    {
        const  ::QSGSimpleTextureNode *sipCpp;

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

            sipRes = new  ::QRectF(sipCpp->rect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_rect, doc_QSGSimpleTextureNode_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_setTexture, "setTexture(self, QSGTexture)");

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

    {
         ::QSGTexture* a0;
         ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp, sipType_QSGTexture, &a0))
        {
            sipCpp->setTexture(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_setTexture, doc_QSGSimpleTextureNode_setTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_texture, "texture(self) -> QSGTexture");

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

    {
        const  ::QSGSimpleTextureNode *sipCpp;

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

            sipRes = sipCpp->texture();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_texture, doc_QSGSimpleTextureNode_texture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_setFiltering, "setFiltering(self, QSGTexture.Filtering)");

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

    {
         ::QSGTexture::Filtering a0;
         ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp, sipType_QSGTexture_Filtering, &a0))
        {
            sipCpp->setFiltering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_setFiltering, doc_QSGSimpleTextureNode_setFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_filtering, "filtering(self) -> QSGTexture.Filtering");

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

    {
        const  ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp))
        {
             ::QSGTexture::Filtering sipRes;

            sipRes = sipCpp->filtering();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_Filtering);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_filtering, doc_QSGSimpleTextureNode_filtering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_setTextureCoordinatesTransform, "setTextureCoordinatesTransform(self, QSGSimpleTextureNode.TextureCoordinatesTransformMode)");

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

    {
         ::QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
         ::QSGSimpleTextureNode *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_setTextureCoordinatesTransform, doc_QSGSimpleTextureNode_setTextureCoordinatesTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_textureCoordinatesTransform, "textureCoordinatesTransform(self) -> QSGSimpleTextureNode.TextureCoordinatesTransformMode");

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

    {
        const  ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp))
        {
             ::QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGSimpleTextureNode::TextureCoordinatesTransformMode(sipCpp->textureCoordinatesTransform());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_textureCoordinatesTransform, doc_QSGSimpleTextureNode_textureCoordinatesTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_setOwnsTexture, "setOwnsTexture(self, bool)");

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

    {
        bool a0;
         ::QSGSimpleTextureNode *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_setOwnsTexture, doc_QSGSimpleTextureNode_setOwnsTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_ownsTexture, "ownsTexture(self) -> bool");

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

    {
        const  ::QSGSimpleTextureNode *sipCpp;

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

            sipRes = sipCpp->ownsTexture();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_ownsTexture, doc_QSGSimpleTextureNode_ownsTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_setSourceRect, "setSourceRect(self, QRectF)\n"
    "setSourceRect(self, float, float, float, float)");

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

    {
        const  ::QRectF* a0;
         ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setSourceRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QSGSimpleTextureNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QSGSimpleTextureNode, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setSourceRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_setSourceRect, doc_QSGSimpleTextureNode_setSourceRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_sourceRect, "sourceRect(self) -> QRectF");

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

    {
        const  ::QSGSimpleTextureNode *sipCpp;

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

            sipRes = new  ::QRectF(sipCpp->sourceRect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleTextureNode, sipName_sourceRect, doc_QSGSimpleTextureNode_sourceRect);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGSimpleTextureNode(void *, const sipTypeDef *);}
static void *cast_QSGSimpleTextureNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGSimpleTextureNode *sipCpp = reinterpret_cast< ::QSGSimpleTextureNode *>(sipCppV);

    if (targetType == sipType_QSGGeometryNode)
        return static_cast< ::QSGGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGBasicGeometryNode)
        return static_cast< ::QSGBasicGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGSimpleTextureNode(void *, int);}
static void release_QSGSimpleTextureNode(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGSimpleTextureNode *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGSimpleTextureNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGSimpleTextureNode(sipSimpleWrapper *);}
static void dealloc_QSGSimpleTextureNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGSimpleTextureNode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGSimpleTextureNode[] = {
    {SIP_MLNAME_CAST(sipName_filtering), meth_QSGSimpleTextureNode_filtering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_filtering)},
    {SIP_MLNAME_CAST(sipName_ownsTexture), meth_QSGSimpleTextureNode_ownsTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_ownsTexture)},
    {SIP_MLNAME_CAST(sipName_rect), meth_QSGSimpleTextureNode_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_rect)},
    {SIP_MLNAME_CAST(sipName_setFiltering), meth_QSGSimpleTextureNode_setFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_setFiltering)},
    {SIP_MLNAME_CAST(sipName_setOwnsTexture), meth_QSGSimpleTextureNode_setOwnsTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_setOwnsTexture)},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QSGSimpleTextureNode_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_setRect)},
    {SIP_MLNAME_CAST(sipName_setSourceRect), meth_QSGSimpleTextureNode_setSourceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_setSourceRect)},
    {SIP_MLNAME_CAST(sipName_setTexture), meth_QSGSimpleTextureNode_setTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_setTexture)},
    {SIP_MLNAME_CAST(sipName_setTextureCoordinatesTransform), meth_QSGSimpleTextureNode_setTextureCoordinatesTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_setTextureCoordinatesTransform)},
    {SIP_MLNAME_CAST(sipName_sourceRect), meth_QSGSimpleTextureNode_sourceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_sourceRect)},
    {SIP_MLNAME_CAST(sipName_texture), meth_QSGSimpleTextureNode_texture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_texture)},
    {SIP_MLNAME_CAST(sipName_textureCoordinatesTransform), meth_QSGSimpleTextureNode_textureCoordinatesTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleTextureNode_textureCoordinatesTransform)}
};

static sipEnumMemberDef enummembers_QSGSimpleTextureNode[] = {
    {sipName_MirrorHorizontally, static_cast<int>( ::QSGSimpleTextureNode::MirrorHorizontally), 87},
    {sipName_MirrorVertically, static_cast<int>( ::QSGSimpleTextureNode::MirrorVertically), 87},
    {sipName_NoTransform, static_cast<int>( ::QSGSimpleTextureNode::NoTransform), 87},
};

PyDoc_STRVAR(doc_QSGSimpleTextureNode, "\1QSGSimpleTextureNode()");


static pyqt5ClassPluginDef plugin_QSGSimpleTextureNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGSimpleTextureNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGSimpleTextureNode,
        {0},
        &plugin_QSGSimpleTextureNode
    },
    {
        sipNameNr_QSGSimpleTextureNode,
        {0, 0, 1},
        12, methods_QSGSimpleTextureNode,
        3, enummembers_QSGSimpleTextureNode,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGSimpleTextureNode,
    -1,
    -1,
    supers_QSGSimpleTextureNode,
    0,
    init_type_QSGSimpleTextureNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGSimpleTextureNode,
    0,
    0,
    0,
    release_QSGSimpleTextureNode,
    cast_QSGSimpleTextureNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgsimplerectnode.sip"
#include <qsgsimplerectnode.h>
#line 8800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 8807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 8810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 8813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGSimpleRectNode : public  ::QSGSimpleRectNode
{
public:
    sipQSGSimpleRectNode(const  ::QRectF&,const  ::QColor&);
    sipQSGSimpleRectNode();
    virtual ~sipQSGSimpleRectNode();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isSubtreeBlocked() const;
    void preprocess();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQSGSimpleRectNode::sipQSGSimpleRectNode(const  ::QRectF& a0,const  ::QColor& a1):  ::QSGSimpleRectNode(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSGSimpleRectNode::sipQSGSimpleRectNode():  ::QSGSimpleRectNode(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipQSGSimpleRectNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGSimpleRectNode::isSubtreeBlocked();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGSimpleRectNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGSimpleRectNode::preprocess();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGSimpleRectNode_setRect, "setRect(self, QRectF)\n"
    "setRect(self, float, float, float, float)");

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

    {
        const  ::QRectF* a0;
         ::QSGSimpleRectNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGSimpleRectNode, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QSGSimpleRectNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QSGSimpleRectNode, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleRectNode, sipName_setRect, doc_QSGSimpleRectNode_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleRectNode_rect, "rect(self) -> QRectF");

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

    {
        const  ::QSGSimpleRectNode *sipCpp;

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

            sipRes = new  ::QRectF(sipCpp->rect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleRectNode, sipName_rect, doc_QSGSimpleRectNode_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleRectNode_setColor, "setColor(self, Union[QColor, Qt.GlobalColor])");

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

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QSGSimpleRectNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSGSimpleRectNode, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleRectNode, sipName_setColor, doc_QSGSimpleRectNode_setColor);

    return NULL;
}


PyDoc_STRVAR(doc_QSGSimpleRectNode_color, "color(self) -> QColor");

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

    {
        const  ::QSGSimpleRectNode *sipCpp;

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

            sipRes = new  ::QColor(sipCpp->color());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGSimpleRectNode, sipName_color, doc_QSGSimpleRectNode_color);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGSimpleRectNode(void *, const sipTypeDef *);}
static void *cast_QSGSimpleRectNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGSimpleRectNode *sipCpp = reinterpret_cast< ::QSGSimpleRectNode *>(sipCppV);

    if (targetType == sipType_QSGGeometryNode)
        return static_cast< ::QSGGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGBasicGeometryNode)
        return static_cast< ::QSGBasicGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGSimpleRectNode(void *, int);}
static void release_QSGSimpleRectNode(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGSimpleRectNode *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGSimpleRectNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGSimpleRectNode(sipSimpleWrapper *);}
static void dealloc_QSGSimpleRectNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGSimpleRectNode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        const  ::QRectF* a0;
        const  ::QColor* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1", sipType_QRectF, &a0, sipType_QColor, &a1, &a1State))
        {
            sipCpp = new sipQSGSimpleRectNode(*a0,*a1);
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGSimpleRectNode[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_QSGSimpleRectNode_color, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleRectNode_color)},
    {SIP_MLNAME_CAST(sipName_rect), meth_QSGSimpleRectNode_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleRectNode_rect)},
    {SIP_MLNAME_CAST(sipName_setColor), meth_QSGSimpleRectNode_setColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleRectNode_setColor)},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QSGSimpleRectNode_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGSimpleRectNode_setRect)}
};

PyDoc_STRVAR(doc_QSGSimpleRectNode, "\1QSGSimpleRectNode(QRectF, Union[QColor, Qt.GlobalColor])\n"
    "QSGSimpleRectNode()");


static pyqt5ClassPluginDef plugin_QSGSimpleRectNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGSimpleRectNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGSimpleRectNode,
        {0},
        &plugin_QSGSimpleRectNode
    },
    {
        sipNameNr_QSGSimpleRectNode,
        {0, 0, 1},
        4, methods_QSGSimpleRectNode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGSimpleRectNode,
    -1,
    -1,
    supers_QSGSimpleRectNode,
    0,
    init_type_QSGSimpleRectNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGSimpleRectNode,
    0,
    0,
    0,
    release_QSGSimpleRectNode,
    cast_QSGSimpleRectNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 9187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 9191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 9194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 9197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGRenderNode_RenderState_projectionMatrix, "projectionMatrix(self) -> QMatrix4x4");

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

    {
        const  ::QSGRenderNode::RenderState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode_RenderState, &sipCpp))
        {
            const  ::QMatrix4x4*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RenderState, sipName_projectionMatrix);
                return NULL;
            }

            sipRes = sipCpp->projectionMatrix();

            return sipConvertFromType(const_cast< ::QMatrix4x4 *>(sipRes),sipType_QMatrix4x4,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_projectionMatrix, doc_QSGRenderNode_RenderState_projectionMatrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_RenderState_scissorRect, "scissorRect(self) -> QRect");

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

    {
        const  ::QSGRenderNode::RenderState *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RenderState, sipName_scissorRect);
                return NULL;
            }

            sipRes = new  ::QRect(sipCpp->scissorRect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_scissorRect, doc_QSGRenderNode_RenderState_scissorRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_RenderState_scissorEnabled, "scissorEnabled(self) -> bool");

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

    {
        const  ::QSGRenderNode::RenderState *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RenderState, sipName_scissorEnabled);
                return NULL;
            }

            sipRes = sipCpp->scissorEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_scissorEnabled, doc_QSGRenderNode_RenderState_scissorEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_RenderState_stencilValue, "stencilValue(self) -> int");

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

    {
        const  ::QSGRenderNode::RenderState *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RenderState, sipName_stencilValue);
                return NULL;
            }

            sipRes = sipCpp->stencilValue();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_stencilValue, doc_QSGRenderNode_RenderState_stencilValue);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_RenderState_stencilEnabled, "stencilEnabled(self) -> bool");

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

    {
        const  ::QSGRenderNode::RenderState *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RenderState, sipName_stencilEnabled);
                return NULL;
            }

            sipRes = sipCpp->stencilEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_stencilEnabled, doc_QSGRenderNode_RenderState_stencilEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_RenderState_clipRegion, "clipRegion(self) -> QRegion");

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

    {
        const  ::QSGRenderNode::RenderState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode_RenderState, &sipCpp))
        {
            const  ::QRegion*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RenderState, sipName_clipRegion);
                return NULL;
            }

            sipRes = sipCpp->clipRegion();

            return sipConvertFromType(const_cast< ::QRegion *>(sipRes),sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_clipRegion, doc_QSGRenderNode_RenderState_clipRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_RenderState_get, "get(self, str) -> sip.voidptr");

extern "C" {static PyObject *meth_QSGRenderNode_RenderState_get(PyObject *, PyObject *);}
static PyObject *meth_QSGRenderNode_RenderState_get(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        const  ::QSGRenderNode::RenderState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bs", &sipSelf, sipType_QSGRenderNode_RenderState, &sipCpp, &a0))
        {
            void*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGRenderNode::RenderState::get(a0) : sipCpp->get(a0));

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_get, doc_QSGRenderNode_RenderState_get);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRenderNode_RenderState(void *, int);}
static void release_QSGRenderNode_RenderState(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRenderNode::RenderState *>(sipCppV);
}


extern "C" {static void dealloc_QSGRenderNode_RenderState(sipSimpleWrapper *);}
static void dealloc_QSGRenderNode_RenderState(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRenderNode_RenderState(sipGetAddress(sipSelf), 0);
    }
}


static PyMethodDef methods_QSGRenderNode_RenderState[] = {
    {SIP_MLNAME_CAST(sipName_clipRegion), meth_QSGRenderNode_RenderState_clipRegion, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_RenderState_clipRegion)},
    {SIP_MLNAME_CAST(sipName_get), meth_QSGRenderNode_RenderState_get, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_RenderState_get)},
    {SIP_MLNAME_CAST(sipName_projectionMatrix), meth_QSGRenderNode_RenderState_projectionMatrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_RenderState_projectionMatrix)},
    {SIP_MLNAME_CAST(sipName_scissorEnabled), meth_QSGRenderNode_RenderState_scissorEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_RenderState_scissorEnabled)},
    {SIP_MLNAME_CAST(sipName_scissorRect), meth_QSGRenderNode_RenderState_scissorRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_RenderState_scissorRect)},
    {SIP_MLNAME_CAST(sipName_stencilEnabled), meth_QSGRenderNode_RenderState_stencilEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_RenderState_stencilEnabled)},
    {SIP_MLNAME_CAST(sipName_stencilValue), meth_QSGRenderNode_RenderState_stencilValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_RenderState_stencilValue)}
};


static pyqt5ClassPluginDef plugin_QSGRenderNode_RenderState = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGRenderNode_RenderState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRenderNode__RenderState,
        {0},
        &plugin_QSGRenderNode_RenderState
    },
    {
        sipNameNr_RenderState,
        {71, 255, 0},
        7, methods_QSGRenderNode_RenderState,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRenderNode_RenderState,
    0,
    0,
    0,
    release_QSGRenderNode_RenderState,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 9528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 9532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGRenderNode_RenderingFlags___hash__(PyObject *);}
static long slot_QSGRenderNode_RenderingFlags___hash__(PyObject *sipSelf)
{
     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGRenderNode::RenderingFlags::Int();
#line 9550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGRenderNode_RenderingFlags___bool__(PyObject *);}
static int slot_QSGRenderNode_RenderingFlags___bool__(PyObject *sipSelf)
{
     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRenderNode::RenderingFlags::Int() != 0);
#line 9575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGRenderNode_RenderingFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_RenderingFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRenderNode::RenderingFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRenderNode_RenderingFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRenderNode::RenderingFlags::Int() != a0->operator QSGRenderNode::RenderingFlags::Int());
#line 9605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRenderNode::RenderingFlags *>(a0),sipType_QSGRenderNode_RenderingFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGRenderNode_RenderingFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRenderNode_RenderingFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_RenderingFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRenderNode::RenderingFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRenderNode_RenderingFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRenderNode::RenderingFlags::Int() == a0->operator QSGRenderNode::RenderingFlags::Int());
#line 9641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRenderNode::RenderingFlags *>(a0),sipType_QSGRenderNode_RenderingFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGRenderNode_RenderingFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRenderNode_RenderingFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_RenderingFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRenderNode_RenderingFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRenderNode::RenderingFlags(*sipCpp ^ a0);
#line 9680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRenderNode::RenderingFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRenderNode_RenderingFlags, &a0, &a0State, &a1))
        {
             ::QSGRenderNode::RenderingFlags*sipRes;

            sipRes = new  ::QSGRenderNode::RenderingFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGRenderNode_RenderingFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRenderNode_RenderingFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_RenderingFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRenderNode_RenderingFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRenderNode::RenderingFlags(*sipCpp | a0);
#line 9752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRenderNode::RenderingFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRenderNode_RenderingFlags, &a0, &a0State, &a1))
        {
             ::QSGRenderNode::RenderingFlags*sipRes;

            sipRes = new  ::QSGRenderNode::RenderingFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QSGRenderNode_RenderingFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRenderNode_RenderingFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_RenderingFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRenderNode_RenderingFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGRenderNode::RenderingFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRenderNode::RenderingFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRenderNode_RenderingFlags, &a0, &a0State, &a1))
        {
             ::QSGRenderNode::RenderingFlags*sipRes;

            sipRes = new  ::QSGRenderNode::RenderingFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QSGRenderNode_RenderingFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRenderNode_RenderingFlags___invert__(PyObject *);}
static PyObject *slot_QSGRenderNode_RenderingFlags___invert__(PyObject *sipSelf)
{
     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGRenderNode::RenderingFlags*sipRes;

            sipRes = new  ::QSGRenderNode::RenderingFlags(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGRenderNode_RenderingFlags___int__(PyObject *);}
static PyObject *slot_QSGRenderNode_RenderingFlags___int__(PyObject *sipSelf)
{
     ::QSGRenderNode::RenderingFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_RenderingFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRenderNode_RenderingFlags(void *, int);}
static void release_QSGRenderNode_RenderingFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipCppV);
}


extern "C" {static void assign_QSGRenderNode_RenderingFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGRenderNode_RenderingFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGRenderNode::RenderingFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGRenderNode::RenderingFlags *>(sipSrc);
}


extern "C" {static void *array_QSGRenderNode_RenderingFlags(SIP_SSIZE_T);}
static void *array_QSGRenderNode_RenderingFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGRenderNode::RenderingFlags[sipNrElem];
}


extern "C" {static void *copy_QSGRenderNode_RenderingFlags(const void *, SIP_SSIZE_T);}
static void *copy_QSGRenderNode_RenderingFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGRenderNode::RenderingFlags(reinterpret_cast<const  ::QSGRenderNode::RenderingFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGRenderNode_RenderingFlags(sipSimpleWrapper *);}
static void dealloc_QSGRenderNode_RenderingFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRenderNode_RenderingFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGRenderNode_RenderingFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGRenderNode_RenderingFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGRenderNode::RenderingFlags *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGRenderNode::RenderingFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGRenderNode_RenderingFlags, &a0, &a0State))
        {
            sipCpp = new  ::QSGRenderNode::RenderingFlags(*a0);
            sipReleaseType(const_cast< ::QSGRenderNode::RenderingFlags *>(a0),sipType_QSGRenderNode_RenderingFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGRenderNode_RenderingFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGRenderNode_RenderingFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGRenderNode::RenderingFlags **sipCppPtr = reinterpret_cast< ::QSGRenderNode::RenderingFlags **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGRenderNode::RenderingFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRenderNode_RenderingFlag)) ||
            sipCanConvertToType(sipPy, sipType_QSGRenderNode_RenderingFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRenderNode_RenderingFlag)))
{
    *sipCppPtr = new QSGRenderNode::RenderingFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGRenderNode::RenderingFlags *>(sipConvertToType(sipPy, sipType_QSGRenderNode_RenderingFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 10020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGRenderNode_RenderingFlags[] = {
    {(void *)slot_QSGRenderNode_RenderingFlags___hash__, hash_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___bool__, bool_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___ne__, ne_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___eq__, eq_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___ixor__, ixor_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___xor__, xor_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___ior__, ior_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___or__, or_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___iand__, iand_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___and__, and_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___invert__, invert_slot},
    {(void *)slot_QSGRenderNode_RenderingFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGRenderNode_RenderingFlags, "\1QSGRenderNode.RenderingFlags()\n"
    "QSGRenderNode.RenderingFlags(Union[QSGRenderNode.RenderingFlags, QSGRenderNode.RenderingFlag])\n"
    "QSGRenderNode.RenderingFlags(QSGRenderNode.RenderingFlags)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGRenderNode_RenderingFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRenderNode__RenderingFlags,
        {0},
        &plugin_QSGRenderNode_RenderingFlags
    },
    {
        sipNameNr_RenderingFlags,
        {71, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGRenderNode_RenderingFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGRenderNode_RenderingFlags,
    init_type_QSGRenderNode_RenderingFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRenderNode_RenderingFlags,
    assign_QSGRenderNode_RenderingFlags,
    array_QSGRenderNode_RenderingFlags,
    copy_QSGRenderNode_RenderingFlags,
    release_QSGRenderNode_RenderingFlags,
    0,
    convertTo_QSGRenderNode_RenderingFlags,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 10106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 10110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGRenderNode_StateFlags___hash__(PyObject *);}
static long slot_QSGRenderNode_StateFlags___hash__(PyObject *sipSelf)
{
     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGRenderNode::StateFlags::Int();
#line 10128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGRenderNode_StateFlags___bool__(PyObject *);}
static int slot_QSGRenderNode_StateFlags___bool__(PyObject *sipSelf)
{
     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRenderNode::StateFlags::Int() != 0);
#line 10153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGRenderNode_StateFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_StateFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRenderNode::StateFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRenderNode_StateFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRenderNode::StateFlags::Int() != a0->operator QSGRenderNode::StateFlags::Int());
#line 10183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRenderNode::StateFlags *>(a0),sipType_QSGRenderNode_StateFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGRenderNode_StateFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRenderNode_StateFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_StateFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRenderNode::StateFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRenderNode_StateFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRenderNode::StateFlags::Int() == a0->operator QSGRenderNode::StateFlags::Int());
#line 10219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRenderNode::StateFlags *>(a0),sipType_QSGRenderNode_StateFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGRenderNode_StateFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRenderNode_StateFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_StateFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRenderNode_StateFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRenderNode::StateFlags(*sipCpp ^ a0);
#line 10258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRenderNode::StateFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRenderNode_StateFlags, &a0, &a0State, &a1))
        {
             ::QSGRenderNode::StateFlags*sipRes;

            sipRes = new  ::QSGRenderNode::StateFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGRenderNode_StateFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRenderNode_StateFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_StateFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRenderNode_StateFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRenderNode::StateFlags(*sipCpp | a0);
#line 10330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRenderNode::StateFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRenderNode_StateFlags, &a0, &a0State, &a1))
        {
             ::QSGRenderNode::StateFlags*sipRes;

            sipRes = new  ::QSGRenderNode::StateFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QSGRenderNode_StateFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRenderNode_StateFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGRenderNode_StateFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRenderNode_StateFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGRenderNode::StateFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRenderNode::StateFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRenderNode_StateFlags, &a0, &a0State, &a1))
        {
             ::QSGRenderNode::StateFlags*sipRes;

            sipRes = new  ::QSGRenderNode::StateFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QSGRenderNode_StateFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRenderNode_StateFlags___invert__(PyObject *);}
static PyObject *slot_QSGRenderNode_StateFlags___invert__(PyObject *sipSelf)
{
     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGRenderNode::StateFlags*sipRes;

            sipRes = new  ::QSGRenderNode::StateFlags(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGRenderNode_StateFlags___int__(PyObject *);}
static PyObject *slot_QSGRenderNode_StateFlags___int__(PyObject *sipSelf)
{
     ::QSGRenderNode::StateFlags *sipCpp = reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRenderNode_StateFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRenderNode_StateFlags(void *, int);}
static void release_QSGRenderNode_StateFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipCppV);
}


extern "C" {static void assign_QSGRenderNode_StateFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGRenderNode_StateFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGRenderNode::StateFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGRenderNode::StateFlags *>(sipSrc);
}


extern "C" {static void *array_QSGRenderNode_StateFlags(SIP_SSIZE_T);}
static void *array_QSGRenderNode_StateFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGRenderNode::StateFlags[sipNrElem];
}


extern "C" {static void *copy_QSGRenderNode_StateFlags(const void *, SIP_SSIZE_T);}
static void *copy_QSGRenderNode_StateFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGRenderNode::StateFlags(reinterpret_cast<const  ::QSGRenderNode::StateFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGRenderNode_StateFlags(sipSimpleWrapper *);}
static void dealloc_QSGRenderNode_StateFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRenderNode_StateFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGRenderNode_StateFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGRenderNode_StateFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGRenderNode::StateFlags *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGRenderNode::StateFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGRenderNode_StateFlags, &a0, &a0State))
        {
            sipCpp = new  ::QSGRenderNode::StateFlags(*a0);
            sipReleaseType(const_cast< ::QSGRenderNode::StateFlags *>(a0),sipType_QSGRenderNode_StateFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGRenderNode_StateFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGRenderNode_StateFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGRenderNode::StateFlags **sipCppPtr = reinterpret_cast< ::QSGRenderNode::StateFlags **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGRenderNode::StateFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRenderNode_StateFlag)) ||
            sipCanConvertToType(sipPy, sipType_QSGRenderNode_StateFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRenderNode_StateFlag)))
{
    *sipCppPtr = new QSGRenderNode::StateFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGRenderNode::StateFlags *>(sipConvertToType(sipPy, sipType_QSGRenderNode_StateFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 10598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGRenderNode_StateFlags[] = {
    {(void *)slot_QSGRenderNode_StateFlags___hash__, hash_slot},
    {(void *)slot_QSGRenderNode_StateFlags___bool__, bool_slot},
    {(void *)slot_QSGRenderNode_StateFlags___ne__, ne_slot},
    {(void *)slot_QSGRenderNode_StateFlags___eq__, eq_slot},
    {(void *)slot_QSGRenderNode_StateFlags___ixor__, ixor_slot},
    {(void *)slot_QSGRenderNode_StateFlags___xor__, xor_slot},
    {(void *)slot_QSGRenderNode_StateFlags___ior__, ior_slot},
    {(void *)slot_QSGRenderNode_StateFlags___or__, or_slot},
    {(void *)slot_QSGRenderNode_StateFlags___iand__, iand_slot},
    {(void *)slot_QSGRenderNode_StateFlags___and__, and_slot},
    {(void *)slot_QSGRenderNode_StateFlags___invert__, invert_slot},
    {(void *)slot_QSGRenderNode_StateFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGRenderNode_StateFlags, "\1QSGRenderNode.StateFlags()\n"
    "QSGRenderNode.StateFlags(Union[QSGRenderNode.StateFlags, QSGRenderNode.StateFlag])\n"
    "QSGRenderNode.StateFlags(QSGRenderNode.StateFlags)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGRenderNode_StateFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRenderNode__StateFlags,
        {0},
        &plugin_QSGRenderNode_StateFlags
    },
    {
        sipNameNr_StateFlags,
        {71, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGRenderNode_StateFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGRenderNode_StateFlags,
    init_type_QSGRenderNode_StateFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRenderNode_StateFlags,
    assign_QSGRenderNode_StateFlags,
    array_QSGRenderNode_StateFlags,
    copy_QSGRenderNode_StateFlags,
    release_QSGRenderNode_StateFlags,
    0,
    convertTo_QSGRenderNode_StateFlags,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 10684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 10688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 10691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 10694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 10697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 10702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendernode.sip"
#include <qsgrendernode.h>
#line 10705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 10708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 10711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 10714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGRenderNode_changedStates, "changedStates(self) -> QSGRenderNode.StateFlags");

extern "C" {static PyObject *meth_QSGRenderNode_changedStates(PyObject *, PyObject *);}
static PyObject *meth_QSGRenderNode_changedStates(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGRenderNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode, &sipCpp))
        {
             ::QSGRenderNode::StateFlags*sipRes;

            sipRes = new  ::QSGRenderNode::StateFlags((sipSelfWasArg ? sipCpp-> ::QSGRenderNode::changedStates() : sipCpp->changedStates()));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_changedStates, doc_QSGRenderNode_changedStates);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_render, "render(self, QSGRenderNode.RenderState)");

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

    {
        const  ::QSGRenderNode::RenderState* a0;
         ::QSGRenderNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGRenderNode, &sipCpp, sipType_QSGRenderNode_RenderState, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRenderNode, sipName_render);
                return NULL;
            }

            sipCpp->render(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_render, doc_QSGRenderNode_render);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_releaseResources, "releaseResources(self)");

extern "C" {static PyObject *meth_QSGRenderNode_releaseResources(PyObject *, PyObject *);}
static PyObject *meth_QSGRenderNode_releaseResources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSGRenderNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QSGRenderNode::releaseResources() : sipCpp->releaseResources());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_releaseResources, doc_QSGRenderNode_releaseResources);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_flags, "flags(self) -> QSGRenderNode.RenderingFlags");

extern "C" {static PyObject *meth_QSGRenderNode_flags(PyObject *, PyObject *);}
static PyObject *meth_QSGRenderNode_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGRenderNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode, &sipCpp))
        {
             ::QSGRenderNode::RenderingFlags*sipRes;

            sipRes = new  ::QSGRenderNode::RenderingFlags((sipSelfWasArg ? sipCpp-> ::QSGRenderNode::flags() : sipCpp->flags()));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_flags, doc_QSGRenderNode_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_rect, "rect(self) -> QRectF");

extern "C" {static PyObject *meth_QSGRenderNode_rect(PyObject *, PyObject *);}
static PyObject *meth_QSGRenderNode_rect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGRenderNode *sipCpp;

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

            sipRes = new  ::QRectF((sipSelfWasArg ? sipCpp-> ::QSGRenderNode::rect() : sipCpp->rect()));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_rect, doc_QSGRenderNode_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_matrix, "matrix(self) -> QMatrix4x4");

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

    {
        const  ::QSGRenderNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode, &sipCpp))
        {
            const  ::QMatrix4x4*sipRes;

            sipRes = sipCpp->matrix();

            return sipConvertFromType(const_cast< ::QMatrix4x4 *>(sipRes),sipType_QMatrix4x4,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_matrix, doc_QSGRenderNode_matrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_clipList, "clipList(self) -> QSGClipNode");

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

    {
        const  ::QSGRenderNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode, &sipCpp))
        {
            const  ::QSGClipNode*sipRes;

            sipRes = sipCpp->clipList();

            return sipConvertFromType(const_cast< ::QSGClipNode *>(sipRes),sipType_QSGClipNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_clipList, doc_QSGRenderNode_clipList);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRenderNode_inheritedOpacity, "inheritedOpacity(self) -> float");

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

    {
        const  ::QSGRenderNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRenderNode, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->inheritedOpacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRenderNode, sipName_inheritedOpacity, doc_QSGRenderNode_inheritedOpacity);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGRenderNode(void *, const sipTypeDef *);}
static void *cast_QSGRenderNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGRenderNode *sipCpp = reinterpret_cast< ::QSGRenderNode *>(sipCppV);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRenderNode(void *, int);}
static void release_QSGRenderNode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRenderNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGRenderNode(sipSimpleWrapper *);}
static void dealloc_QSGRenderNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRenderNode(sipGetAddress(sipSelf), 0);
    }
}


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


static PyMethodDef methods_QSGRenderNode[] = {
    {SIP_MLNAME_CAST(sipName_changedStates), meth_QSGRenderNode_changedStates, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_changedStates)},
    {SIP_MLNAME_CAST(sipName_clipList), meth_QSGRenderNode_clipList, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_clipList)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QSGRenderNode_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_flags)},
    {SIP_MLNAME_CAST(sipName_inheritedOpacity), meth_QSGRenderNode_inheritedOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_inheritedOpacity)},
    {SIP_MLNAME_CAST(sipName_matrix), meth_QSGRenderNode_matrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_matrix)},
    {SIP_MLNAME_CAST(sipName_rect), meth_QSGRenderNode_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_rect)},
    {SIP_MLNAME_CAST(sipName_releaseResources), meth_QSGRenderNode_releaseResources, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_releaseResources)},
    {SIP_MLNAME_CAST(sipName_render), meth_QSGRenderNode_render, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRenderNode_render)}
};

static sipEnumMemberDef enummembers_QSGRenderNode[] = {
    {sipName_BlendState, static_cast<int>( ::QSGRenderNode::BlendState), 75},
    {sipName_BoundedRectRendering, static_cast<int>( ::QSGRenderNode::BoundedRectRendering), 73},
    {sipName_ColorState, static_cast<int>( ::QSGRenderNode::ColorState), 75},
    {sipName_CullState, static_cast<int>( ::QSGRenderNode::CullState), 75},
    {sipName_DepthAwareRendering, static_cast<int>( ::QSGRenderNode::DepthAwareRendering), 73},
    {sipName_DepthState, static_cast<int>( ::QSGRenderNode::DepthState), 75},
    {sipName_OpaqueRendering, static_cast<int>( ::QSGRenderNode::OpaqueRendering), 73},
    {sipName_RenderTargetState, static_cast<int>( ::QSGRenderNode::RenderTargetState), 75},
    {sipName_ScissorState, static_cast<int>( ::QSGRenderNode::ScissorState), 75},
    {sipName_StencilState, static_cast<int>( ::QSGRenderNode::StencilState), 75},
    {sipName_ViewportState, static_cast<int>( ::QSGRenderNode::ViewportState), 75},
};


static pyqt5ClassPluginDef plugin_QSGRenderNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGRenderNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRenderNode,
        {0},
        &plugin_QSGRenderNode
    },
    {
        sipNameNr_QSGRenderNode,
        {0, 0, 1},
        8, methods_QSGRenderNode,
        11, enummembers_QSGRenderNode,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QSGRenderNode,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRenderNode,
    0,
    0,
    0,
    release_QSGRenderNode,
    cast_QSGRenderNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 11071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 11075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGRendererInterface_ShaderSourceTypes___hash__(PyObject *);}
static long slot_QSGRendererInterface_ShaderSourceTypes___hash__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGRendererInterface::ShaderSourceTypes::Int();
#line 11093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGRendererInterface_ShaderSourceTypes___bool__(PyObject *);}
static int slot_QSGRendererInterface_ShaderSourceTypes___bool__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRendererInterface::ShaderSourceTypes::Int() != 0);
#line 11118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRendererInterface::ShaderSourceTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRendererInterface_ShaderSourceTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRendererInterface::ShaderSourceTypes::Int() != a0->operator QSGRendererInterface::ShaderSourceTypes::Int());
#line 11148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRendererInterface::ShaderSourceTypes *>(a0),sipType_QSGRendererInterface_ShaderSourceTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGRendererInterface_ShaderSourceTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRendererInterface::ShaderSourceTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRendererInterface_ShaderSourceTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRendererInterface::ShaderSourceTypes::Int() == a0->operator QSGRendererInterface::ShaderSourceTypes::Int());
#line 11184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRendererInterface::ShaderSourceTypes *>(a0),sipType_QSGRendererInterface_ShaderSourceTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGRendererInterface_ShaderSourceTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderSourceTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRendererInterface::ShaderSourceTypes(*sipCpp ^ a0);
#line 11223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRendererInterface::ShaderSourceTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRendererInterface_ShaderSourceTypes, &a0, &a0State, &a1))
        {
             ::QSGRendererInterface::ShaderSourceTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderSourceTypes((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGRendererInterface_ShaderSourceTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderSourceTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRendererInterface::ShaderSourceTypes(*sipCpp | a0);
#line 11295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRendererInterface::ShaderSourceTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRendererInterface_ShaderSourceTypes, &a0, &a0State, &a1))
        {
             ::QSGRendererInterface::ShaderSourceTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderSourceTypes((*a0 | a1));
            sipReleaseType(a0,sipType_QSGRendererInterface_ShaderSourceTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderSourceTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGRendererInterface::ShaderSourceTypes::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRendererInterface::ShaderSourceTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRendererInterface_ShaderSourceTypes, &a0, &a0State, &a1))
        {
             ::QSGRendererInterface::ShaderSourceTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderSourceTypes((*a0 & a1));
            sipReleaseType(a0,sipType_QSGRendererInterface_ShaderSourceTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___invert__(PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___invert__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGRendererInterface::ShaderSourceTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderSourceTypes(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___int__(PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderSourceTypes___int__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderSourceTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRendererInterface_ShaderSourceTypes(void *, int);}
static void release_QSGRendererInterface_ShaderSourceTypes(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipCppV);
}


extern "C" {static void assign_QSGRendererInterface_ShaderSourceTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGRendererInterface_ShaderSourceTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGRendererInterface::ShaderSourceTypes *>(sipSrc);
}


extern "C" {static void *array_QSGRendererInterface_ShaderSourceTypes(SIP_SSIZE_T);}
static void *array_QSGRendererInterface_ShaderSourceTypes(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGRendererInterface::ShaderSourceTypes[sipNrElem];
}


extern "C" {static void *copy_QSGRendererInterface_ShaderSourceTypes(const void *, SIP_SSIZE_T);}
static void *copy_QSGRendererInterface_ShaderSourceTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGRendererInterface::ShaderSourceTypes(reinterpret_cast<const  ::QSGRendererInterface::ShaderSourceTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGRendererInterface_ShaderSourceTypes(sipSimpleWrapper *);}
static void dealloc_QSGRendererInterface_ShaderSourceTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRendererInterface_ShaderSourceTypes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGRendererInterface_ShaderSourceTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGRendererInterface_ShaderSourceTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGRendererInterface::ShaderSourceTypes *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGRendererInterface::ShaderSourceTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGRendererInterface_ShaderSourceTypes, &a0, &a0State))
        {
            sipCpp = new  ::QSGRendererInterface::ShaderSourceTypes(*a0);
            sipReleaseType(const_cast< ::QSGRendererInterface::ShaderSourceTypes *>(a0),sipType_QSGRendererInterface_ShaderSourceTypes,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGRendererInterface_ShaderSourceTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGRendererInterface_ShaderSourceTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGRendererInterface::ShaderSourceTypes **sipCppPtr = reinterpret_cast< ::QSGRendererInterface::ShaderSourceTypes **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGRendererInterface::ShaderSourceTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderSourceType)) ||
            sipCanConvertToType(sipPy, sipType_QSGRendererInterface_ShaderSourceTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderSourceType)))
{
    *sipCppPtr = new QSGRendererInterface::ShaderSourceTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGRendererInterface::ShaderSourceTypes *>(sipConvertToType(sipPy, sipType_QSGRendererInterface_ShaderSourceTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 11563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGRendererInterface_ShaderSourceTypes[] = {
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___hash__, hash_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___bool__, bool_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___ne__, ne_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___eq__, eq_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___ixor__, ixor_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___xor__, xor_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___ior__, ior_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___or__, or_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___iand__, iand_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___and__, and_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___invert__, invert_slot},
    {(void *)slot_QSGRendererInterface_ShaderSourceTypes___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGRendererInterface_ShaderSourceTypes, "\1QSGRendererInterface.ShaderSourceTypes()\n"
    "QSGRendererInterface.ShaderSourceTypes(Union[QSGRendererInterface.ShaderSourceTypes, QSGRendererInterface.ShaderSourceType])\n"
    "QSGRendererInterface.ShaderSourceTypes(QSGRendererInterface.ShaderSourceTypes)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGRendererInterface_ShaderSourceTypes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRendererInterface__ShaderSourceTypes,
        {0},
        &plugin_QSGRendererInterface_ShaderSourceTypes
    },
    {
        sipNameNr_ShaderSourceTypes,
        {77, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGRendererInterface_ShaderSourceTypes,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGRendererInterface_ShaderSourceTypes,
    init_type_QSGRendererInterface_ShaderSourceTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRendererInterface_ShaderSourceTypes,
    assign_QSGRendererInterface_ShaderSourceTypes,
    array_QSGRendererInterface_ShaderSourceTypes,
    copy_QSGRendererInterface_ShaderSourceTypes,
    release_QSGRendererInterface_ShaderSourceTypes,
    0,
    convertTo_QSGRendererInterface_ShaderSourceTypes,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 11649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 11653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGRendererInterface_ShaderCompilationTypes___hash__(PyObject *);}
static long slot_QSGRendererInterface_ShaderCompilationTypes___hash__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGRendererInterface::ShaderCompilationTypes::Int();
#line 11671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGRendererInterface_ShaderCompilationTypes___bool__(PyObject *);}
static int slot_QSGRendererInterface_ShaderCompilationTypes___bool__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRendererInterface::ShaderCompilationTypes::Int() != 0);
#line 11696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRendererInterface::ShaderCompilationTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRendererInterface_ShaderCompilationTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRendererInterface::ShaderCompilationTypes::Int() != a0->operator QSGRendererInterface::ShaderCompilationTypes::Int());
#line 11726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(a0),sipType_QSGRendererInterface_ShaderCompilationTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGRendererInterface_ShaderCompilationTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGRendererInterface::ShaderCompilationTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGRendererInterface_ShaderCompilationTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGRendererInterface::ShaderCompilationTypes::Int() == a0->operator QSGRendererInterface::ShaderCompilationTypes::Int());
#line 11762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(a0),sipType_QSGRendererInterface_ShaderCompilationTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGRendererInterface_ShaderCompilationTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderCompilationTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRendererInterface::ShaderCompilationTypes(*sipCpp ^ a0);
#line 11801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRendererInterface::ShaderCompilationTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRendererInterface_ShaderCompilationTypes, &a0, &a0State, &a1))
        {
             ::QSGRendererInterface::ShaderCompilationTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderCompilationTypes((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGRendererInterface_ShaderCompilationTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderCompilationTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGRendererInterface::ShaderCompilationTypes(*sipCpp | a0);
#line 11873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRendererInterface::ShaderCompilationTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRendererInterface_ShaderCompilationTypes, &a0, &a0State, &a1))
        {
             ::QSGRendererInterface::ShaderCompilationTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderCompilationTypes((*a0 | a1));
            sipReleaseType(a0,sipType_QSGRendererInterface_ShaderCompilationTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderCompilationTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGRendererInterface::ShaderCompilationTypes::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGRendererInterface::ShaderCompilationTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGRendererInterface_ShaderCompilationTypes, &a0, &a0State, &a1))
        {
             ::QSGRendererInterface::ShaderCompilationTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderCompilationTypes((*a0 & a1));
            sipReleaseType(a0,sipType_QSGRendererInterface_ShaderCompilationTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___invert__(PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___invert__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGRendererInterface::ShaderCompilationTypes*sipRes;

            sipRes = new  ::QSGRendererInterface::ShaderCompilationTypes(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___int__(PyObject *);}
static PyObject *slot_QSGRendererInterface_ShaderCompilationTypes___int__(PyObject *sipSelf)
{
     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGRendererInterface_ShaderCompilationTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRendererInterface_ShaderCompilationTypes(void *, int);}
static void release_QSGRendererInterface_ShaderCompilationTypes(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipCppV);
}


extern "C" {static void assign_QSGRendererInterface_ShaderCompilationTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGRendererInterface_ShaderCompilationTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGRendererInterface::ShaderCompilationTypes *>(sipSrc);
}


extern "C" {static void *array_QSGRendererInterface_ShaderCompilationTypes(SIP_SSIZE_T);}
static void *array_QSGRendererInterface_ShaderCompilationTypes(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGRendererInterface::ShaderCompilationTypes[sipNrElem];
}


extern "C" {static void *copy_QSGRendererInterface_ShaderCompilationTypes(const void *, SIP_SSIZE_T);}
static void *copy_QSGRendererInterface_ShaderCompilationTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGRendererInterface::ShaderCompilationTypes(reinterpret_cast<const  ::QSGRendererInterface::ShaderCompilationTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGRendererInterface_ShaderCompilationTypes(sipSimpleWrapper *);}
static void dealloc_QSGRendererInterface_ShaderCompilationTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRendererInterface_ShaderCompilationTypes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGRendererInterface_ShaderCompilationTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGRendererInterface_ShaderCompilationTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGRendererInterface::ShaderCompilationTypes *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGRendererInterface::ShaderCompilationTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGRendererInterface_ShaderCompilationTypes, &a0, &a0State))
        {
            sipCpp = new  ::QSGRendererInterface::ShaderCompilationTypes(*a0);
            sipReleaseType(const_cast< ::QSGRendererInterface::ShaderCompilationTypes *>(a0),sipType_QSGRendererInterface_ShaderCompilationTypes,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGRendererInterface_ShaderCompilationTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGRendererInterface_ShaderCompilationTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGRendererInterface::ShaderCompilationTypes **sipCppPtr = reinterpret_cast< ::QSGRendererInterface::ShaderCompilationTypes **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGRendererInterface::ShaderCompilationTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderCompilationType)) ||
            sipCanConvertToType(sipPy, sipType_QSGRendererInterface_ShaderCompilationTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGRendererInterface_ShaderCompilationType)))
{
    *sipCppPtr = new QSGRendererInterface::ShaderCompilationTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGRendererInterface::ShaderCompilationTypes *>(sipConvertToType(sipPy, sipType_QSGRendererInterface_ShaderCompilationTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 12141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGRendererInterface_ShaderCompilationTypes[] = {
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___hash__, hash_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___bool__, bool_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___ne__, ne_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___eq__, eq_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___ixor__, ixor_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___xor__, xor_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___ior__, ior_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___or__, or_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___iand__, iand_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___and__, and_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___invert__, invert_slot},
    {(void *)slot_QSGRendererInterface_ShaderCompilationTypes___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGRendererInterface_ShaderCompilationTypes, "\1QSGRendererInterface.ShaderCompilationTypes()\n"
    "QSGRendererInterface.ShaderCompilationTypes(Union[QSGRendererInterface.ShaderCompilationTypes, QSGRendererInterface.ShaderCompilationType])\n"
    "QSGRendererInterface.ShaderCompilationTypes(QSGRendererInterface.ShaderCompilationTypes)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGRendererInterface_ShaderCompilationTypes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRendererInterface__ShaderCompilationTypes,
        {0},
        &plugin_QSGRendererInterface_ShaderCompilationTypes
    },
    {
        sipNameNr_ShaderCompilationTypes,
        {77, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGRendererInterface_ShaderCompilationTypes,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGRendererInterface_ShaderCompilationTypes,
    init_type_QSGRendererInterface_ShaderCompilationTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRendererInterface_ShaderCompilationTypes,
    assign_QSGRendererInterface_ShaderCompilationTypes,
    array_QSGRendererInterface_ShaderCompilationTypes,
    copy_QSGRendererInterface_ShaderCompilationTypes,
    release_QSGRendererInterface_ShaderCompilationTypes,
    0,
    convertTo_QSGRendererInterface_ShaderCompilationTypes,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 12227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 12231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 12234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 12237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGRendererInterface_graphicsApi, "graphicsApi(self) -> QSGRendererInterface.GraphicsApi");

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

    {
        const  ::QSGRendererInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRendererInterface, &sipCpp))
        {
             ::QSGRendererInterface::GraphicsApi sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRendererInterface, sipName_graphicsApi);
                return NULL;
            }

            sipRes = sipCpp->graphicsApi();

            return sipConvertFromEnum(sipRes,sipType_QSGRendererInterface_GraphicsApi);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRendererInterface, sipName_graphicsApi, doc_QSGRendererInterface_graphicsApi);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRendererInterface_getResource, "getResource(self, QQuickWindow, QSGRendererInterface.Resource) -> sip.voidptr\n"
    "getResource(self, QQuickWindow, str) -> sip.voidptr");

extern "C" {static PyObject *meth_QSGRendererInterface_getResource(PyObject *, PyObject *);}
static PyObject *meth_QSGRendererInterface_getResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickWindow* a0;
         ::QSGRendererInterface::Resource a1;
        const  ::QSGRendererInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_QSGRendererInterface, &sipCpp, sipType_QQuickWindow, &a0, sipType_QSGRendererInterface_Resource, &a1))
        {
            void*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGRendererInterface::getResource(a0,a1) : sipCpp->getResource(a0,a1));

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    {
         ::QQuickWindow* a0;
        const char* a1;
        const  ::QSGRendererInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8s", &sipSelf, sipType_QSGRendererInterface, &sipCpp, sipType_QQuickWindow, &a0, &a1))
        {
            void*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGRendererInterface::getResource(a0,a1) : sipCpp->getResource(a0,a1));

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRendererInterface, sipName_getResource, doc_QSGRendererInterface_getResource);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRendererInterface_shaderType, "shaderType(self) -> QSGRendererInterface.ShaderType");

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

    {
        const  ::QSGRendererInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRendererInterface, &sipCpp))
        {
             ::QSGRendererInterface::ShaderType sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRendererInterface, sipName_shaderType);
                return NULL;
            }

            sipRes = sipCpp->shaderType();

            return sipConvertFromEnum(sipRes,sipType_QSGRendererInterface_ShaderType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRendererInterface, sipName_shaderType, doc_QSGRendererInterface_shaderType);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRendererInterface_shaderCompilationType, "shaderCompilationType(self) -> QSGRendererInterface.ShaderCompilationTypes");

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

    {
        const  ::QSGRendererInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRendererInterface, &sipCpp))
        {
             ::QSGRendererInterface::ShaderCompilationTypes*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRendererInterface, sipName_shaderCompilationType);
                return NULL;
            }

            sipRes = new  ::QSGRendererInterface::ShaderCompilationTypes(sipCpp->shaderCompilationType());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRendererInterface, sipName_shaderCompilationType, doc_QSGRendererInterface_shaderCompilationType);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRendererInterface_shaderSourceType, "shaderSourceType(self) -> QSGRendererInterface.ShaderSourceTypes");

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

    {
        const  ::QSGRendererInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGRendererInterface, &sipCpp))
        {
             ::QSGRendererInterface::ShaderSourceTypes*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRendererInterface, sipName_shaderSourceType);
                return NULL;
            }

            sipRes = new  ::QSGRendererInterface::ShaderSourceTypes(sipCpp->shaderSourceType());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRendererInterface, sipName_shaderSourceType, doc_QSGRendererInterface_shaderSourceType);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRendererInterface(void *, int);}
static void release_QSGRendererInterface(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRendererInterface *>(sipCppV);
}


extern "C" {static void dealloc_QSGRendererInterface(sipSimpleWrapper *);}
static void dealloc_QSGRendererInterface(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRendererInterface(sipGetAddress(sipSelf), 0);
    }
}


static PyMethodDef methods_QSGRendererInterface[] = {
    {SIP_MLNAME_CAST(sipName_getResource), meth_QSGRendererInterface_getResource, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRendererInterface_getResource)},
    {SIP_MLNAME_CAST(sipName_graphicsApi), meth_QSGRendererInterface_graphicsApi, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRendererInterface_graphicsApi)},
    {SIP_MLNAME_CAST(sipName_shaderCompilationType), meth_QSGRendererInterface_shaderCompilationType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRendererInterface_shaderCompilationType)},
    {SIP_MLNAME_CAST(sipName_shaderSourceType), meth_QSGRendererInterface_shaderSourceType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRendererInterface_shaderSourceType)},
    {SIP_MLNAME_CAST(sipName_shaderType), meth_QSGRendererInterface_shaderType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRendererInterface_shaderType)}
};

static sipEnumMemberDef enummembers_QSGRendererInterface[] = {
    {sipName_CommandListResource, static_cast<int>( ::QSGRendererInterface::CommandListResource), 79},
    {sipName_CommandQueueResource, static_cast<int>( ::QSGRendererInterface::CommandQueueResource), 79},
    {sipName_DeviceResource, static_cast<int>( ::QSGRendererInterface::DeviceResource), 79},
    {sipName_Direct3D12, static_cast<int>( ::QSGRendererInterface::Direct3D12), 78},
    {sipName_GLSL, static_cast<int>( ::QSGRendererInterface::GLSL), 84},
    {sipName_HLSL, static_cast<int>( ::QSGRendererInterface::HLSL), 84},
    {sipName_OfflineCompilation, static_cast<int>( ::QSGRendererInterface::OfflineCompilation), 80},
    {sipName_OpenGL, static_cast<int>( ::QSGRendererInterface::OpenGL), 78},
    {sipName_OpenVG, static_cast<int>( ::QSGRendererInterface::OpenVG), 78},
    {sipName_PainterResource, static_cast<int>( ::QSGRendererInterface::PainterResource), 79},
    {sipName_RuntimeCompilation, static_cast<int>( ::QSGRendererInterface::RuntimeCompilation), 80},
    {sipName_ShaderByteCode, static_cast<int>( ::QSGRendererInterface::ShaderByteCode), 82},
    {sipName_ShaderSourceFile, static_cast<int>( ::QSGRendererInterface::ShaderSourceFile), 82},
    {sipName_ShaderSourceString, static_cast<int>( ::QSGRendererInterface::ShaderSourceString), 82},
    {sipName_Software, static_cast<int>( ::QSGRendererInterface::Software), 78},
    {sipName_Unknown, static_cast<int>( ::QSGRendererInterface::Unknown), 78},
    {sipName_UnknownShadingLanguage, static_cast<int>( ::QSGRendererInterface::UnknownShadingLanguage), 84},
};


static pyqt5ClassPluginDef plugin_QSGRendererInterface = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGRendererInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRendererInterface,
        {0},
        &plugin_QSGRendererInterface
    },
    {
        sipNameNr_QSGRendererInterface,
        {0, 0, 1},
        5, methods_QSGRendererInterface,
        17, enummembers_QSGRendererInterface,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRendererInterface,
    0,
    0,
    0,
    release_QSGRendererInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrectanglenode.sip"
#include <qsgrectanglenode.h>
#line 12534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 12538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 12541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 12544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 12547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 12550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 12553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 12556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGRectangleNode_setRect, "setRect(self, QRectF)\n"
    "setRect(self, float, float, float, float)");

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

    {
        const  ::QRectF* a0;
         ::QSGRectangleNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGRectangleNode, &sipCpp, sipType_QRectF, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRectangleNode, sipName_setRect);
                return NULL;
            }

            sipCpp->setRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QSGRectangleNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QSGRectangleNode, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRectangleNode, sipName_setRect, doc_QSGRectangleNode_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRectangleNode_rect, "rect(self) -> QRectF");

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

    {
        const  ::QSGRectangleNode *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRectangleNode, sipName_rect);
                return NULL;
            }

            sipRes = new  ::QRectF(sipCpp->rect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRectangleNode, sipName_rect, doc_QSGRectangleNode_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRectangleNode_setColor, "setColor(self, Union[QColor, Qt.GlobalColor])");

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

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QSGRectangleNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSGRectangleNode, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRectangleNode, sipName_setColor);
                return NULL;
            }

            sipCpp->setColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRectangleNode, sipName_setColor, doc_QSGRectangleNode_setColor);

    return NULL;
}


PyDoc_STRVAR(doc_QSGRectangleNode_color, "color(self) -> QColor");

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

    {
        const  ::QSGRectangleNode *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGRectangleNode, sipName_color);
                return NULL;
            }

            sipRes = new  ::QColor(sipCpp->color());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGRectangleNode, sipName_color, doc_QSGRectangleNode_color);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGRectangleNode(void *, const sipTypeDef *);}
static void *cast_QSGRectangleNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGRectangleNode *sipCpp = reinterpret_cast< ::QSGRectangleNode *>(sipCppV);

    if (targetType == sipType_QSGGeometryNode)
        return static_cast< ::QSGGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGBasicGeometryNode)
        return static_cast< ::QSGBasicGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGRectangleNode(void *, int);}
static void release_QSGRectangleNode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGRectangleNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGRectangleNode(sipSimpleWrapper *);}
static void dealloc_QSGRectangleNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGRectangleNode(sipGetAddress(sipSelf), 0);
    }
}


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


static PyMethodDef methods_QSGRectangleNode[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_QSGRectangleNode_color, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRectangleNode_color)},
    {SIP_MLNAME_CAST(sipName_rect), meth_QSGRectangleNode_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRectangleNode_rect)},
    {SIP_MLNAME_CAST(sipName_setColor), meth_QSGRectangleNode_setColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRectangleNode_setColor)},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QSGRectangleNode_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGRectangleNode_setRect)}
};


static pyqt5ClassPluginDef plugin_QSGRectangleNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGRectangleNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGRectangleNode,
        {0},
        &plugin_QSGRectangleNode
    },
    {
        sipNameNr_QSGRectangleNode,
        {0, 0, 1},
        4, methods_QSGRectangleNode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QSGRectangleNode,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGRectangleNode,
    0,
    0,
    0,
    release_QSGRectangleNode,
    cast_QSGRectangleNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 12827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 12831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 12834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 12837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGOpacityNode : public  ::QSGOpacityNode
{
public:
    sipQSGOpacityNode();
    virtual ~sipQSGOpacityNode();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isSubtreeBlocked() const;
    void preprocess();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQSGOpacityNode::sipQSGOpacityNode():  ::QSGOpacityNode(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipQSGOpacityNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGOpacityNode::isSubtreeBlocked();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGOpacityNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGOpacityNode::preprocess();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGOpacityNode_setOpacity, "setOpacity(self, float)");

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

    {
         ::qreal a0;
         ::QSGOpacityNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QSGOpacityNode, &sipCpp, &a0))
        {
            sipCpp->setOpacity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpacityNode, sipName_setOpacity, doc_QSGOpacityNode_setOpacity);

    return NULL;
}


PyDoc_STRVAR(doc_QSGOpacityNode_opacity, "opacity(self) -> float");

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

    {
        const  ::QSGOpacityNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGOpacityNode, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->opacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGOpacityNode, sipName_opacity, doc_QSGOpacityNode_opacity);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGOpacityNode(void *, const sipTypeDef *);}
static void *cast_QSGOpacityNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGOpacityNode *sipCpp = reinterpret_cast< ::QSGOpacityNode *>(sipCppV);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGOpacityNode(void *, int);}
static void release_QSGOpacityNode(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGOpacityNode *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGOpacityNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGOpacityNode(sipSimpleWrapper *);}
static void dealloc_QSGOpacityNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGOpacityNode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGOpacityNode[] = {
    {SIP_MLNAME_CAST(sipName_opacity), meth_QSGOpacityNode_opacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpacityNode_opacity)},
    {SIP_MLNAME_CAST(sipName_setOpacity), meth_QSGOpacityNode_setOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGOpacityNode_setOpacity)}
};

PyDoc_STRVAR(doc_QSGOpacityNode, "\1QSGOpacityNode()");


static pyqt5ClassPluginDef plugin_QSGOpacityNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGOpacityNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGOpacityNode,
        {0},
        &plugin_QSGOpacityNode
    },
    {
        sipNameNr_QSGOpacityNode,
        {0, 0, 1},
        2, methods_QSGOpacityNode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGOpacityNode,
    -1,
    -1,
    supers_QSGOpacityNode,
    0,
    init_type_QSGOpacityNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGOpacityNode,
    0,
    0,
    0,
    release_QSGOpacityNode,
    cast_QSGOpacityNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 13097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGTransformNode : public  ::QSGTransformNode
{
public:
    sipQSGTransformNode();
    virtual ~sipQSGTransformNode();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isSubtreeBlocked() const;
    void preprocess();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQSGTransformNode::sipQSGTransformNode():  ::QSGTransformNode(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipQSGTransformNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGTransformNode::isSubtreeBlocked();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGTransformNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGTransformNode::preprocess();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGTransformNode_setMatrix, "setMatrix(self, QMatrix4x4)");

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

    {
        const  ::QMatrix4x4* a0;
         ::QSGTransformNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGTransformNode, &sipCpp, sipType_QMatrix4x4, &a0))
        {
            sipCpp->setMatrix(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTransformNode, sipName_setMatrix, doc_QSGTransformNode_setMatrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGTransformNode_matrix, "matrix(self) -> QMatrix4x4");

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

    {
        const  ::QSGTransformNode *sipCpp;

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

            sipRes = new  ::QMatrix4x4(sipCpp->matrix());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGTransformNode, sipName_matrix, doc_QSGTransformNode_matrix);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGTransformNode(void *, const sipTypeDef *);}
static void *cast_QSGTransformNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGTransformNode *sipCpp = reinterpret_cast< ::QSGTransformNode *>(sipCppV);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGTransformNode(void *, int);}
static void release_QSGTransformNode(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGTransformNode *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGTransformNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGTransformNode(sipSimpleWrapper *);}
static void dealloc_QSGTransformNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGTransformNode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGTransformNode[] = {
    {SIP_MLNAME_CAST(sipName_matrix), meth_QSGTransformNode_matrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTransformNode_matrix)},
    {SIP_MLNAME_CAST(sipName_setMatrix), meth_QSGTransformNode_setMatrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGTransformNode_setMatrix)}
};

PyDoc_STRVAR(doc_QSGTransformNode, "\1QSGTransformNode()");


static pyqt5ClassPluginDef plugin_QSGTransformNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGTransformNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGTransformNode,
        {0},
        &plugin_QSGTransformNode
    },
    {
        sipNameNr_QSGTransformNode,
        {0, 0, 1},
        2, methods_QSGTransformNode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGTransformNode,
    -1,
    -1,
    supers_QSGTransformNode,
    0,
    init_type_QSGTransformNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGTransformNode,
    0,
    0,
    0,
    release_QSGTransformNode,
    cast_QSGTransformNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 13366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 13369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGClipNode : public  ::QSGClipNode
{
public:
    sipQSGClipNode();
    virtual ~sipQSGClipNode();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void preprocess();
    bool isSubtreeBlocked() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQSGClipNode::sipQSGClipNode():  ::QSGClipNode(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipQSGClipNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGClipNode::preprocess();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGClipNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGClipNode::isSubtreeBlocked();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGClipNode_setIsRectangular, "setIsRectangular(self, bool)");

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

    {
        bool a0;
         ::QSGClipNode *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGClipNode, sipName_setIsRectangular, doc_QSGClipNode_setIsRectangular);

    return NULL;
}


PyDoc_STRVAR(doc_QSGClipNode_isRectangular, "isRectangular(self) -> bool");

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

    {
        const  ::QSGClipNode *sipCpp;

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

            sipRes = sipCpp->isRectangular();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGClipNode, sipName_isRectangular, doc_QSGClipNode_isRectangular);

    return NULL;
}


PyDoc_STRVAR(doc_QSGClipNode_setClipRect, "setClipRect(self, QRectF)");

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

    {
        const  ::QRectF* a0;
         ::QSGClipNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGClipNode, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setClipRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGClipNode, sipName_setClipRect, doc_QSGClipNode_setClipRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGClipNode_clipRect, "clipRect(self) -> QRectF");

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

    {
        const  ::QSGClipNode *sipCpp;

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

            sipRes = new  ::QRectF(sipCpp->clipRect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGClipNode, sipName_clipRect, doc_QSGClipNode_clipRect);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGClipNode(void *, const sipTypeDef *);}
static void *cast_QSGClipNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGClipNode *sipCpp = reinterpret_cast< ::QSGClipNode *>(sipCppV);

    if (targetType == sipType_QSGBasicGeometryNode)
        return static_cast< ::QSGBasicGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGClipNode(void *, int);}
static void release_QSGClipNode(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGClipNode *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGClipNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGClipNode(sipSimpleWrapper *);}
static void dealloc_QSGClipNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGClipNode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGClipNode[] = {
    {SIP_MLNAME_CAST(sipName_clipRect), meth_QSGClipNode_clipRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGClipNode_clipRect)},
    {SIP_MLNAME_CAST(sipName_isRectangular), meth_QSGClipNode_isRectangular, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGClipNode_isRectangular)},
    {SIP_MLNAME_CAST(sipName_setClipRect), meth_QSGClipNode_setClipRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGClipNode_setClipRect)},
    {SIP_MLNAME_CAST(sipName_setIsRectangular), meth_QSGClipNode_setIsRectangular, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGClipNode_setIsRectangular)}
};

PyDoc_STRVAR(doc_QSGClipNode, "\1QSGClipNode()");


static pyqt5ClassPluginDef plugin_QSGClipNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGClipNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGClipNode,
        {0},
        &plugin_QSGClipNode
    },
    {
        sipNameNr_QSGClipNode,
        {0, 0, 1},
        4, methods_QSGClipNode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGClipNode,
    -1,
    -1,
    supers_QSGClipNode,
    0,
    init_type_QSGClipNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGClipNode,
    0,
    0,
    0,
    release_QSGClipNode,
    cast_QSGClipNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 13699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGBasicGeometryNode_setGeometry, "setGeometry(self, QSGGeometry)");

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

    {
         ::QSGGeometry* a0;
        PyObject *a0Wrapper;
         ::QSGBasicGeometryNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSGBasicGeometryNode, &sipCpp, &a0Wrapper, sipType_QSGGeometry, &a0))
        {
#line 255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        sipCpp->setGeometry(a0);
        
        if (sipCpp->flags() & QSGNode::OwnsGeometry)
            sipTransferTo(a0Wrapper, sipSelf);
#line 13731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGBasicGeometryNode, sipName_setGeometry, doc_QSGBasicGeometryNode_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QSGBasicGeometryNode_geometry, "geometry(self) -> QSGGeometry");

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

    {
         ::QSGBasicGeometryNode *sipCpp;

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

            sipRes = sipCpp->geometry();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGBasicGeometryNode, sipName_geometry, doc_QSGBasicGeometryNode_geometry);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGBasicGeometryNode(void *, const sipTypeDef *);}
static void *cast_QSGBasicGeometryNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGBasicGeometryNode *sipCpp = reinterpret_cast< ::QSGBasicGeometryNode *>(sipCppV);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGBasicGeometryNode(void *, int);}
static void release_QSGBasicGeometryNode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGBasicGeometryNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGBasicGeometryNode(sipSimpleWrapper *);}
static void dealloc_QSGBasicGeometryNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGBasicGeometryNode(sipGetAddress(sipSelf), 0);
    }
}


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


static PyMethodDef methods_QSGBasicGeometryNode[] = {
    {SIP_MLNAME_CAST(sipName_geometry), meth_QSGBasicGeometryNode_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGBasicGeometryNode_geometry)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QSGBasicGeometryNode_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGBasicGeometryNode_setGeometry)}
};


static pyqt5ClassPluginDef plugin_QSGBasicGeometryNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGBasicGeometryNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGBasicGeometryNode,
        {0},
        &plugin_QSGBasicGeometryNode
    },
    {
        sipNameNr_QSGBasicGeometryNode,
        {0, 0, 1},
        2, methods_QSGBasicGeometryNode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QSGBasicGeometryNode,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGBasicGeometryNode,
    0,
    0,
    0,
    release_QSGBasicGeometryNode,
    cast_QSGBasicGeometryNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 13877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGNode_DirtyState___hash__(PyObject *);}
static long slot_QSGNode_DirtyState___hash__(PyObject *sipSelf)
{
     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGNode::DirtyState::Int();
#line 13895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGNode_DirtyState___bool__(PyObject *);}
static int slot_QSGNode_DirtyState___bool__(PyObject *sipSelf)
{
     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::DirtyState::Int() != 0);
#line 13920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGNode_DirtyState___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_DirtyState___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGNode::DirtyState* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_DirtyState, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::DirtyState::Int() != a0->operator QSGNode::DirtyState::Int());
#line 13950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGNode::DirtyState *>(a0),sipType_QSGNode_DirtyState,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGNode_DirtyState, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGNode_DirtyState___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_DirtyState___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGNode::DirtyState* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_DirtyState, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::DirtyState::Int() == a0->operator QSGNode::DirtyState::Int());
#line 13986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGNode::DirtyState *>(a0),sipType_QSGNode_DirtyState,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGNode_DirtyState, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGNode_DirtyState___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_DirtyState___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGNode_DirtyState)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGNode::DirtyState(*sipCpp ^ a0);
#line 14025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGNode::DirtyState* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_DirtyState, &a0, &a0State, &a1))
        {
             ::QSGNode::DirtyState*sipRes;

            sipRes = new  ::QSGNode::DirtyState((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGNode_DirtyState,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGNode_DirtyState___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_DirtyState___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGNode_DirtyState)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGNode::DirtyState(*sipCpp | a0);
#line 14097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGNode::DirtyState* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_DirtyState, &a0, &a0State, &a1))
        {
             ::QSGNode::DirtyState*sipRes;

            sipRes = new  ::QSGNode::DirtyState((*a0 | a1));
            sipReleaseType(a0,sipType_QSGNode_DirtyState,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGNode_DirtyState___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_DirtyState___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGNode_DirtyState)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGNode::DirtyState::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGNode::DirtyState* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_DirtyState, &a0, &a0State, &a1))
        {
             ::QSGNode::DirtyState*sipRes;

            sipRes = new  ::QSGNode::DirtyState((*a0 & a1));
            sipReleaseType(a0,sipType_QSGNode_DirtyState,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGNode_DirtyState___invert__(PyObject *);}
static PyObject *slot_QSGNode_DirtyState___invert__(PyObject *sipSelf)
{
     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGNode::DirtyState*sipRes;

            sipRes = new  ::QSGNode::DirtyState(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGNode_DirtyState___int__(PyObject *);}
static PyObject *slot_QSGNode_DirtyState___int__(PyObject *sipSelf)
{
     ::QSGNode::DirtyState *sipCpp = reinterpret_cast< ::QSGNode::DirtyState *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_DirtyState));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGNode_DirtyState(void *, int);}
static void release_QSGNode_DirtyState(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGNode::DirtyState *>(sipCppV);
}


extern "C" {static void assign_QSGNode_DirtyState(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGNode_DirtyState(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGNode::DirtyState *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGNode::DirtyState *>(sipSrc);
}


extern "C" {static void *array_QSGNode_DirtyState(SIP_SSIZE_T);}
static void *array_QSGNode_DirtyState(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGNode::DirtyState[sipNrElem];
}


extern "C" {static void *copy_QSGNode_DirtyState(const void *, SIP_SSIZE_T);}
static void *copy_QSGNode_DirtyState(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGNode::DirtyState(reinterpret_cast<const  ::QSGNode::DirtyState *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGNode_DirtyState(sipSimpleWrapper *);}
static void dealloc_QSGNode_DirtyState(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGNode_DirtyState(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGNode_DirtyState(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGNode_DirtyState(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGNode::DirtyState *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGNode::DirtyState* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGNode_DirtyState, &a0, &a0State))
        {
            sipCpp = new  ::QSGNode::DirtyState(*a0);
            sipReleaseType(const_cast< ::QSGNode::DirtyState *>(a0),sipType_QSGNode_DirtyState,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGNode_DirtyState(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGNode_DirtyState(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGNode::DirtyState **sipCppPtr = reinterpret_cast< ::QSGNode::DirtyState **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGNode::DirtyState is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGNode_DirtyStateBit)) ||
            sipCanConvertToType(sipPy, sipType_QSGNode_DirtyState, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGNode_DirtyStateBit)))
{
    *sipCppPtr = new QSGNode::DirtyState(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGNode::DirtyState *>(sipConvertToType(sipPy, sipType_QSGNode_DirtyState, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 14365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGNode_DirtyState[] = {
    {(void *)slot_QSGNode_DirtyState___hash__, hash_slot},
    {(void *)slot_QSGNode_DirtyState___bool__, bool_slot},
    {(void *)slot_QSGNode_DirtyState___ne__, ne_slot},
    {(void *)slot_QSGNode_DirtyState___eq__, eq_slot},
    {(void *)slot_QSGNode_DirtyState___ixor__, ixor_slot},
    {(void *)slot_QSGNode_DirtyState___xor__, xor_slot},
    {(void *)slot_QSGNode_DirtyState___ior__, ior_slot},
    {(void *)slot_QSGNode_DirtyState___or__, or_slot},
    {(void *)slot_QSGNode_DirtyState___iand__, iand_slot},
    {(void *)slot_QSGNode_DirtyState___and__, and_slot},
    {(void *)slot_QSGNode_DirtyState___invert__, invert_slot},
    {(void *)slot_QSGNode_DirtyState___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGNode_DirtyState, "\1QSGNode.DirtyState()\n"
    "QSGNode.DirtyState(Union[QSGNode.DirtyState, QSGNode.DirtyStateBit])\n"
    "QSGNode.DirtyState(QSGNode.DirtyState)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGNode_DirtyState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGNode__DirtyState,
        {0},
        &plugin_QSGNode_DirtyState
    },
    {
        sipNameNr_DirtyState,
        {62, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGNode_DirtyState,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGNode_DirtyState,
    init_type_QSGNode_DirtyState,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGNode_DirtyState,
    assign_QSGNode_DirtyState,
    array_QSGNode_DirtyState,
    copy_QSGNode_DirtyState,
    release_QSGNode_DirtyState,
    0,
    convertTo_QSGNode_DirtyState,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 14451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 14455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGNode_Flags___hash__(PyObject *);}
static long slot_QSGNode_Flags___hash__(PyObject *sipSelf)
{
     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGNode::Flags::Int();
#line 14473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGNode_Flags___bool__(PyObject *);}
static int slot_QSGNode_Flags___bool__(PyObject *sipSelf)
{
     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::Flags::Int() != 0);
#line 14498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGNode_Flags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_Flags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGNode::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::Flags::Int() != a0->operator QSGNode::Flags::Int());
#line 14528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGNode::Flags *>(a0),sipType_QSGNode_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGNode_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGNode_Flags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_Flags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGNode::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::Flags::Int() == a0->operator QSGNode::Flags::Int());
#line 14564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGNode::Flags *>(a0),sipType_QSGNode_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGNode_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGNode_Flags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_Flags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGNode_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGNode::Flags(*sipCpp ^ a0);
#line 14603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGNode::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_Flags, &a0, &a0State, &a1))
        {
             ::QSGNode::Flags*sipRes;

            sipRes = new  ::QSGNode::Flags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGNode_Flags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGNode_Flags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_Flags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGNode_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGNode::Flags(*sipCpp | a0);
#line 14675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGNode::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_Flags, &a0, &a0State, &a1))
        {
             ::QSGNode::Flags*sipRes;

            sipRes = new  ::QSGNode::Flags((*a0 | a1));
            sipReleaseType(a0,sipType_QSGNode_Flags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGNode_Flags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_Flags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGNode_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGNode::Flags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGNode::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_Flags, &a0, &a0State, &a1))
        {
             ::QSGNode::Flags*sipRes;

            sipRes = new  ::QSGNode::Flags((*a0 & a1));
            sipReleaseType(a0,sipType_QSGNode_Flags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGNode_Flags___invert__(PyObject *);}
static PyObject *slot_QSGNode_Flags___invert__(PyObject *sipSelf)
{
     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGNode::Flags*sipRes;

            sipRes = new  ::QSGNode::Flags(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGNode_Flags___int__(PyObject *);}
static PyObject *slot_QSGNode_Flags___int__(PyObject *sipSelf)
{
     ::QSGNode::Flags *sipCpp = reinterpret_cast< ::QSGNode::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGNode_Flags(void *, int);}
static void release_QSGNode_Flags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGNode::Flags *>(sipCppV);
}


extern "C" {static void assign_QSGNode_Flags(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGNode_Flags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGNode::Flags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGNode::Flags *>(sipSrc);
}


extern "C" {static void *array_QSGNode_Flags(SIP_SSIZE_T);}
static void *array_QSGNode_Flags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGNode::Flags[sipNrElem];
}


extern "C" {static void *copy_QSGNode_Flags(const void *, SIP_SSIZE_T);}
static void *copy_QSGNode_Flags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGNode::Flags(reinterpret_cast<const  ::QSGNode::Flags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGNode_Flags(sipSimpleWrapper *);}
static void dealloc_QSGNode_Flags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGNode_Flags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGNode_Flags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGNode_Flags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGNode::Flags *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGNode::Flags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGNode_Flags, &a0, &a0State))
        {
            sipCpp = new  ::QSGNode::Flags(*a0);
            sipReleaseType(const_cast< ::QSGNode::Flags *>(a0),sipType_QSGNode_Flags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGNode_Flags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGNode_Flags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGNode::Flags **sipCppPtr = reinterpret_cast< ::QSGNode::Flags **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGNode::Flags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGNode_Flag)) ||
            sipCanConvertToType(sipPy, sipType_QSGNode_Flags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGNode_Flag)))
{
    *sipCppPtr = new QSGNode::Flags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGNode::Flags *>(sipConvertToType(sipPy, sipType_QSGNode_Flags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 14943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGNode_Flags[] = {
    {(void *)slot_QSGNode_Flags___hash__, hash_slot},
    {(void *)slot_QSGNode_Flags___bool__, bool_slot},
    {(void *)slot_QSGNode_Flags___ne__, ne_slot},
    {(void *)slot_QSGNode_Flags___eq__, eq_slot},
    {(void *)slot_QSGNode_Flags___ixor__, ixor_slot},
    {(void *)slot_QSGNode_Flags___xor__, xor_slot},
    {(void *)slot_QSGNode_Flags___ior__, ior_slot},
    {(void *)slot_QSGNode_Flags___or__, or_slot},
    {(void *)slot_QSGNode_Flags___iand__, iand_slot},
    {(void *)slot_QSGNode_Flags___and__, and_slot},
    {(void *)slot_QSGNode_Flags___invert__, invert_slot},
    {(void *)slot_QSGNode_Flags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGNode_Flags, "\1QSGNode.Flags()\n"
    "QSGNode.Flags(Union[QSGNode.Flags, QSGNode.Flag])\n"
    "QSGNode.Flags(QSGNode.Flags)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGNode_Flags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGNode__Flags,
        {0},
        &plugin_QSGNode_Flags
    },
    {
        sipNameNr_Flags,
        {62, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGNode_Flags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGNode_Flags,
    init_type_QSGNode_Flags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGNode_Flags,
    assign_QSGNode_Flags,
    array_QSGNode_Flags,
    copy_QSGNode_Flags,
    release_QSGNode_Flags,
    0,
    convertTo_QSGNode_Flags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 15029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 15033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 15036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
static sipErrorState qsgnode_handle_flags(QSGNode *node, PyObject *self, QSGNode::Flags old_flags)
{
    QSGNode::Flags new_flags = node->flags();
    
    if (node->parent())
    {
        if ((old_flags & QSGNode::OwnedByParent) != (new_flags & QSGNode::OwnedByParent))
        {
            if (old_flags & QSGNode::OwnedByParent)
            {
                sipTransferBack(self);
            }
            else
            {
                PyObject *parent = sipConvertFromType(node->parent(), sipType_QSGNode, 0);

                if (!parent)
                    return sipErrorFail;

                sipTransferTo(self, parent);
                Py_DECREF(parent);
            }
        }
    }
    
    QSGNode::NodeType ntype = node->type();
        
    if (ntype == QSGNode::BasicNodeType || ntype == QSGNode::GeometryNodeType || ntype == QSGNode::ClipNodeType)
    {
        QSGBasicGeometryNode *bg_node = (QSGBasicGeometryNode *)node;
            
        if (bg_node->geometry())
        {
            if ((old_flags & QSGNode::OwnsGeometry) != (new_flags & QSGNode::OwnsGeometry))
            {
                PyObject *geom = sipConvertFromType(bg_node->geometry(), sipType_QSGGeometry, 0);

                if (!geom)
                    return sipErrorFail;

                if (old_flags & QSGNode::OwnsGeometry)
                    sipTransferBack(geom);
                else
                    sipTransferTo(geom, self);

                Py_DECREF(geom);
            }
        }
    }
    
    if (ntype == QSGNode::GeometryNodeType)
    {
        QSGGeometryNode *g_node = (QSGGeometryNode *)node;
            
        if (g_node->material())
        {
            if ((old_flags & QSGNode::OwnsMaterial) != (new_flags & QSGNode::OwnsMaterial))
            {
                PyObject *mat = sipConvertFromType(g_node->material(), sipType_QSGMaterial, 0);

                if (!mat)
                    return sipErrorFail;

                if (old_flags & QSGNode::OwnsMaterial)
                    sipTransferBack(mat);
                else
                    sipTransferTo(mat, self);

                Py_DECREF(mat);
            }
        }

        if (g_node->opaqueMaterial())
        {
            if ((old_flags & QSGNode::OwnsOpaqueMaterial) != (new_flags & QSGNode::OwnsOpaqueMaterial))
            {
                PyObject *omat = sipConvertFromType(g_node->opaqueMaterial(), sipType_QSGMaterial, 0);

                if (!omat)
                    return sipErrorFail;

                if (old_flags & QSGNode::OwnsOpaqueMaterial)
                    sipTransferBack(omat);
                else
                    sipTransferTo(omat, self);

                Py_DECREF(omat);
            }
        }
    }

    return sipErrorNone;
}
#line 15131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGNode : public  ::QSGNode
{
public:
    sipQSGNode();
    virtual ~sipQSGNode();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void preprocess();
    bool isSubtreeBlocked() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQSGNode::sipQSGNode():  ::QSGNode(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipQSGNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGNode::preprocess();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGNode::isSubtreeBlocked();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGNode_parent, "parent(self) -> QSGNode");

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

    {
        const  ::QSGNode *sipCpp;

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

            sipRes = sipCpp->parent();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_parent, doc_QSGNode_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_removeChildNode, "removeChildNode(self, QSGNode)");

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

    {
         ::QSGNode* a0;
         ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGNode, &sipCpp, sipType_QSGNode, &a0))
        {
            sipCpp->removeChildNode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_removeChildNode, doc_QSGNode_removeChildNode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_removeAllChildNodes, "removeAllChildNodes(self)");

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

    {
         ::QSGNode *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_removeAllChildNodes, doc_QSGNode_removeAllChildNodes);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_prependChildNode, "prependChildNode(self, QSGNode)");

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

    {
         ::QSGNode* a0;
        PyObject *a0Wrapper;
         ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSGNode, &sipCpp, &a0Wrapper, sipType_QSGNode, &a0))
        {
#line 192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        sipCpp->prependChildNode(a0);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 15305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_prependChildNode, doc_QSGNode_prependChildNode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_appendChildNode, "appendChildNode(self, QSGNode)");

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

    {
         ::QSGNode* a0;
        PyObject *a0Wrapper;
         ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSGNode, &sipCpp, &a0Wrapper, sipType_QSGNode, &a0))
        {
#line 200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        sipCpp->appendChildNode(a0);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 15339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_appendChildNode, doc_QSGNode_appendChildNode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_insertChildNodeBefore, "insertChildNodeBefore(self, QSGNode, QSGNode)");

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

    {
         ::QSGNode* a0;
        PyObject *a0Wrapper;
         ::QSGNode* a1;
         ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8J8", &sipSelf, sipType_QSGNode, &sipCpp, &a0Wrapper, sipType_QSGNode, &a0, sipType_QSGNode, &a1))
        {
#line 208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        sipCpp->insertChildNodeBefore(a0, a1);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 15374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_insertChildNodeBefore, doc_QSGNode_insertChildNodeBefore);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_insertChildNodeAfter, "insertChildNodeAfter(self, QSGNode, QSGNode)");

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

    {
         ::QSGNode* a0;
        PyObject *a0Wrapper;
         ::QSGNode* a1;
         ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8J8", &sipSelf, sipType_QSGNode, &sipCpp, &a0Wrapper, sipType_QSGNode, &a0, sipType_QSGNode, &a1))
        {
#line 216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        sipCpp->insertChildNodeAfter(a0, a1);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 15409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_insertChildNodeAfter, doc_QSGNode_insertChildNodeAfter);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_childCount, "childCount(self) -> int");

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

    {
        const  ::QSGNode *sipCpp;

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

            sipRes = sipCpp->childCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_childCount, doc_QSGNode_childCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_childAtIndex, "childAtIndex(self, int) -> QSGNode");

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

    {
        int a0;
        const  ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSGNode, &sipCpp, &a0))
        {
             ::QSGNode*sipRes;

            sipRes = sipCpp->childAtIndex(a0);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_childAtIndex, doc_QSGNode_childAtIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_firstChild, "firstChild(self) -> QSGNode");

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

    {
        const  ::QSGNode *sipCpp;

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

            sipRes = sipCpp->firstChild();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_firstChild, doc_QSGNode_firstChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_lastChild, "lastChild(self) -> QSGNode");

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

    {
        const  ::QSGNode *sipCpp;

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

            sipRes = sipCpp->lastChild();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_lastChild, doc_QSGNode_lastChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_nextSibling, "nextSibling(self) -> QSGNode");

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

    {
        const  ::QSGNode *sipCpp;

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

            sipRes = sipCpp->nextSibling();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_nextSibling, doc_QSGNode_nextSibling);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_previousSibling, "previousSibling(self) -> QSGNode");

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

    {
        const  ::QSGNode *sipCpp;

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

            sipRes = sipCpp->previousSibling();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_previousSibling, doc_QSGNode_previousSibling);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_type, "type(self) -> QSGNode.NodeType");

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

    {
        const  ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGNode, &sipCpp))
        {
             ::QSGNode::NodeType sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QSGNode_NodeType);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_markDirty, "markDirty(self, Union[QSGNode.DirtyState, QSGNode.DirtyStateBit])");

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

    {
         ::QSGNode::DirtyState* a0;
        int a0State = 0;
         ::QSGNode *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_markDirty, doc_QSGNode_markDirty);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_isSubtreeBlocked, "isSubtreeBlocked(self) -> bool");

extern "C" {static PyObject *meth_QSGNode_isSubtreeBlocked(PyObject *, PyObject *);}
static PyObject *meth_QSGNode_isSubtreeBlocked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGNode *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGNode::isSubtreeBlocked() : sipCpp->isSubtreeBlocked());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_isSubtreeBlocked, doc_QSGNode_isSubtreeBlocked);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_flags, "flags(self) -> QSGNode.Flags");

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

    {
        const  ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGNode, &sipCpp))
        {
             ::QSGNode::Flags*sipRes;

            sipRes = new  ::QSGNode::Flags(sipCpp->flags());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_flags, doc_QSGNode_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_setFlag, "setFlag(self, QSGNode.Flag, enabled: bool = True)");

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

    {
         ::QSGNode::Flag a0;
        bool a1 = 1;
         ::QSGNode *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QSGNode, &sipCpp, sipType_QSGNode_Flag, &a0, &a1))
        {
            sipErrorState sipError = sipErrorNone;

#line 234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        QSGNode::Flags old_flags = sipCpp->flags();
        
        sipCpp->setFlag(a0, a1);
        
        sipError = qsgnode_handle_flags(sipCpp, sipSelf, old_flags);
#line 15735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_setFlag, doc_QSGNode_setFlag);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_setFlags, "setFlags(self, Union[QSGNode.Flags, QSGNode.Flag], enabled: bool = True)");

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

    {
         ::QSGNode::Flags* a0;
        int a0State = 0;
        bool a1 = 1;
         ::QSGNode *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|b", &sipSelf, sipType_QSGNode, &sipCpp, sipType_QSGNode_Flags, &a0, &a0State, &a1))
        {
            sipCpp->setFlags(*a0,a1);
            sipReleaseType(a0,sipType_QSGNode_Flags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_setFlags, doc_QSGNode_setFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_preprocess, "preprocess(self)");

extern "C" {static PyObject *meth_QSGNode_preprocess(PyObject *, PyObject *);}
static PyObject *meth_QSGNode_preprocess(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSGNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGNode, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QSGNode::preprocess() : sipCpp->preprocess());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGNode, sipName_preprocess, doc_QSGNode_preprocess);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QSGNode___len__(PyObject *);}
static SIP_SSIZE_T slot_QSGNode___len__(PyObject *sipSelf)
{
     ::QSGNode *sipCpp = reinterpret_cast< ::QSGNode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGNode));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->childCount();
#line 15836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGNode(void *, int);}
static void release_QSGNode(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGNode *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGNode(sipSimpleWrapper *);}
static void dealloc_QSGNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGNode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGNode[] = {
    {SIP_MLNAME_CAST(sipName_appendChildNode), meth_QSGNode_appendChildNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_appendChildNode)},
    {SIP_MLNAME_CAST(sipName_childAtIndex), meth_QSGNode_childAtIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_childAtIndex)},
    {SIP_MLNAME_CAST(sipName_childCount), meth_QSGNode_childCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_childCount)},
    {SIP_MLNAME_CAST(sipName_firstChild), meth_QSGNode_firstChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_firstChild)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QSGNode_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_flags)},
    {SIP_MLNAME_CAST(sipName_insertChildNodeAfter), meth_QSGNode_insertChildNodeAfter, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_insertChildNodeAfter)},
    {SIP_MLNAME_CAST(sipName_insertChildNodeBefore), meth_QSGNode_insertChildNodeBefore, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_insertChildNodeBefore)},
    {SIP_MLNAME_CAST(sipName_isSubtreeBlocked), meth_QSGNode_isSubtreeBlocked, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_isSubtreeBlocked)},
    {SIP_MLNAME_CAST(sipName_lastChild), meth_QSGNode_lastChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_lastChild)},
    {SIP_MLNAME_CAST(sipName_markDirty), meth_QSGNode_markDirty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_markDirty)},
    {SIP_MLNAME_CAST(sipName_nextSibling), meth_QSGNode_nextSibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_nextSibling)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QSGNode_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_parent)},
    {SIP_MLNAME_CAST(sipName_prependChildNode), meth_QSGNode_prependChildNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_prependChildNode)},
    {SIP_MLNAME_CAST(sipName_preprocess), meth_QSGNode_preprocess, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_preprocess)},
    {SIP_MLNAME_CAST(sipName_previousSibling), meth_QSGNode_previousSibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_previousSibling)},
    {SIP_MLNAME_CAST(sipName_removeAllChildNodes), meth_QSGNode_removeAllChildNodes, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_removeAllChildNodes)},
    {SIP_MLNAME_CAST(sipName_removeChildNode), meth_QSGNode_removeChildNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_removeChildNode)},
    {SIP_MLNAME_CAST(sipName_setFlag), (PyCFunction)meth_QSGNode_setFlag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGNode_setFlag)},
    {SIP_MLNAME_CAST(sipName_setFlags), (PyCFunction)meth_QSGNode_setFlags, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGNode_setFlags)},
    {SIP_MLNAME_CAST(sipName_type), meth_QSGNode_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGNode_type)}
};

static sipEnumMemberDef enummembers_QSGNode[] = {
    {sipName_BasicNodeType, static_cast<int>( ::QSGNode::BasicNodeType), 67},
    {sipName_ClipNodeType, static_cast<int>( ::QSGNode::ClipNodeType), 67},
    {sipName_DirtyGeometry, static_cast<int>( ::QSGNode::DirtyGeometry), 64},
    {sipName_DirtyMaterial, static_cast<int>( ::QSGNode::DirtyMaterial), 64},
    {sipName_DirtyMatrix, static_cast<int>( ::QSGNode::DirtyMatrix), 64},
    {sipName_DirtyNodeAdded, static_cast<int>( ::QSGNode::DirtyNodeAdded), 64},
    {sipName_DirtyNodeRemoved, static_cast<int>( ::QSGNode::DirtyNodeRemoved), 64},
    {sipName_DirtyOpacity, static_cast<int>( ::QSGNode::DirtyOpacity), 64},
    {sipName_GeometryNodeType, static_cast<int>( ::QSGNode::GeometryNodeType), 67},
    {sipName_OpacityNodeType, static_cast<int>( ::QSGNode::OpacityNodeType), 67},
    {sipName_OwnedByParent, static_cast<int>( ::QSGNode::OwnedByParent), 65},
    {sipName_OwnsGeometry, static_cast<int>( ::QSGNode::OwnsGeometry), 65},
    {sipName_OwnsMaterial, static_cast<int>( ::QSGNode::OwnsMaterial), 65},
    {sipName_OwnsOpaqueMaterial, static_cast<int>( ::QSGNode::OwnsOpaqueMaterial), 65},
    {sipName_TransformNodeType, static_cast<int>( ::QSGNode::TransformNodeType), 67},
    {sipName_UsePreprocess, static_cast<int>( ::QSGNode::UsePreprocess), 65},
};

PyDoc_STRVAR(doc_QSGNode, "\1QSGNode()");


static pyqt5ClassPluginDef plugin_QSGNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGNode,
        {0},
        &plugin_QSGNode
    },
    {
        sipNameNr_QSGNode,
        {0, 0, 1},
        20, methods_QSGNode,
        16, enummembers_QSGNode,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGNode,
    -1,
    -1,
    0,
    slots_QSGNode,
    init_type_QSGNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGNode,
    0,
    0,
    0,
    release_QSGNode,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGMaterial_Flags___hash__(PyObject *);}
static long slot_QSGMaterial_Flags___hash__(PyObject *sipSelf)
{
     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGMaterial::Flags::Int();
#line 16024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGMaterial_Flags___bool__(PyObject *);}
static int slot_QSGMaterial_Flags___bool__(PyObject *sipSelf)
{
     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterial::Flags::Int() != 0);
#line 16049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGMaterial_Flags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterial_Flags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGMaterial::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterial_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterial::Flags::Int() != a0->operator QSGMaterial::Flags::Int());
#line 16079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGMaterial::Flags *>(a0),sipType_QSGMaterial_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGMaterial_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGMaterial_Flags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterial_Flags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGMaterial::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterial_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterial::Flags::Int() == a0->operator QSGMaterial::Flags::Int());
#line 16115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGMaterial::Flags *>(a0),sipType_QSGMaterial_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGMaterial_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGMaterial_Flags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterial_Flags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGMaterial_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGMaterial::Flags(*sipCpp ^ a0);
#line 16154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGMaterial::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterial_Flags, &a0, &a0State, &a1))
        {
             ::QSGMaterial::Flags*sipRes;

            sipRes = new  ::QSGMaterial::Flags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGMaterial_Flags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGMaterial_Flags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterial_Flags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGMaterial_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGMaterial::Flags(*sipCpp | a0);
#line 16226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGMaterial::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterial_Flags, &a0, &a0State, &a1))
        {
             ::QSGMaterial::Flags*sipRes;

            sipRes = new  ::QSGMaterial::Flags((*a0 | a1));
            sipReleaseType(a0,sipType_QSGMaterial_Flags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGMaterial_Flags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterial_Flags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGMaterial_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGMaterial::Flags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGMaterial::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterial_Flags, &a0, &a0State, &a1))
        {
             ::QSGMaterial::Flags*sipRes;

            sipRes = new  ::QSGMaterial::Flags((*a0 & a1));
            sipReleaseType(a0,sipType_QSGMaterial_Flags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGMaterial_Flags___invert__(PyObject *);}
static PyObject *slot_QSGMaterial_Flags___invert__(PyObject *sipSelf)
{
     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGMaterial::Flags*sipRes;

            sipRes = new  ::QSGMaterial::Flags(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGMaterial_Flags___int__(PyObject *);}
static PyObject *slot_QSGMaterial_Flags___int__(PyObject *sipSelf)
{
     ::QSGMaterial::Flags *sipCpp = reinterpret_cast< ::QSGMaterial::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterial_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGMaterial_Flags(void *, int);}
static void release_QSGMaterial_Flags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGMaterial::Flags *>(sipCppV);
}


extern "C" {static void assign_QSGMaterial_Flags(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGMaterial_Flags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGMaterial::Flags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGMaterial::Flags *>(sipSrc);
}


extern "C" {static void *array_QSGMaterial_Flags(SIP_SSIZE_T);}
static void *array_QSGMaterial_Flags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGMaterial::Flags[sipNrElem];
}


extern "C" {static void *copy_QSGMaterial_Flags(const void *, SIP_SSIZE_T);}
static void *copy_QSGMaterial_Flags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGMaterial::Flags(reinterpret_cast<const  ::QSGMaterial::Flags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGMaterial_Flags(sipSimpleWrapper *);}
static void dealloc_QSGMaterial_Flags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGMaterial_Flags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGMaterial_Flags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGMaterial_Flags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGMaterial::Flags *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGMaterial::Flags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGMaterial_Flags, &a0, &a0State))
        {
            sipCpp = new  ::QSGMaterial::Flags(*a0);
            sipReleaseType(const_cast< ::QSGMaterial::Flags *>(a0),sipType_QSGMaterial_Flags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGMaterial_Flags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGMaterial_Flags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGMaterial::Flags **sipCppPtr = reinterpret_cast< ::QSGMaterial::Flags **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGMaterial::Flags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGMaterial_Flag)) ||
            sipCanConvertToType(sipPy, sipType_QSGMaterial_Flags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGMaterial_Flag)))
{
    *sipCppPtr = new QSGMaterial::Flags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGMaterial::Flags *>(sipConvertToType(sipPy, sipType_QSGMaterial_Flags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 16494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGMaterial_Flags[] = {
    {(void *)slot_QSGMaterial_Flags___hash__, hash_slot},
    {(void *)slot_QSGMaterial_Flags___bool__, bool_slot},
    {(void *)slot_QSGMaterial_Flags___ne__, ne_slot},
    {(void *)slot_QSGMaterial_Flags___eq__, eq_slot},
    {(void *)slot_QSGMaterial_Flags___ixor__, ixor_slot},
    {(void *)slot_QSGMaterial_Flags___xor__, xor_slot},
    {(void *)slot_QSGMaterial_Flags___ior__, ior_slot},
    {(void *)slot_QSGMaterial_Flags___or__, or_slot},
    {(void *)slot_QSGMaterial_Flags___iand__, iand_slot},
    {(void *)slot_QSGMaterial_Flags___and__, and_slot},
    {(void *)slot_QSGMaterial_Flags___invert__, invert_slot},
    {(void *)slot_QSGMaterial_Flags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGMaterial_Flags, "\1QSGMaterial.Flags()\n"
    "QSGMaterial.Flags(Union[QSGMaterial.Flags, QSGMaterial.Flag])\n"
    "QSGMaterial.Flags(QSGMaterial.Flags)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGMaterial_Flags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterial__Flags,
        {0},
        &plugin_QSGMaterial_Flags
    },
    {
        sipNameNr_Flags,
        {54, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterial_Flags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGMaterial_Flags,
    init_type_QSGMaterial_Flags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGMaterial_Flags,
    assign_QSGMaterial_Flags,
    array_QSGMaterial_Flags,
    copy_QSGMaterial_Flags,
    release_QSGMaterial_Flags,
    0,
    convertTo_QSGMaterial_Flags,
    0,
    0,
    0,
    0,
    0
};

#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"



/* Call the instance's destructor. */
extern "C" {static void release_QSGMaterialType(void *, int);}
static void release_QSGMaterialType(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGMaterialType *>(sipCppV);
}


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


extern "C" {static void *array_QSGMaterialType(SIP_SSIZE_T);}
static void *array_QSGMaterialType(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGMaterialType[sipNrElem];
}


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


extern "C" {static void dealloc_QSGMaterialType(sipSimpleWrapper *);}
static void dealloc_QSGMaterialType(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGMaterialType(sipGetAddress(sipSelf), 0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const  ::QSGMaterialType* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSGMaterialType, &a0))
        {
            sipCpp = new  ::QSGMaterialType(*a0);

            return sipCpp;
        }
    }

    return NULL;
}

PyDoc_STRVAR(doc_QSGMaterialType, "\1QSGMaterialType()\n"
    "QSGMaterialType(QSGMaterialType)");


static pyqt5ClassPluginDef plugin_QSGMaterialType = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGMaterialType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialType,
        {0},
        &plugin_QSGMaterialType
    },
    {
        sipNameNr_QSGMaterialType,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialType,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSGMaterialType,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGMaterialType,
    assign_QSGMaterialType,
    array_QSGMaterialType,
    copy_QSGMaterialType,
    release_QSGMaterialType,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGMaterialShader_RenderState_DirtyStates___hash__(PyObject *);}
static long slot_QSGMaterialShader_RenderState_DirtyStates___hash__(PyObject *sipSelf)
{
     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGMaterialShader::RenderState::DirtyStates::Int();
#line 16741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGMaterialShader_RenderState_DirtyStates___bool__(PyObject *);}
static int slot_QSGMaterialShader_RenderState_DirtyStates___bool__(PyObject *sipSelf)
{
     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterialShader::RenderState::DirtyStates::Int() != 0);
#line 16766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterialShader::RenderState::DirtyStates::Int() != a0->operator QSGMaterialShader::RenderState::DirtyStates::Int());
#line 16796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(a0),sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGMaterialShader_RenderState_DirtyStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterialShader::RenderState::DirtyStates::Int() == a0->operator QSGMaterialShader::RenderState::DirtyStates::Int());
#line 16832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(a0),sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGMaterialShader_RenderState_DirtyStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGMaterialShader_RenderState_DirtyStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGMaterialShader::RenderState::DirtyStates(*sipCpp ^ a0);
#line 16871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State, &a1))
        {
             ::QSGMaterialShader::RenderState::DirtyStates*sipRes;

            sipRes = new  ::QSGMaterialShader::RenderState::DirtyStates((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGMaterialShader_RenderState_DirtyStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGMaterialShader::RenderState::DirtyStates(*sipCpp | a0);
#line 16943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State, &a1))
        {
             ::QSGMaterialShader::RenderState::DirtyStates*sipRes;

            sipRes = new  ::QSGMaterialShader::RenderState::DirtyStates((*a0 | a1));
            sipReleaseType(a0,sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGMaterialShader_RenderState_DirtyStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGMaterialShader::RenderState::DirtyStates::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State, &a1))
        {
             ::QSGMaterialShader::RenderState::DirtyStates*sipRes;

            sipRes = new  ::QSGMaterialShader::RenderState::DirtyStates((*a0 & a1));
            sipReleaseType(a0,sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___invert__(PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___invert__(PyObject *sipSelf)
{
     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGMaterialShader::RenderState::DirtyStates*sipRes;

            sipRes = new  ::QSGMaterialShader::RenderState::DirtyStates(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___int__(PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___int__(PyObject *sipSelf)
{
     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGMaterialShader_RenderState_DirtyStates));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGMaterialShader_RenderState_DirtyStates(void *, int);}
static void release_QSGMaterialShader_RenderState_DirtyStates(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipCppV);
}


extern "C" {static void assign_QSGMaterialShader_RenderState_DirtyStates(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGMaterialShader_RenderState_DirtyStates(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGMaterialShader::RenderState::DirtyStates *>(sipSrc);
}


extern "C" {static void *array_QSGMaterialShader_RenderState_DirtyStates(SIP_SSIZE_T);}
static void *array_QSGMaterialShader_RenderState_DirtyStates(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGMaterialShader::RenderState::DirtyStates[sipNrElem];
}


extern "C" {static void *copy_QSGMaterialShader_RenderState_DirtyStates(const void *, SIP_SSIZE_T);}
static void *copy_QSGMaterialShader_RenderState_DirtyStates(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGMaterialShader::RenderState::DirtyStates(reinterpret_cast<const  ::QSGMaterialShader::RenderState::DirtyStates *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGMaterialShader_RenderState_DirtyStates(sipSimpleWrapper *);}
static void dealloc_QSGMaterialShader_RenderState_DirtyStates(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGMaterialShader_RenderState_DirtyStates(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGMaterialShader_RenderState_DirtyStates(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGMaterialShader_RenderState_DirtyStates(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGMaterialShader::RenderState::DirtyStates *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QSGMaterialShader::RenderState::DirtyStates();

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State))
        {
            sipCpp = new  ::QSGMaterialShader::RenderState::DirtyStates(*a0);
            sipReleaseType(const_cast< ::QSGMaterialShader::RenderState::DirtyStates *>(a0),sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGMaterialShader_RenderState_DirtyStates(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGMaterialShader_RenderState_DirtyStates(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGMaterialShader::RenderState::DirtyStates **sipCppPtr = reinterpret_cast< ::QSGMaterialShader::RenderState::DirtyStates **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGMaterialShader::RenderState::DirtyStates is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGMaterialShader_RenderState_DirtyState)) ||
            sipCanConvertToType(sipPy, sipType_QSGMaterialShader_RenderState_DirtyStates, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGMaterialShader_RenderState_DirtyState)))
{
    *sipCppPtr = new QSGMaterialShader::RenderState::DirtyStates(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGMaterialShader::RenderState::DirtyStates *>(sipConvertToType(sipPy, sipType_QSGMaterialShader_RenderState_DirtyStates, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 17211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGMaterialShader_RenderState_DirtyStates[] = {
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___hash__, hash_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___bool__, bool_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___ne__, ne_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___eq__, eq_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___ixor__, ixor_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___xor__, xor_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___ior__, ior_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___or__, or_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___iand__, iand_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___and__, and_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___invert__, invert_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_DirtyStates, "\1QSGMaterialShader.RenderState.DirtyStates()\n"
    "QSGMaterialShader.RenderState.DirtyStates(Union[QSGMaterialShader.RenderState.DirtyStates, QSGMaterialShader.RenderState.DirtyState])\n"
    "QSGMaterialShader.RenderState.DirtyStates(QSGMaterialShader.RenderState.DirtyStates)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGMaterialShader_RenderState_DirtyStates = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialShader__RenderState__DirtyStates,
        {0},
        &plugin_QSGMaterialShader_RenderState_DirtyStates
    },
    {
        sipNameNr_DirtyStates,
        {58, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialShader_RenderState_DirtyStates,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGMaterialShader_RenderState_DirtyStates,
    init_type_QSGMaterialShader_RenderState_DirtyStates,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGMaterialShader_RenderState_DirtyStates,
    assign_QSGMaterialShader_RenderState_DirtyStates,
    array_QSGMaterialShader_RenderState_DirtyStates,
    copy_QSGMaterialShader_RenderState_DirtyStates,
    release_QSGMaterialShader_RenderState_DirtyStates,
    0,
    convertTo_QSGMaterialShader_RenderState_DirtyStates,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 17303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 46 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 17306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 17309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_dirtyStates, "dirtyStates(self) -> QSGMaterialShader.RenderState.DirtyStates");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterialShader_RenderState, &sipCpp))
        {
             ::QSGMaterialShader::RenderState::DirtyStates*sipRes;

            sipRes = new  ::QSGMaterialShader::RenderState::DirtyStates(sipCpp->dirtyStates());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_dirtyStates, doc_QSGMaterialShader_RenderState_dirtyStates);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_isMatrixDirty, "isMatrixDirty(self) -> bool");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = sipCpp->isMatrixDirty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_isMatrixDirty, doc_QSGMaterialShader_RenderState_isMatrixDirty);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_isOpacityDirty, "isOpacityDirty(self) -> bool");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = sipCpp->isOpacityDirty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_isOpacityDirty, doc_QSGMaterialShader_RenderState_isOpacityDirty);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_opacity, "opacity(self) -> float");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterialShader_RenderState, &sipCpp))
        {
            float sipRes;

            sipRes = sipCpp->opacity();

            return PyFloat_FromDouble((double)sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_opacity, doc_QSGMaterialShader_RenderState_opacity);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_combinedMatrix, "combinedMatrix(self) -> QMatrix4x4");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = new  ::QMatrix4x4(sipCpp->combinedMatrix());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_combinedMatrix, doc_QSGMaterialShader_RenderState_combinedMatrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_modelViewMatrix, "modelViewMatrix(self) -> QMatrix4x4");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = new  ::QMatrix4x4(sipCpp->modelViewMatrix());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_modelViewMatrix, doc_QSGMaterialShader_RenderState_modelViewMatrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_viewportRect, "viewportRect(self) -> QRect");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = new  ::QRect(sipCpp->viewportRect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_viewportRect, doc_QSGMaterialShader_RenderState_viewportRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_deviceRect, "deviceRect(self) -> QRect");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = new  ::QRect(sipCpp->deviceRect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_deviceRect, doc_QSGMaterialShader_RenderState_deviceRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_determinant, "determinant(self) -> float");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterialShader_RenderState, &sipCpp))
        {
            float sipRes;

            sipRes = sipCpp->determinant();

            return PyFloat_FromDouble((double)sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_determinant, doc_QSGMaterialShader_RenderState_determinant);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_context, "context(self) -> QOpenGLContext");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = sipCpp->context();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_context, doc_QSGMaterialShader_RenderState_context);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_projectionMatrix, "projectionMatrix(self) -> QMatrix4x4");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = new  ::QMatrix4x4(sipCpp->projectionMatrix());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_projectionMatrix, doc_QSGMaterialShader_RenderState_projectionMatrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_devicePixelRatio, "devicePixelRatio(self) -> float");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterialShader_RenderState, &sipCpp))
        {
            float sipRes;

            sipRes = sipCpp->devicePixelRatio();

            return PyFloat_FromDouble((double)sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_devicePixelRatio, doc_QSGMaterialShader_RenderState_devicePixelRatio);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_isCachedMaterialDataDirty, "isCachedMaterialDataDirty(self) -> bool");

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

    {
        const  ::QSGMaterialShader::RenderState *sipCpp;

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

            sipRes = sipCpp->isCachedMaterialDataDirty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RenderState, sipName_isCachedMaterialDataDirty, doc_QSGMaterialShader_RenderState_isCachedMaterialDataDirty);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGMaterialShader_RenderState(void *, int);}
static void release_QSGMaterialShader_RenderState(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGMaterialShader::RenderState *>(sipCppV);
}


extern "C" {static void assign_QSGMaterialShader_RenderState(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGMaterialShader_RenderState(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGMaterialShader::RenderState *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGMaterialShader::RenderState *>(sipSrc);
}


extern "C" {static void *array_QSGMaterialShader_RenderState(SIP_SSIZE_T);}
static void *array_QSGMaterialShader_RenderState(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGMaterialShader::RenderState[sipNrElem];
}


extern "C" {static void *copy_QSGMaterialShader_RenderState(const void *, SIP_SSIZE_T);}
static void *copy_QSGMaterialShader_RenderState(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGMaterialShader::RenderState(reinterpret_cast<const  ::QSGMaterialShader::RenderState *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGMaterialShader_RenderState(sipSimpleWrapper *);}
static void dealloc_QSGMaterialShader_RenderState(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGMaterialShader_RenderState(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGMaterialShader_RenderState(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGMaterialShader_RenderState(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGMaterialShader::RenderState *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGMaterialShader::RenderState* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSGMaterialShader_RenderState, &a0))
        {
            sipCpp = new  ::QSGMaterialShader::RenderState(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGMaterialShader_RenderState[] = {
    {SIP_MLNAME_CAST(sipName_combinedMatrix), meth_QSGMaterialShader_RenderState_combinedMatrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_combinedMatrix)},
    {SIP_MLNAME_CAST(sipName_context), meth_QSGMaterialShader_RenderState_context, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_context)},
    {SIP_MLNAME_CAST(sipName_determinant), meth_QSGMaterialShader_RenderState_determinant, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_determinant)},
    {SIP_MLNAME_CAST(sipName_devicePixelRatio), meth_QSGMaterialShader_RenderState_devicePixelRatio, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_devicePixelRatio)},
    {SIP_MLNAME_CAST(sipName_deviceRect), meth_QSGMaterialShader_RenderState_deviceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_deviceRect)},
    {SIP_MLNAME_CAST(sipName_dirtyStates), meth_QSGMaterialShader_RenderState_dirtyStates, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_dirtyStates)},
    {SIP_MLNAME_CAST(sipName_isCachedMaterialDataDirty), meth_QSGMaterialShader_RenderState_isCachedMaterialDataDirty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_isCachedMaterialDataDirty)},
    {SIP_MLNAME_CAST(sipName_isMatrixDirty), meth_QSGMaterialShader_RenderState_isMatrixDirty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_isMatrixDirty)},
    {SIP_MLNAME_CAST(sipName_isOpacityDirty), meth_QSGMaterialShader_RenderState_isOpacityDirty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_isOpacityDirty)},
    {SIP_MLNAME_CAST(sipName_modelViewMatrix), meth_QSGMaterialShader_RenderState_modelViewMatrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_modelViewMatrix)},
    {SIP_MLNAME_CAST(sipName_opacity), meth_QSGMaterialShader_RenderState_opacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_opacity)},
    {SIP_MLNAME_CAST(sipName_projectionMatrix), meth_QSGMaterialShader_RenderState_projectionMatrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_projectionMatrix)},
    {SIP_MLNAME_CAST(sipName_viewportRect), meth_QSGMaterialShader_RenderState_viewportRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_RenderState_viewportRect)}
};

static sipEnumMemberDef enummembers_QSGMaterialShader_RenderState[] = {
    {sipName_DirtyAll, static_cast<int>( ::QSGMaterialShader::RenderState::DirtyAll), 59},
    {sipName_DirtyCachedMaterialData, static_cast<int>( ::QSGMaterialShader::RenderState::DirtyCachedMaterialData), 59},
    {sipName_DirtyMatrix, static_cast<int>( ::QSGMaterialShader::RenderState::DirtyMatrix), 59},
    {sipName_DirtyOpacity, static_cast<int>( ::QSGMaterialShader::RenderState::DirtyOpacity), 59},
};

PyDoc_STRVAR(doc_QSGMaterialShader_RenderState, "\1QSGMaterialShader.RenderState()\n"
    "QSGMaterialShader.RenderState(QSGMaterialShader.RenderState)");


static pyqt5ClassPluginDef plugin_QSGMaterialShader_RenderState = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGMaterialShader_RenderState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialShader__RenderState,
        {0},
        &plugin_QSGMaterialShader_RenderState
    },
    {
        sipNameNr_RenderState,
        {57, 255, 0},
        13, methods_QSGMaterialShader_RenderState,
        4, enummembers_QSGMaterialShader_RenderState,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialShader_RenderState,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSGMaterialShader_RenderState,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGMaterialShader_RenderState,
    assign_QSGMaterialShader_RenderState,
    array_QSGMaterialShader_RenderState,
    copy_QSGMaterialShader_RenderState,
    release_QSGMaterialShader_RenderState,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtGui/qopenglshaderprogram.sip"
#include <qopenglshaderprogram.h>
#line 17840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 76 "sip/QtGui/qopenglshaderprogram.sip"
#include <qopenglshaderprogram.h>
#line 17849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGMaterialShader : public  ::QSGMaterialShader
{
public:
    sipQSGMaterialShader();
    virtual ~sipQSGMaterialShader();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_compile(bool);
    void sipProtectVirt_initialize(bool);
    const char* sipProtectVirt_vertexShader(bool) const;
    const char* sipProtectVirt_fragmentShader(bool) const;
    void sipProtect_setShaderSourceFile( ::QOpenGLShader::ShaderType,const  ::QString&);
    void sipProtect_setShaderSourceFiles( ::QOpenGLShader::ShaderType,const  ::QStringList&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    const char* fragmentShader() const;
    const char* vertexShader() const;
    void initialize();
    void compile();
    const char* const* attributeNames() const;
    void updateState(const  ::QSGMaterialShader::RenderState&, ::QSGMaterial*, ::QSGMaterial*);
    void deactivate();
    void activate();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipQSGMaterialShader::sipQSGMaterialShader():  ::QSGMaterialShader(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const char* sipQSGMaterialShader::fragmentShader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGMaterialShader::fragmentShader();

    extern const char* sipVH_QtQuick_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtQuick_67(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, -2);
}

const char* sipQSGMaterialShader::vertexShader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGMaterialShader::vertexShader();

    extern const char* sipVH_QtQuick_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtQuick_67(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, -3);
}

void sipQSGMaterialShader::initialize()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGMaterialShader::initialize();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGMaterialShader::compile()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGMaterialShader::compile();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* const* sipQSGMaterialShader::attributeNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern const char* const* sipVH_QtQuick_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtQuick_66(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, -4);
}

void sipQSGMaterialShader::updateState(const  ::QSGMaterialShader::RenderState& a0, ::QSGMaterial*a1, ::QSGMaterial*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGMaterialShader::updateState(a0,a1,a2);
        return;
    }

    extern void sipVH_QtQuick_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QSGMaterialShader::RenderState&, ::QSGMaterial*, ::QSGMaterial*);

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

void sipQSGMaterialShader::deactivate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGMaterialShader::deactivate();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGMaterialShader::activate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGMaterialShader::activate();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQSGMaterialShader::sipProtectVirt_compile(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QSGMaterialShader::compile() : compile());
}

void sipQSGMaterialShader::sipProtectVirt_initialize(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QSGMaterialShader::initialize() : initialize());
}

const char* sipQSGMaterialShader::sipProtectVirt_vertexShader(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QSGMaterialShader::vertexShader() : vertexShader());
}

const char* sipQSGMaterialShader::sipProtectVirt_fragmentShader(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QSGMaterialShader::fragmentShader() : fragmentShader());
}

void sipQSGMaterialShader::sipProtect_setShaderSourceFile( ::QOpenGLShader::ShaderType a0,const  ::QString& a1)
{
     ::QSGMaterialShader::setShaderSourceFile(a0,a1);
}

void sipQSGMaterialShader::sipProtect_setShaderSourceFiles( ::QOpenGLShader::ShaderType a0,const  ::QStringList& a1)
{
     ::QSGMaterialShader::setShaderSourceFiles(a0,a1);
}


PyDoc_STRVAR(doc_QSGMaterialShader_activate, "activate(self)");

extern "C" {static PyObject *meth_QSGMaterialShader_activate(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_activate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSGMaterialShader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterialShader, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QSGMaterialShader::activate() : sipCpp->activate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_activate, doc_QSGMaterialShader_activate);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_deactivate, "deactivate(self)");

extern "C" {static PyObject *meth_QSGMaterialShader_deactivate(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_deactivate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSGMaterialShader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterialShader, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QSGMaterialShader::deactivate() : sipCpp->deactivate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_deactivate, doc_QSGMaterialShader_deactivate);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_updateState, "updateState(self, QSGMaterialShader.RenderState, QSGMaterial, QSGMaterial)");

extern "C" {static PyObject *meth_QSGMaterialShader_updateState(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_updateState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGMaterialShader::RenderState* a0;
         ::QSGMaterial* a1;
         ::QSGMaterial* a2;
         ::QSGMaterialShader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J8J8", &sipSelf, sipType_QSGMaterialShader, &sipCpp, sipType_QSGMaterialShader_RenderState, &a0, sipType_QSGMaterial, &a1, sipType_QSGMaterial, &a2))
        {
            (sipSelfWasArg ? sipCpp-> ::QSGMaterialShader::updateState(*a0,a1,a2) : sipCpp->updateState(*a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_updateState, doc_QSGMaterialShader_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_attributeNames, "attributeNames(self) -> List[str]");

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

    {
        const  ::QSGMaterialShader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterialShader, &sipCpp))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGMaterialShader, sipName_attributeNames);
                return NULL;
            }

#line 78 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
        const char * const *names = sipCpp->attributeNames();
        
        Py_ssize_t nr_names = 0;
        
        if (names)
            while (names[nr_names])
                ++nr_names;
            
        sipRes = PyList_New(nr_names);
            
        if (!sipRes)
            sipIsErr = 1;
        else
            for (Py_ssize_t i = 0; i < nr_names; ++i)
            {
                const char *name = names[i];
                PyObject *el;
        
        #if PY_MAJOR_VERSION >= 3
                el = PyUnicode_DecodeASCII(name, strlen(name), 0);
        #else
                el = PyString_FromString(name);
        #endif
                
                if (!el)
                {
                    Py_DECREF(sipRes);
                    sipIsErr = 1;
                    break;
                }
        
                PyList_SetItem(sipRes, i, el);
            }
#line 18221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_attributeNames, doc_QSGMaterialShader_attributeNames);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_program, "program(self) -> QOpenGLShaderProgram");

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

    {
         ::QSGMaterialShader *sipCpp;

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

            sipRes = sipCpp->program();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_program, doc_QSGMaterialShader_program);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_compile, "compile(self)");

extern "C" {static PyObject *meth_QSGMaterialShader_compile(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_compile(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQSGMaterialShader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGMaterialShader, &sipCpp))
        {
            sipCpp->sipProtectVirt_compile(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_compile, doc_QSGMaterialShader_compile);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_initialize, "initialize(self)");

extern "C" {static PyObject *meth_QSGMaterialShader_initialize(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_initialize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQSGMaterialShader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGMaterialShader, &sipCpp))
        {
            sipCpp->sipProtectVirt_initialize(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_initialize, doc_QSGMaterialShader_initialize);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_vertexShader, "vertexShader(self) -> str");

extern "C" {static PyObject *meth_QSGMaterialShader_vertexShader(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_vertexShader(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQSGMaterialShader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGMaterialShader, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->sipProtectVirt_vertexShader(sipSelfWasArg);

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return SIPBytes_FromString(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_vertexShader, doc_QSGMaterialShader_vertexShader);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_fragmentShader, "fragmentShader(self) -> str");

extern "C" {static PyObject *meth_QSGMaterialShader_fragmentShader(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_fragmentShader(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQSGMaterialShader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGMaterialShader, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->sipProtectVirt_fragmentShader(sipSelfWasArg);

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return SIPBytes_FromString(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_fragmentShader, doc_QSGMaterialShader_fragmentShader);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_setShaderSourceFile, "setShaderSourceFile(self, Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], str)");

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

    {
         ::QOpenGLShader::ShaderType* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        sipQSGMaterialShader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QSGMaterialShader, &sipCpp, sipType_QOpenGLShader_ShaderType, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->sipProtect_setShaderSourceFile(*a0,*a1);
            sipReleaseType(a0,sipType_QOpenGLShader_ShaderType,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_setShaderSourceFile, doc_QSGMaterialShader_setShaderSourceFile);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterialShader_setShaderSourceFiles, "setShaderSourceFiles(self, Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], Iterable[str])");

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

    {
         ::QOpenGLShader::ShaderType* a0;
        int a0State = 0;
        const  ::QStringList* a1;
        int a1State = 0;
        sipQSGMaterialShader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QSGMaterialShader, &sipCpp, sipType_QOpenGLShader_ShaderType, &a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            sipCpp->sipProtect_setShaderSourceFiles(*a0,*a1);
            sipReleaseType(a0,sipType_QOpenGLShader_ShaderType,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterialShader, sipName_setShaderSourceFiles, doc_QSGMaterialShader_setShaderSourceFiles);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGMaterialShader(void *, int);}
static void release_QSGMaterialShader(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGMaterialShader *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGMaterialShader *>(sipCppV);
}


extern "C" {static void dealloc_QSGMaterialShader(sipSimpleWrapper *);}
static void dealloc_QSGMaterialShader(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGMaterialShader *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGMaterialShader[] = {
    {SIP_MLNAME_CAST(sipName_activate), meth_QSGMaterialShader_activate, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_activate)},
    {SIP_MLNAME_CAST(sipName_attributeNames), meth_QSGMaterialShader_attributeNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_attributeNames)},
    {SIP_MLNAME_CAST(sipName_compile), (PyCFunction)meth_QSGMaterialShader_compile, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGMaterialShader_compile)},
    {SIP_MLNAME_CAST(sipName_deactivate), meth_QSGMaterialShader_deactivate, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_deactivate)},
    {SIP_MLNAME_CAST(sipName_fragmentShader), (PyCFunction)meth_QSGMaterialShader_fragmentShader, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGMaterialShader_fragmentShader)},
    {SIP_MLNAME_CAST(sipName_initialize), (PyCFunction)meth_QSGMaterialShader_initialize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGMaterialShader_initialize)},
    {SIP_MLNAME_CAST(sipName_program), meth_QSGMaterialShader_program, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_program)},
    {SIP_MLNAME_CAST(sipName_setShaderSourceFile), (PyCFunction)meth_QSGMaterialShader_setShaderSourceFile, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGMaterialShader_setShaderSourceFile)},
    {SIP_MLNAME_CAST(sipName_setShaderSourceFiles), (PyCFunction)meth_QSGMaterialShader_setShaderSourceFiles, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGMaterialShader_setShaderSourceFiles)},
    {SIP_MLNAME_CAST(sipName_updateState), meth_QSGMaterialShader_updateState, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterialShader_updateState)},
    {SIP_MLNAME_CAST(sipName_vertexShader), (PyCFunction)meth_QSGMaterialShader_vertexShader, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGMaterialShader_vertexShader)}
};

PyDoc_STRVAR(doc_QSGMaterialShader, "\1QSGMaterialShader()");


static pyqt5ClassPluginDef plugin_QSGMaterialShader = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGMaterialShader = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialShader,
        {0},
        &plugin_QSGMaterialShader
    },
    {
        sipNameNr_QSGMaterialShader,
        {0, 0, 1},
        11, methods_QSGMaterialShader,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialShader,
    -1,
    -1,
    0,
    0,
    init_type_QSGMaterialShader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGMaterialShader,
    0,
    0,
    0,
    release_QSGMaterialShader,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 18578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 18582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGImageNode_TextureCoordinatesTransformMode___hash__(PyObject *);}
static long slot_QSGImageNode_TextureCoordinatesTransformMode___hash__(PyObject *sipSelf)
{
     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGImageNode::TextureCoordinatesTransformMode::Int();
#line 18600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGImageNode_TextureCoordinatesTransformMode___bool__(PyObject *);}
static int slot_QSGImageNode_TextureCoordinatesTransformMode___bool__(PyObject *sipSelf)
{
     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGImageNode::TextureCoordinatesTransformMode::Int() != 0);
#line 18625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGImageNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGImageNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGImageNode::TextureCoordinatesTransformMode::Int() != a0->operator QSGImageNode::TextureCoordinatesTransformMode::Int());
#line 18655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(a0),sipType_QSGImageNode_TextureCoordinatesTransformMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGImageNode_TextureCoordinatesTransformMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGImageNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGImageNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGImageNode::TextureCoordinatesTransformMode::Int() == a0->operator QSGImageNode::TextureCoordinatesTransformMode::Int());
#line 18691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(a0),sipType_QSGImageNode_TextureCoordinatesTransformMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGImageNode_TextureCoordinatesTransformMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGImageNode_TextureCoordinatesTransformMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGImageNode::TextureCoordinatesTransformMode(*sipCpp ^ a0);
#line 18730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGImageNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGImageNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
             ::QSGImageNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGImageNode::TextureCoordinatesTransformMode((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGImageNode_TextureCoordinatesTransformMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGImageNode_TextureCoordinatesTransformMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGImageNode::TextureCoordinatesTransformMode(*sipCpp | a0);
#line 18802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGImageNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGImageNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
             ::QSGImageNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGImageNode::TextureCoordinatesTransformMode((*a0 | a1));
            sipReleaseType(a0,sipType_QSGImageNode_TextureCoordinatesTransformMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGImageNode_TextureCoordinatesTransformMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGImageNode::TextureCoordinatesTransformMode::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QSGImageNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGImageNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
             ::QSGImageNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGImageNode::TextureCoordinatesTransformMode((*a0 & a1));
            sipReleaseType(a0,sipType_QSGImageNode_TextureCoordinatesTransformMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___invert__(PyObject *);}
static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___invert__(PyObject *sipSelf)
{
     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGImageNode::TextureCoordinatesTransformMode*sipRes;

            sipRes = new  ::QSGImageNode::TextureCoordinatesTransformMode(~(*sipCpp));

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

    return 0;
}


extern "C" {static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___int__(PyObject *);}
static PyObject *slot_QSGImageNode_TextureCoordinatesTransformMode___int__(PyObject *sipSelf)
{
     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGImageNode_TextureCoordinatesTransformMode));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGImageNode_TextureCoordinatesTransformMode(void *, int);}
static void release_QSGImageNode_TextureCoordinatesTransformMode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipCppV);
}


extern "C" {static void assign_QSGImageNode_TextureCoordinatesTransformMode(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGImageNode_TextureCoordinatesTransformMode(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGImageNode::TextureCoordinatesTransformMode *>(sipSrc);
}


extern "C" {static void *array_QSGImageNode_TextureCoordinatesTransformMode(SIP_SSIZE_T);}
static void *array_QSGImageNode_TextureCoordinatesTransformMode(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGImageNode::TextureCoordinatesTransformMode[sipNrElem];
}


extern "C" {static void *copy_QSGImageNode_TextureCoordinatesTransformMode(const void *, SIP_SSIZE_T);}
static void *copy_QSGImageNode_TextureCoordinatesTransformMode(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGImageNode::TextureCoordinatesTransformMode(reinterpret_cast<const  ::QSGImageNode::TextureCoordinatesTransformMode *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGImageNode_TextureCoordinatesTransformMode(sipSimpleWrapper *);}
static void dealloc_QSGImageNode_TextureCoordinatesTransformMode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGImageNode_TextureCoordinatesTransformMode(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGImageNode_TextureCoordinatesTransformMode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGImageNode_TextureCoordinatesTransformMode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGImageNode::TextureCoordinatesTransformMode *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGImageNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGImageNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            sipCpp = new  ::QSGImageNode::TextureCoordinatesTransformMode(*a0);
            sipReleaseType(const_cast< ::QSGImageNode::TextureCoordinatesTransformMode *>(a0),sipType_QSGImageNode_TextureCoordinatesTransformMode,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGImageNode_TextureCoordinatesTransformMode(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGImageNode_TextureCoordinatesTransformMode(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGImageNode::TextureCoordinatesTransformMode **sipCppPtr = reinterpret_cast< ::QSGImageNode::TextureCoordinatesTransformMode **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGImageNode::TextureCoordinatesTransformMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGImageNode_TextureCoordinatesTransformFlag)) ||
            sipCanConvertToType(sipPy, sipType_QSGImageNode_TextureCoordinatesTransformMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGImageNode_TextureCoordinatesTransformFlag)))
{
    *sipCppPtr = new QSGImageNode::TextureCoordinatesTransformMode(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGImageNode::TextureCoordinatesTransformMode *>(sipConvertToType(sipPy, sipType_QSGImageNode_TextureCoordinatesTransformMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 19070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGImageNode_TextureCoordinatesTransformMode[] = {
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___hash__, hash_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___bool__, bool_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___ne__, ne_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___eq__, eq_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___ixor__, ixor_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___xor__, xor_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___ior__, ior_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___or__, or_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___iand__, iand_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___and__, and_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___invert__, invert_slot},
    {(void *)slot_QSGImageNode_TextureCoordinatesTransformMode___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGImageNode_TextureCoordinatesTransformMode, "\1QSGImageNode.TextureCoordinatesTransformMode()\n"
    "QSGImageNode.TextureCoordinatesTransformMode(Union[QSGImageNode.TextureCoordinatesTransformMode, QSGImageNode.TextureCoordinatesTransformFlag])\n"
    "QSGImageNode.TextureCoordinatesTransformMode(QSGImageNode.TextureCoordinatesTransformMode)");


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


sipClassTypeDef sipTypeDef_QtQuick_QSGImageNode_TextureCoordinatesTransformMode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGImageNode__TextureCoordinatesTransformMode,
        {0},
        &plugin_QSGImageNode_TextureCoordinatesTransformMode
    },
    {
        sipNameNr_TextureCoordinatesTransformMode,
        {51, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGImageNode_TextureCoordinatesTransformMode,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGImageNode_TextureCoordinatesTransformMode,
    init_type_QSGImageNode_TextureCoordinatesTransformMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGImageNode_TextureCoordinatesTransformMode,
    assign_QSGImageNode_TextureCoordinatesTransformMode,
    array_QSGImageNode_TextureCoordinatesTransformMode,
    copy_QSGImageNode_TextureCoordinatesTransformMode,
    release_QSGImageNode_TextureCoordinatesTransformMode,
    0,
    convertTo_QSGImageNode_TextureCoordinatesTransformMode,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 19156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 19160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 19163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 19166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 19169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 19172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 19175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 19178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 19181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGImageNode_setRect, "setRect(self, QRectF)\n"
    "setRect(self, float, float, float, float)");

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

    {
        const  ::QRectF* a0;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGImageNode, &sipCpp, sipType_QRectF, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_setRect);
                return NULL;
            }

            sipCpp->setRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QSGImageNode, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_setRect, doc_QSGImageNode_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_rect, "rect(self) -> QRectF");

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

    {
        const  ::QSGImageNode *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_rect);
                return NULL;
            }

            sipRes = new  ::QRectF(sipCpp->rect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_rect, doc_QSGImageNode_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_setSourceRect, "setSourceRect(self, QRectF)\n"
    "setSourceRect(self, float, float, float, float)");

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

    {
        const  ::QRectF* a0;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGImageNode, &sipCpp, sipType_QRectF, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_setSourceRect);
                return NULL;
            }

            sipCpp->setSourceRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QSGImageNode, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setSourceRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_setSourceRect, doc_QSGImageNode_setSourceRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_sourceRect, "sourceRect(self) -> QRectF");

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

    {
        const  ::QSGImageNode *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_sourceRect);
                return NULL;
            }

            sipRes = new  ::QRectF(sipCpp->sourceRect());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_sourceRect, doc_QSGImageNode_sourceRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_setTexture, "setTexture(self, QSGTexture)");

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

    {
         ::QSGTexture* a0;
        PyObject *a0Wrapper;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSGImageNode, &sipCpp, &a0Wrapper, sipType_QSGTexture, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_setTexture);
                return NULL;
            }

#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
        sipCpp->setTexture(a0);
        
        if (sipCpp->ownsTexture())
            sipTransferTo(a0Wrapper, sipSelf);
#line 19387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_setTexture, doc_QSGImageNode_setTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_texture, "texture(self) -> QSGTexture");

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

    {
        const  ::QSGImageNode *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_texture);
                return NULL;
            }

            sipRes = sipCpp->texture();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_texture, doc_QSGImageNode_texture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_setFiltering, "setFiltering(self, QSGTexture.Filtering)");

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

    {
         ::QSGTexture::Filtering a0;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGImageNode, &sipCpp, sipType_QSGTexture_Filtering, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_setFiltering);
                return NULL;
            }

            sipCpp->setFiltering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_setFiltering, doc_QSGImageNode_setFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_filtering, "filtering(self) -> QSGTexture.Filtering");

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

    {
        const  ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGImageNode, &sipCpp))
        {
             ::QSGTexture::Filtering sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_filtering);
                return NULL;
            }

            sipRes = sipCpp->filtering();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_Filtering);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_filtering, doc_QSGImageNode_filtering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_setMipmapFiltering, "setMipmapFiltering(self, QSGTexture.Filtering)");

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

    {
         ::QSGTexture::Filtering a0;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGImageNode, &sipCpp, sipType_QSGTexture_Filtering, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_setMipmapFiltering);
                return NULL;
            }

            sipCpp->setMipmapFiltering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_setMipmapFiltering, doc_QSGImageNode_setMipmapFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_mipmapFiltering, "mipmapFiltering(self) -> QSGTexture.Filtering");

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

    {
        const  ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGImageNode, &sipCpp))
        {
             ::QSGTexture::Filtering sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_mipmapFiltering);
                return NULL;
            }

            sipRes = sipCpp->mipmapFiltering();

            return sipConvertFromEnum(sipRes,sipType_QSGTexture_Filtering);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_mipmapFiltering, doc_QSGImageNode_mipmapFiltering);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_setTextureCoordinatesTransform, "setTextureCoordinatesTransform(self, Union[QSGImageNode.TextureCoordinatesTransformMode, QSGImageNode.TextureCoordinatesTransformFlag])");

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

    {
         ::QSGImageNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSGImageNode, &sipCpp, sipType_QSGImageNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_setTextureCoordinatesTransform);
                return NULL;
            }

            sipCpp->setTextureCoordinatesTransform(*a0);
            sipReleaseType(a0,sipType_QSGImageNode_TextureCoordinatesTransformMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_setTextureCoordinatesTransform, doc_QSGImageNode_setTextureCoordinatesTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_textureCoordinatesTransform, "textureCoordinatesTransform(self) -> QSGImageNode.TextureCoordinatesTransformMode");

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

    {
        const  ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGImageNode, &sipCpp))
        {
             ::QSGImageNode::TextureCoordinatesTransformMode*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_textureCoordinatesTransform);
                return NULL;
            }

            sipRes = new  ::QSGImageNode::TextureCoordinatesTransformMode(sipCpp->textureCoordinatesTransform());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_textureCoordinatesTransform, doc_QSGImageNode_textureCoordinatesTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_setOwnsTexture, "setOwnsTexture(self, bool)");

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

    {
        bool a0;
         ::QSGImageNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSGImageNode, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_setOwnsTexture);
                return NULL;
            }

            sipCpp->setOwnsTexture(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_setOwnsTexture, doc_QSGImageNode_setOwnsTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_ownsTexture, "ownsTexture(self) -> bool");

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

    {
        const  ::QSGImageNode *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGImageNode, sipName_ownsTexture);
                return NULL;
            }

            sipRes = sipCpp->ownsTexture();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_ownsTexture, doc_QSGImageNode_ownsTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QSGImageNode_rebuildGeometry, "rebuildGeometry(QSGGeometry, QSGTexture, QRectF, QRectF, Union[QSGImageNode.TextureCoordinatesTransformMode, QSGImageNode.TextureCoordinatesTransformFlag])");

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

    {
         ::QSGGeometry* a0;
         ::QSGTexture* a1;
        const  ::QRectF* a2;
         ::QRectF* a3;
         ::QSGImageNode::TextureCoordinatesTransformMode* a4;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J8J9J9J1", sipType_QSGGeometry, &a0, sipType_QSGTexture, &a1, sipType_QRectF, &a2, sipType_QRectF, &a3, sipType_QSGImageNode_TextureCoordinatesTransformMode, &a4, &a4State))
        {
             ::QSGImageNode::rebuildGeometry(a0,a1,*a2,*a3,*a4);
            sipReleaseType(a4,sipType_QSGImageNode_TextureCoordinatesTransformMode,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGImageNode, sipName_rebuildGeometry, doc_QSGImageNode_rebuildGeometry);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGImageNode(void *, const sipTypeDef *);}
static void *cast_QSGImageNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGImageNode *sipCpp = reinterpret_cast< ::QSGImageNode *>(sipCppV);

    if (targetType == sipType_QSGGeometryNode)
        return static_cast< ::QSGGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGBasicGeometryNode)
        return static_cast< ::QSGBasicGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGImageNode(void *, int);}
static void release_QSGImageNode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGImageNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGImageNode(sipSimpleWrapper *);}
static void dealloc_QSGImageNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGImageNode(sipGetAddress(sipSelf), 0);
    }
}


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


static PyMethodDef methods_QSGImageNode[] = {
    {SIP_MLNAME_CAST(sipName_filtering), meth_QSGImageNode_filtering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_filtering)},
    {SIP_MLNAME_CAST(sipName_mipmapFiltering), meth_QSGImageNode_mipmapFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_mipmapFiltering)},
    {SIP_MLNAME_CAST(sipName_ownsTexture), meth_QSGImageNode_ownsTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_ownsTexture)},
    {SIP_MLNAME_CAST(sipName_rebuildGeometry), meth_QSGImageNode_rebuildGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_rebuildGeometry)},
    {SIP_MLNAME_CAST(sipName_rect), meth_QSGImageNode_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_rect)},
    {SIP_MLNAME_CAST(sipName_setFiltering), meth_QSGImageNode_setFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_setFiltering)},
    {SIP_MLNAME_CAST(sipName_setMipmapFiltering), meth_QSGImageNode_setMipmapFiltering, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_setMipmapFiltering)},
    {SIP_MLNAME_CAST(sipName_setOwnsTexture), meth_QSGImageNode_setOwnsTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_setOwnsTexture)},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QSGImageNode_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_setRect)},
    {SIP_MLNAME_CAST(sipName_setSourceRect), meth_QSGImageNode_setSourceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_setSourceRect)},
    {SIP_MLNAME_CAST(sipName_setTexture), meth_QSGImageNode_setTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_setTexture)},
    {SIP_MLNAME_CAST(sipName_setTextureCoordinatesTransform), meth_QSGImageNode_setTextureCoordinatesTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_setTextureCoordinatesTransform)},
    {SIP_MLNAME_CAST(sipName_sourceRect), meth_QSGImageNode_sourceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_sourceRect)},
    {SIP_MLNAME_CAST(sipName_texture), meth_QSGImageNode_texture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_texture)},
    {SIP_MLNAME_CAST(sipName_textureCoordinatesTransform), meth_QSGImageNode_textureCoordinatesTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGImageNode_textureCoordinatesTransform)}
};

static sipEnumMemberDef enummembers_QSGImageNode[] = {
    {sipName_MirrorHorizontally, static_cast<int>( ::QSGImageNode::MirrorHorizontally), 52},
    {sipName_MirrorVertically, static_cast<int>( ::QSGImageNode::MirrorVertically), 52},
    {sipName_NoTransform, static_cast<int>( ::QSGImageNode::NoTransform), 52},
};


static pyqt5ClassPluginDef plugin_QSGImageNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGImageNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGImageNode,
        {0},
        &plugin_QSGImageNode
    },
    {
        sipNameNr_QSGImageNode,
        {0, 0, 1},
        15, methods_QSGImageNode,
        3, enummembers_QSGImageNode,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QSGImageNode,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGImageNode,
    0,
    0,
    0,
    release_QSGImageNode,
    cast_QSGImageNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 19876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 19880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 19883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 19886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 19889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 19892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGGeometryNode : public  ::QSGGeometryNode
{
public:
    sipQSGGeometryNode();
    virtual ~sipQSGGeometryNode();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void preprocess();
    bool isSubtreeBlocked() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQSGGeometryNode::sipQSGGeometryNode():  ::QSGGeometryNode(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipQSGGeometryNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QSGGeometryNode::preprocess();
        return;
    }

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

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQSGGeometryNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QSGGeometryNode::isSubtreeBlocked();

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

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGGeometryNode_setMaterial, "setMaterial(self, QSGMaterial)");

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

    {
         ::QSGMaterial* a0;
        PyObject *a0Wrapper;
         ::QSGGeometryNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSGGeometryNode, &sipCpp, &a0Wrapper, sipType_QSGMaterial, &a0))
        {
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        sipCpp->setMaterial(a0);
        
        if (sipCpp->flags() & QSGNode::OwnsMaterial)
            sipTransferTo(a0Wrapper, sipSelf);
#line 19983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometryNode, sipName_setMaterial, doc_QSGGeometryNode_setMaterial);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometryNode_material, "material(self) -> QSGMaterial");

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

    {
        const  ::QSGGeometryNode *sipCpp;

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

            sipRes = sipCpp->material();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometryNode, sipName_material, doc_QSGGeometryNode_material);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometryNode_setOpaqueMaterial, "setOpaqueMaterial(self, QSGMaterial)");

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

    {
         ::QSGMaterial* a0;
        PyObject *a0Wrapper;
         ::QSGGeometryNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSGGeometryNode, &sipCpp, &a0Wrapper, sipType_QSGMaterial, &a0))
        {
#line 284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
        sipCpp->setOpaqueMaterial(a0);
        
        if (sipCpp->flags() & QSGNode::OwnsOpaqueMaterial)
            sipTransferTo(a0Wrapper, sipSelf);
#line 20045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometryNode, sipName_setOpaqueMaterial, doc_QSGGeometryNode_setOpaqueMaterial);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometryNode_opaqueMaterial, "opaqueMaterial(self) -> QSGMaterial");

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

    {
        const  ::QSGGeometryNode *sipCpp;

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

            sipRes = sipCpp->opaqueMaterial();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometryNode, sipName_opaqueMaterial, doc_QSGGeometryNode_opaqueMaterial);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGGeometryNode(void *, const sipTypeDef *);}
static void *cast_QSGGeometryNode(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGGeometryNode *sipCpp = reinterpret_cast< ::QSGGeometryNode *>(sipCppV);

    if (targetType == sipType_QSGBasicGeometryNode)
        return static_cast< ::QSGBasicGeometryNode *>(sipCpp);

    if (targetType == sipType_QSGNode)
        return static_cast< ::QSGNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGGeometryNode(void *, int);}
static void release_QSGGeometryNode(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGGeometryNode *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGGeometryNode *>(sipCppV);
}


extern "C" {static void dealloc_QSGGeometryNode(sipSimpleWrapper *);}
static void dealloc_QSGGeometryNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGGeometryNode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSGGeometryNode[] = {
    {SIP_MLNAME_CAST(sipName_material), meth_QSGGeometryNode_material, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometryNode_material)},
    {SIP_MLNAME_CAST(sipName_opaqueMaterial), meth_QSGGeometryNode_opaqueMaterial, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometryNode_opaqueMaterial)},
    {SIP_MLNAME_CAST(sipName_setMaterial), meth_QSGGeometryNode_setMaterial, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometryNode_setMaterial)},
    {SIP_MLNAME_CAST(sipName_setOpaqueMaterial), meth_QSGGeometryNode_setOpaqueMaterial, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometryNode_setOpaqueMaterial)}
};

PyDoc_STRVAR(doc_QSGGeometryNode, "\1QSGGeometryNode()");


static pyqt5ClassPluginDef plugin_QSGGeometryNode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGGeometryNode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometryNode,
        {0},
        &plugin_QSGGeometryNode
    },
    {
        sipNameNr_QSGGeometryNode,
        {0, 0, 1},
        4, methods_QSGGeometryNode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometryNode,
    -1,
    -1,
    supers_QSGGeometryNode,
    0,
    init_type_QSGGeometryNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGGeometryNode,
    0,
    0,
    0,
    release_QSGGeometryNode,
    cast_QSGGeometryNode,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 20223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"



PyDoc_STRVAR(doc_QSGGeometry_ColoredPoint2D_set, "set(self, float, float, int, int, int, int)");

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

    {
        float a0;
        float a1;
         ::uchar a2;
         ::uchar a3;
         ::uchar a4;
         ::uchar a5;
         ::QSGGeometry::ColoredPoint2D *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BffMMMM", &sipSelf, sipType_QSGGeometry_ColoredPoint2D, &sipCpp, &a0, &a1, &a2, &a3, &a4, &a5))
        {
            sipCpp->set(a0,a1,a2,a3,a4,a5);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ColoredPoint2D, sipName_set, doc_QSGGeometry_ColoredPoint2D_set);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGGeometry_ColoredPoint2D(void *, int);}
static void release_QSGGeometry_ColoredPoint2D(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipCppV);
}


extern "C" {static void assign_QSGGeometry_ColoredPoint2D(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGGeometry_ColoredPoint2D(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGGeometry::ColoredPoint2D *>(sipSrc);
}


extern "C" {static void *array_QSGGeometry_ColoredPoint2D(SIP_SSIZE_T);}
static void *array_QSGGeometry_ColoredPoint2D(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGGeometry::ColoredPoint2D[sipNrElem];
}


extern "C" {static void *copy_QSGGeometry_ColoredPoint2D(const void *, SIP_SSIZE_T);}
static void *copy_QSGGeometry_ColoredPoint2D(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGGeometry::ColoredPoint2D(reinterpret_cast<const  ::QSGGeometry::ColoredPoint2D *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGGeometry_ColoredPoint2D(sipSimpleWrapper *);}
static void dealloc_QSGGeometry_ColoredPoint2D(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGGeometry_ColoredPoint2D(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGGeometry_ColoredPoint2D(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGGeometry_ColoredPoint2D(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGGeometry::ColoredPoint2D *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGGeometry::ColoredPoint2D* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSGGeometry_ColoredPoint2D, &a0))
        {
            sipCpp = new  ::QSGGeometry::ColoredPoint2D(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGGeometry_ColoredPoint2D[] = {
    {SIP_MLNAME_CAST(sipName_set), meth_QSGGeometry_ColoredPoint2D_set, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_ColoredPoint2D_set)}
};


extern "C" {static PyObject *varget_QSGGeometry_ColoredPoint2D_a(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_ColoredPoint2D_a(void *sipSelf, PyObject *, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = sipCpp->a;

#if PY_MAJOR_VERSION >= 3
    return PyLong_FromUnsignedLong(sipVal);
#else
    return PyInt_FromLong(sipVal);
#endif
}


extern "C" {static int varset_QSGGeometry_ColoredPoint2D_a(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_ColoredPoint2D_a(void *sipSelf, PyObject *sipPy, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = (unsigned char)sipLong_AsUnsignedLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->a = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_ColoredPoint2D_b(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_ColoredPoint2D_b(void *sipSelf, PyObject *, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = sipCpp->b;

#if PY_MAJOR_VERSION >= 3
    return PyLong_FromUnsignedLong(sipVal);
#else
    return PyInt_FromLong(sipVal);
#endif
}


extern "C" {static int varset_QSGGeometry_ColoredPoint2D_b(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_ColoredPoint2D_b(void *sipSelf, PyObject *sipPy, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = (unsigned char)sipLong_AsUnsignedLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->b = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_ColoredPoint2D_g(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_ColoredPoint2D_g(void *sipSelf, PyObject *, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = sipCpp->g;

#if PY_MAJOR_VERSION >= 3
    return PyLong_FromUnsignedLong(sipVal);
#else
    return PyInt_FromLong(sipVal);
#endif
}


extern "C" {static int varset_QSGGeometry_ColoredPoint2D_g(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_ColoredPoint2D_g(void *sipSelf, PyObject *sipPy, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = (unsigned char)sipLong_AsUnsignedLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->g = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_ColoredPoint2D_r(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_ColoredPoint2D_r(void *sipSelf, PyObject *, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = sipCpp->r;

#if PY_MAJOR_VERSION >= 3
    return PyLong_FromUnsignedLong(sipVal);
#else
    return PyInt_FromLong(sipVal);
#endif
}


extern "C" {static int varset_QSGGeometry_ColoredPoint2D_r(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_ColoredPoint2D_r(void *sipSelf, PyObject *sipPy, PyObject *)
{
    unsigned char sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = (unsigned char)sipLong_AsUnsignedLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->r = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_ColoredPoint2D_x(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_ColoredPoint2D_x(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = sipCpp->x;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_ColoredPoint2D_x(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_ColoredPoint2D_x(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->x = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_ColoredPoint2D_y(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_ColoredPoint2D_y(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = sipCpp->y;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_ColoredPoint2D_y(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_ColoredPoint2D_y(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::ColoredPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::ColoredPoint2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->y = sipVal;

    return 0;
}

sipVariableDef variables_QSGGeometry_ColoredPoint2D[] = {
    {InstanceVariable, sipName_a, (PyMethodDef *)varget_QSGGeometry_ColoredPoint2D_a, (PyMethodDef *)varset_QSGGeometry_ColoredPoint2D_a, NULL, NULL},
    {InstanceVariable, sipName_b, (PyMethodDef *)varget_QSGGeometry_ColoredPoint2D_b, (PyMethodDef *)varset_QSGGeometry_ColoredPoint2D_b, NULL, NULL},
    {InstanceVariable, sipName_g, (PyMethodDef *)varget_QSGGeometry_ColoredPoint2D_g, (PyMethodDef *)varset_QSGGeometry_ColoredPoint2D_g, NULL, NULL},
    {InstanceVariable, sipName_r, (PyMethodDef *)varget_QSGGeometry_ColoredPoint2D_r, (PyMethodDef *)varset_QSGGeometry_ColoredPoint2D_r, NULL, NULL},
    {InstanceVariable, sipName_x, (PyMethodDef *)varget_QSGGeometry_ColoredPoint2D_x, (PyMethodDef *)varset_QSGGeometry_ColoredPoint2D_x, NULL, NULL},
    {InstanceVariable, sipName_y, (PyMethodDef *)varget_QSGGeometry_ColoredPoint2D_y, (PyMethodDef *)varset_QSGGeometry_ColoredPoint2D_y, NULL, NULL},
};

PyDoc_STRVAR(doc_QSGGeometry_ColoredPoint2D, "\1QSGGeometry.ColoredPoint2D()\n"
    "QSGGeometry.ColoredPoint2D(QSGGeometry.ColoredPoint2D)");


static pyqt5ClassPluginDef plugin_QSGGeometry_ColoredPoint2D = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGGeometry_ColoredPoint2D = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__ColoredPoint2D,
        {0},
        &plugin_QSGGeometry_ColoredPoint2D
    },
    {
        sipNameNr_ColoredPoint2D,
        {40, 255, 0},
        1, methods_QSGGeometry_ColoredPoint2D,
        0, 0,
        6, variables_QSGGeometry_ColoredPoint2D,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry_ColoredPoint2D,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSGGeometry_ColoredPoint2D,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGGeometry_ColoredPoint2D,
    assign_QSGGeometry_ColoredPoint2D,
    array_QSGGeometry_ColoredPoint2D,
    copy_QSGGeometry_ColoredPoint2D,
    release_QSGGeometry_ColoredPoint2D,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 20597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"



PyDoc_STRVAR(doc_QSGGeometry_TexturedPoint2D_set, "set(self, float, float, float, float)");

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

    {
        float a0;
        float a1;
        float a2;
        float a3;
         ::QSGGeometry::TexturedPoint2D *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bffff", &sipSelf, sipType_QSGGeometry_TexturedPoint2D, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->set(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_TexturedPoint2D, sipName_set, doc_QSGGeometry_TexturedPoint2D_set);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGGeometry_TexturedPoint2D(void *, int);}
static void release_QSGGeometry_TexturedPoint2D(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipCppV);
}


extern "C" {static void assign_QSGGeometry_TexturedPoint2D(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGGeometry_TexturedPoint2D(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGGeometry::TexturedPoint2D *>(sipSrc);
}


extern "C" {static void *array_QSGGeometry_TexturedPoint2D(SIP_SSIZE_T);}
static void *array_QSGGeometry_TexturedPoint2D(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGGeometry::TexturedPoint2D[sipNrElem];
}


extern "C" {static void *copy_QSGGeometry_TexturedPoint2D(const void *, SIP_SSIZE_T);}
static void *copy_QSGGeometry_TexturedPoint2D(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGGeometry::TexturedPoint2D(reinterpret_cast<const  ::QSGGeometry::TexturedPoint2D *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGGeometry_TexturedPoint2D(sipSimpleWrapper *);}
static void dealloc_QSGGeometry_TexturedPoint2D(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGGeometry_TexturedPoint2D(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGGeometry_TexturedPoint2D(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGGeometry_TexturedPoint2D(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGGeometry::TexturedPoint2D *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGGeometry::TexturedPoint2D* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSGGeometry_TexturedPoint2D, &a0))
        {
            sipCpp = new  ::QSGGeometry::TexturedPoint2D(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGGeometry_TexturedPoint2D[] = {
    {SIP_MLNAME_CAST(sipName_set), meth_QSGGeometry_TexturedPoint2D_set, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_TexturedPoint2D_set)}
};


extern "C" {static PyObject *varget_QSGGeometry_TexturedPoint2D_tx(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_TexturedPoint2D_tx(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = sipCpp->tx;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_TexturedPoint2D_tx(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_TexturedPoint2D_tx(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->tx = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_TexturedPoint2D_ty(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_TexturedPoint2D_ty(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = sipCpp->ty;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_TexturedPoint2D_ty(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_TexturedPoint2D_ty(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->ty = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_TexturedPoint2D_x(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_TexturedPoint2D_x(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = sipCpp->x;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_TexturedPoint2D_x(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_TexturedPoint2D_x(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->x = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_TexturedPoint2D_y(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_TexturedPoint2D_y(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = sipCpp->y;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_TexturedPoint2D_y(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_TexturedPoint2D_y(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::TexturedPoint2D *sipCpp = reinterpret_cast< ::QSGGeometry::TexturedPoint2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->y = sipVal;

    return 0;
}

sipVariableDef variables_QSGGeometry_TexturedPoint2D[] = {
    {InstanceVariable, sipName_tx, (PyMethodDef *)varget_QSGGeometry_TexturedPoint2D_tx, (PyMethodDef *)varset_QSGGeometry_TexturedPoint2D_tx, NULL, NULL},
    {InstanceVariable, sipName_ty, (PyMethodDef *)varget_QSGGeometry_TexturedPoint2D_ty, (PyMethodDef *)varset_QSGGeometry_TexturedPoint2D_ty, NULL, NULL},
    {InstanceVariable, sipName_x, (PyMethodDef *)varget_QSGGeometry_TexturedPoint2D_x, (PyMethodDef *)varset_QSGGeometry_TexturedPoint2D_x, NULL, NULL},
    {InstanceVariable, sipName_y, (PyMethodDef *)varget_QSGGeometry_TexturedPoint2D_y, (PyMethodDef *)varset_QSGGeometry_TexturedPoint2D_y, NULL, NULL},
};

PyDoc_STRVAR(doc_QSGGeometry_TexturedPoint2D, "\1QSGGeometry.TexturedPoint2D()\n"
    "QSGGeometry.TexturedPoint2D(QSGGeometry.TexturedPoint2D)");


static pyqt5ClassPluginDef plugin_QSGGeometry_TexturedPoint2D = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGGeometry_TexturedPoint2D = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__TexturedPoint2D,
        {0},
        &plugin_QSGGeometry_TexturedPoint2D
    },
    {
        sipNameNr_TexturedPoint2D,
        {40, 255, 0},
        1, methods_QSGGeometry_TexturedPoint2D,
        0, 0,
        4, variables_QSGGeometry_TexturedPoint2D,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry_TexturedPoint2D,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSGGeometry_TexturedPoint2D,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGGeometry_TexturedPoint2D,
    assign_QSGGeometry_TexturedPoint2D,
    array_QSGGeometry_TexturedPoint2D,
    copy_QSGGeometry_TexturedPoint2D,
    release_QSGGeometry_TexturedPoint2D,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 20893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"



PyDoc_STRVAR(doc_QSGGeometry_Point2D_set, "set(self, float, float)");

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

    {
        float a0;
        float a1;
         ::QSGGeometry::Point2D *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bff", &sipSelf, sipType_QSGGeometry_Point2D, &sipCpp, &a0, &a1))
        {
            sipCpp->set(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Point2D, sipName_set, doc_QSGGeometry_Point2D_set);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGGeometry_Point2D(void *, int);}
static void release_QSGGeometry_Point2D(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGGeometry::Point2D *>(sipCppV);
}


extern "C" {static void assign_QSGGeometry_Point2D(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGGeometry_Point2D(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGGeometry::Point2D *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGGeometry::Point2D *>(sipSrc);
}


extern "C" {static void *array_QSGGeometry_Point2D(SIP_SSIZE_T);}
static void *array_QSGGeometry_Point2D(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGGeometry::Point2D[sipNrElem];
}


extern "C" {static void *copy_QSGGeometry_Point2D(const void *, SIP_SSIZE_T);}
static void *copy_QSGGeometry_Point2D(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGGeometry::Point2D(reinterpret_cast<const  ::QSGGeometry::Point2D *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGGeometry_Point2D(sipSimpleWrapper *);}
static void dealloc_QSGGeometry_Point2D(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGGeometry_Point2D(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGGeometry_Point2D(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGGeometry_Point2D(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGGeometry::Point2D *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGGeometry::Point2D* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSGGeometry_Point2D, &a0))
        {
            sipCpp = new  ::QSGGeometry::Point2D(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGGeometry_Point2D[] = {
    {SIP_MLNAME_CAST(sipName_set), meth_QSGGeometry_Point2D_set, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_Point2D_set)}
};


extern "C" {static PyObject *varget_QSGGeometry_Point2D_x(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_Point2D_x(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::Point2D *sipCpp = reinterpret_cast< ::QSGGeometry::Point2D *>(sipSelf);

    sipVal = sipCpp->x;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_Point2D_x(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_Point2D_x(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::Point2D *sipCpp = reinterpret_cast< ::QSGGeometry::Point2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->x = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_Point2D_y(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_Point2D_y(void *sipSelf, PyObject *, PyObject *)
{
    float sipVal;
     ::QSGGeometry::Point2D *sipCpp = reinterpret_cast< ::QSGGeometry::Point2D *>(sipSelf);

    sipVal = sipCpp->y;

    return PyFloat_FromDouble((double)sipVal);
}


extern "C" {static int varset_QSGGeometry_Point2D_y(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_Point2D_y(void *sipSelf, PyObject *sipPy, PyObject *)
{
    float sipVal;
     ::QSGGeometry::Point2D *sipCpp = reinterpret_cast< ::QSGGeometry::Point2D *>(sipSelf);

    sipVal = (float)PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->y = sipVal;

    return 0;
}

sipVariableDef variables_QSGGeometry_Point2D[] = {
    {InstanceVariable, sipName_x, (PyMethodDef *)varget_QSGGeometry_Point2D_x, (PyMethodDef *)varset_QSGGeometry_Point2D_x, NULL, NULL},
    {InstanceVariable, sipName_y, (PyMethodDef *)varget_QSGGeometry_Point2D_y, (PyMethodDef *)varset_QSGGeometry_Point2D_y, NULL, NULL},
};

PyDoc_STRVAR(doc_QSGGeometry_Point2D, "\1QSGGeometry.Point2D()\n"
    "QSGGeometry.Point2D(QSGGeometry.Point2D)");


static pyqt5ClassPluginDef plugin_QSGGeometry_Point2D = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGGeometry_Point2D = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__Point2D,
        {0},
        &plugin_QSGGeometry_Point2D
    },
    {
        sipNameNr_Point2D,
        {40, 255, 0},
        1, methods_QSGGeometry_Point2D,
        0, 0,
        2, variables_QSGGeometry_Point2D,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry_Point2D,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSGGeometry_Point2D,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGGeometry_Point2D,
    assign_QSGGeometry_Point2D,
    array_QSGGeometry_Point2D,
    copy_QSGGeometry_Point2D,
    release_QSGGeometry_Point2D,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#include <QVector>
#line 21128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 21134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QSGGeometry_AttributeSet(void *, int);}
static void release_QSGGeometry_AttributeSet(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGGeometry::AttributeSet *>(sipCppV);
}


extern "C" {static void dealloc_QSGGeometry_AttributeSet(sipSimpleWrapper *);}
static void dealloc_QSGGeometry_AttributeSet(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGGeometry_AttributeSet(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGGeometry_AttributeSet(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGGeometry_AttributeSet(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGGeometry::AttributeSet *sipCpp = 0;

    {
        PyObject * a0;
        int a1 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "P0|i", &a0, &a1))
        {
            sipErrorState sipError = sipErrorNone;

#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
            PyObject *iter = PyObject_GetIter(a0);
            
            if (!iter
            #if PY_MAJOR_VERSION < 3
                || PyString_Check(a0)
            #endif
                || PyUnicode_Check(a0))
            {
                Py_XDECREF(iter);
                PyErr_SetString(PyExc_TypeError, "iterable object expected");
                sipError = sipErrorContinue;
            }
            else
            {
                QVector<QSGGeometry::Attribute> attrs;
                int stride = 0;
            
                for (Py_ssize_t i = 0; ; ++i)
                {
                    PyErr_Clear();
                    PyObject *itm = PyIter_Next(iter);
            
                    if (!itm)
                    {
                        if (PyErr_Occurred())
                            sipError = sipErrorFail;
            
                        break;
                    }
            
                    int state, is_err = 0;
                    QSGGeometry::Attribute *attr;
            
                    attr = reinterpret_cast<QSGGeometry::Attribute *>(
                            sipForceConvertToType(itm, sipType_QSGGeometry_Attribute, 0,
                            SIP_NOT_NONE, &state, &is_err));
            
                    if (is_err)
                    {
                        PyErr_Format(PyExc_TypeError,
                                "index %zd has type '%s' but 'QSGGeometry.Attribute' is expected",
                                i, sipPyTypeName(Py_TYPE(itm)));
            
                        Py_DECREF(itm);
                        sipError = sipErrorFail;
            
                        break;
                    }
            
                    // Calculate the stride if there no explicit one.
                    if (a1 <= 0)
                    {
                        int size;
            
                        switch (attr->type)
                        {
                        case GL_BYTE:
                            size = sizeof (qint8);
                            break;
            
            #if defined(SIPFeature_PyQt_Desktop_OpenGL)
            #if GL_DOUBLE != GL_FLOAT
                        case GL_DOUBLE:
                            size = sizeof (double);
                            break;
            #endif
            #endif
            
                        case GL_FLOAT:
                            size = sizeof (float);
                            break;
            
                        case GL_INT:
                            size = sizeof (qint32);
                            break;
            
                        default:
                            size = 0;
                        }
            
                        if (!size)
                        {
                            PyErr_Format(PyExc_TypeError,
                                    "index %zd has an unsupported primitive type",
                                    i);
            
                            sipReleaseType(attr, sipType_QSGGeometry_Attribute, state);
                            Py_DECREF(itm);
                            sipError = sipErrorFail;
            
                            break;
                        }
            
                        stride += attr->tupleSize * size;
                    }
            
                    attrs.append(*attr);
            
                    sipReleaseType(attr, sipType_QSGGeometry_Attribute, state);
                    Py_DECREF(itm);
                }
            
                Py_DECREF(iter);
            
                if (sipError == sipErrorNone)
                {
                    if (attrs.isEmpty())
                    {
                        PyErr_SetString(PyExc_TypeError, "no attributes defined");
                        sipError = sipErrorFail;
                    }
                    else
                    {
                        PyObject *bytes = SIPBytes_FromStringAndSize(
                                reinterpret_cast<char *>(attrs.data()),
                                sizeof (QSGGeometry::Attribute) * attrs.size());
            
                        if (!bytes)
                        {
                            sipError = sipErrorFail;
                        }
                        else
                        {
                            sipCpp = new QSGGeometry::AttributeSet;
            
                            sipCpp->count = attrs.size();
                            sipCpp->stride = (a1 > 0 ? a1 : stride);
                            sipCpp->attributes = reinterpret_cast<QSGGeometry::Attribute *>(
                                    SIPBytes_AsString(bytes));
            
                            sipSetUserObject(sipSelf, bytes);
                        }
                    }
                }
            }
#line 21309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorNone)
                return sipCpp;

            if (sipUnused)
            {
                Py_XDECREF(*sipUnused);
            }

            sipAddException(sipError, sipParseErr);

            if (sipError == sipErrorFail)
                return NULL;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QSGGeometry_AttributeSet_attributes(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_AttributeSet_attributes(void *sipSelf, PyObject *, PyObject *)
{
    PyObject *sipPy;
     ::QSGGeometry::AttributeSet *sipCpp = reinterpret_cast< ::QSGGeometry::AttributeSet *>(sipSelf);

#line 221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
            sipPy = sipConvertToTypedArray((void *)sipCpp->attributes,
                    sipType_QSGGeometry_Attribute, "iiiI", sizeof (QSGGeometry::Attribute),
                    sipCpp->count, SIP_READ_ONLY);
#line 21340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

    return sipPy;
}


extern "C" {static int varset_QSGGeometry_AttributeSet_attributes(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_AttributeSet_attributes(void *, PyObject *, PyObject *)
{
   int sipErr = 0;

#line 227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
            sipErr = 1;
            PyErr_SetString(PyExc_ValueError, "array is read-only");
#line 21354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

    return (sipErr ? -1 : 0);
}


extern "C" {static PyObject *varget_QSGGeometry_AttributeSet_count(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_AttributeSet_count(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QSGGeometry::AttributeSet *sipCpp = reinterpret_cast< ::QSGGeometry::AttributeSet *>(sipSelf);

    sipVal = sipCpp->count;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QSGGeometry_AttributeSet_count(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_AttributeSet_count(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QSGGeometry::AttributeSet *sipCpp = reinterpret_cast< ::QSGGeometry::AttributeSet *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->count = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_AttributeSet_stride(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_AttributeSet_stride(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QSGGeometry::AttributeSet *sipCpp = reinterpret_cast< ::QSGGeometry::AttributeSet *>(sipSelf);

    sipVal = sipCpp->stride;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QSGGeometry_AttributeSet_stride(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_AttributeSet_stride(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QSGGeometry::AttributeSet *sipCpp = reinterpret_cast< ::QSGGeometry::AttributeSet *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->stride = sipVal;

    return 0;
}

sipVariableDef variables_QSGGeometry_AttributeSet[] = {
    {InstanceVariable, sipName_attributes, (PyMethodDef *)varget_QSGGeometry_AttributeSet_attributes, (PyMethodDef *)varset_QSGGeometry_AttributeSet_attributes, NULL, NULL},
    {InstanceVariable, sipName_count, (PyMethodDef *)varget_QSGGeometry_AttributeSet_count, (PyMethodDef *)varset_QSGGeometry_AttributeSet_count, NULL, NULL},
    {InstanceVariable, sipName_stride, (PyMethodDef *)varget_QSGGeometry_AttributeSet_stride, (PyMethodDef *)varset_QSGGeometry_AttributeSet_stride, NULL, NULL},
};

PyDoc_STRVAR(doc_QSGGeometry_AttributeSet, "\1QSGGeometry.AttributeSet(Iterable[QSGGeometry.Attribute], stride: int = 0)");


static pyqt5ClassPluginDef plugin_QSGGeometry_AttributeSet = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGGeometry_AttributeSet = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__AttributeSet,
        {0},
        &plugin_QSGGeometry_AttributeSet
    },
    {
        sipNameNr_AttributeSet,
        {40, 255, 0},
        0, 0,
        0, 0,
        3, variables_QSGGeometry_AttributeSet,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry_AttributeSet,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSGGeometry_AttributeSet,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGGeometry_AttributeSet,
    0,
    0,
    0,
    release_QSGGeometry_AttributeSet,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 21488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 21492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGGeometry_Attribute_create, "create(int, int, int, isPosition: bool = False) -> QSGGeometry.Attribute");

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

    {
        int a0;
        int a1;
        int a2;
        bool a3 = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "iii|b", &a0, &a1, &a2, &a3))
        {
             ::QSGGeometry::Attribute*sipRes;

            sipRes = new  ::QSGGeometry::Attribute( ::QSGGeometry::Attribute::create(a0,a1,a2,a3));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Attribute, sipName_create, doc_QSGGeometry_Attribute_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_Attribute_createWithAttributeType, "createWithAttributeType(int, int, int, QSGGeometry.AttributeType) -> QSGGeometry.Attribute");

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

    {
        int a0;
        int a1;
        int a2;
         ::QSGGeometry::AttributeType a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "iiiE", &a0, &a1, &a2, sipType_QSGGeometry_AttributeType, &a3))
        {
             ::QSGGeometry::Attribute*sipRes;

            sipRes = new  ::QSGGeometry::Attribute( ::QSGGeometry::Attribute::createWithAttributeType(a0,a1,a2,a3));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Attribute, sipName_createWithAttributeType, doc_QSGGeometry_Attribute_createWithAttributeType);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGGeometry_Attribute(void *, int);}
static void release_QSGGeometry_Attribute(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGGeometry::Attribute *>(sipCppV);
}


extern "C" {static void assign_QSGGeometry_Attribute(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGGeometry_Attribute(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGGeometry::Attribute *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGGeometry::Attribute *>(sipSrc);
}


extern "C" {static void *array_QSGGeometry_Attribute(SIP_SSIZE_T);}
static void *array_QSGGeometry_Attribute(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGGeometry::Attribute[sipNrElem];
}


extern "C" {static void *copy_QSGGeometry_Attribute(const void *, SIP_SSIZE_T);}
static void *copy_QSGGeometry_Attribute(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGGeometry::Attribute(reinterpret_cast<const  ::QSGGeometry::Attribute *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGGeometry_Attribute(sipSimpleWrapper *);}
static void dealloc_QSGGeometry_Attribute(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGGeometry_Attribute(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGGeometry_Attribute(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGGeometry_Attribute(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGGeometry::Attribute *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSGGeometry::Attribute* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSGGeometry_Attribute, &a0))
        {
            sipCpp = new  ::QSGGeometry::Attribute(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGGeometry_Attribute[] = {
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSGGeometry_Attribute_create, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGGeometry_Attribute_create)},
    {SIP_MLNAME_CAST(sipName_createWithAttributeType), meth_QSGGeometry_Attribute_createWithAttributeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_Attribute_createWithAttributeType)}
};


extern "C" {static PyObject *varget_QSGGeometry_Attribute_attributeType(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_Attribute_attributeType(void *sipSelf, PyObject *, PyObject *)
{
     ::QSGGeometry::AttributeType sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = sipCpp->attributeType;

    return sipConvertFromEnum(sipVal, sipType_QSGGeometry_AttributeType);
}


extern "C" {static int varset_QSGGeometry_Attribute_attributeType(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_Attribute_attributeType(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QSGGeometry::AttributeType sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = ( ::QSGGeometry::AttributeType)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->attributeType = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_Attribute_isVertexCoordinate(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_Attribute_isVertexCoordinate(void *sipSelf, PyObject *, PyObject *)
{
     ::uint sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = sipCpp->isVertexCoordinate;

    return PyLong_FromUnsignedLong(sipVal);
}


extern "C" {static int varset_QSGGeometry_Attribute_isVertexCoordinate(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_Attribute_isVertexCoordinate(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::uint sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = (uint)sipLong_AsUnsignedLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->isVertexCoordinate = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_Attribute_position(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_Attribute_position(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = sipCpp->position;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QSGGeometry_Attribute_position(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_Attribute_position(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->position = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_Attribute_tupleSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_Attribute_tupleSize(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = sipCpp->tupleSize;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QSGGeometry_Attribute_tupleSize(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_Attribute_tupleSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->tupleSize = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QSGGeometry_Attribute_type(void *, PyObject *, PyObject *);}
static PyObject *varget_QSGGeometry_Attribute_type(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = sipCpp->type;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QSGGeometry_Attribute_type(void *, PyObject *, PyObject *);}
static int varset_QSGGeometry_Attribute_type(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QSGGeometry::Attribute *sipCpp = reinterpret_cast< ::QSGGeometry::Attribute *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->type = sipVal;

    return 0;
}

sipVariableDef variables_QSGGeometry_Attribute[] = {
    {InstanceVariable, sipName_attributeType, (PyMethodDef *)varget_QSGGeometry_Attribute_attributeType, (PyMethodDef *)varset_QSGGeometry_Attribute_attributeType, NULL, NULL},
    {InstanceVariable, sipName_isVertexCoordinate, (PyMethodDef *)varget_QSGGeometry_Attribute_isVertexCoordinate, (PyMethodDef *)varset_QSGGeometry_Attribute_isVertexCoordinate, NULL, NULL},
    {InstanceVariable, sipName_position, (PyMethodDef *)varget_QSGGeometry_Attribute_position, (PyMethodDef *)varset_QSGGeometry_Attribute_position, NULL, NULL},
    {InstanceVariable, sipName_tupleSize, (PyMethodDef *)varget_QSGGeometry_Attribute_tupleSize, (PyMethodDef *)varset_QSGGeometry_Attribute_tupleSize, NULL, NULL},
    {InstanceVariable, sipName_type, (PyMethodDef *)varget_QSGGeometry_Attribute_type, (PyMethodDef *)varset_QSGGeometry_Attribute_type, NULL, NULL},
};

PyDoc_STRVAR(doc_QSGGeometry_Attribute, "\1QSGGeometry.Attribute()\n"
    "QSGGeometry.Attribute(QSGGeometry.Attribute)");


static pyqt5ClassPluginDef plugin_QSGGeometry_Attribute = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGGeometry_Attribute = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__Attribute,
        {0},
        &plugin_QSGGeometry_Attribute
    },
    {
        sipNameNr_Attribute,
        {40, 255, 0},
        2, methods_QSGGeometry_Attribute,
        0, 0,
        5, variables_QSGGeometry_Attribute,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry_Attribute,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSGGeometry_Attribute,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGGeometry_Attribute,
    assign_QSGGeometry_Attribute,
    array_QSGGeometry_Attribute,
    copy_QSGGeometry_Attribute,
    release_QSGGeometry_Attribute,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 21854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#include <QVector>
#line 21861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 21864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGGeometry : public  ::QSGGeometry
{
public:
    sipQSGGeometry(const  ::QSGGeometry::AttributeSet&,int,int,int);
    sipQSGGeometry(const  ::QSGGeometry&);
    ~sipQSGGeometry();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSGGeometry(const sipQSGGeometry &);
    sipQSGGeometry &operator = (const sipQSGGeometry &);
};

sipQSGGeometry::sipQSGGeometry(const  ::QSGGeometry::AttributeSet& a0,int a1,int a2,int a3):  ::QSGGeometry(a0,a1,a2,a3), sipPySelf(0)
{
}

sipQSGGeometry::sipQSGGeometry(const  ::QSGGeometry& a0):  ::QSGGeometry(a0), sipPySelf(0)
{
}

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


PyDoc_STRVAR(doc_QSGGeometry_defaultAttributes_Point2D, "defaultAttributes_Point2D() -> QSGGeometry.AttributeSet");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            const  ::QSGGeometry::AttributeSet*sipRes;

            sipRes = & ::QSGGeometry::defaultAttributes_Point2D();

            return sipConvertFromType(const_cast< ::QSGGeometry::AttributeSet *>(sipRes),sipType_QSGGeometry_AttributeSet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_defaultAttributes_Point2D, doc_QSGGeometry_defaultAttributes_Point2D);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_defaultAttributes_TexturedPoint2D, "defaultAttributes_TexturedPoint2D() -> QSGGeometry.AttributeSet");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            const  ::QSGGeometry::AttributeSet*sipRes;

            sipRes = & ::QSGGeometry::defaultAttributes_TexturedPoint2D();

            return sipConvertFromType(const_cast< ::QSGGeometry::AttributeSet *>(sipRes),sipType_QSGGeometry_AttributeSet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_defaultAttributes_TexturedPoint2D, doc_QSGGeometry_defaultAttributes_TexturedPoint2D);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_defaultAttributes_ColoredPoint2D, "defaultAttributes_ColoredPoint2D() -> QSGGeometry.AttributeSet");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            const  ::QSGGeometry::AttributeSet*sipRes;

            sipRes = & ::QSGGeometry::defaultAttributes_ColoredPoint2D();

            return sipConvertFromType(const_cast< ::QSGGeometry::AttributeSet *>(sipRes),sipType_QSGGeometry_AttributeSet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_defaultAttributes_ColoredPoint2D, doc_QSGGeometry_defaultAttributes_ColoredPoint2D);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_setDrawingMode, "setDrawingMode(self, int)");

extern "C" {static PyObject *meth_QSGGeometry_setDrawingMode(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_setDrawingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::GLenum a0;
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_QSGGeometry, &sipCpp, &a0))
        {
            sipCpp->setDrawingMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_setDrawingMode, doc_QSGGeometry_setDrawingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_drawingMode, "drawingMode(self) -> int");

extern "C" {static PyObject *meth_QSGGeometry_drawingMode(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_drawingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
             ::GLenum sipRes;

            sipRes = sipCpp->drawingMode();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_drawingMode, doc_QSGGeometry_drawingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_allocate, "allocate(self, int, indexCount: int = 0)");

extern "C" {static PyObject *meth_QSGGeometry_allocate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_allocate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = 0;
         ::QSGGeometry *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_indexCount,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|i", &sipSelf, sipType_QSGGeometry, &sipCpp, &a0, &a1))
        {
            sipCpp->allocate(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_allocate, doc_QSGGeometry_allocate);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_vertexCount, "vertexCount(self) -> int");

extern "C" {static PyObject *meth_QSGGeometry_vertexCount(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_vertexCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->vertexCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_vertexCount, doc_QSGGeometry_vertexCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_vertexData, "vertexData(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QSGGeometry_vertexData(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_vertexData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            void*sipRes;

            sipRes = sipCpp->vertexData();

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_vertexData, doc_QSGGeometry_vertexData);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_indexType, "indexType(self) -> int");

extern "C" {static PyObject *meth_QSGGeometry_indexType(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_indexType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->indexType();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_indexType, doc_QSGGeometry_indexType);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_indexCount, "indexCount(self) -> int");

extern "C" {static PyObject *meth_QSGGeometry_indexCount(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_indexCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->indexCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_indexCount, doc_QSGGeometry_indexCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_indexData, "indexData(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QSGGeometry_indexData(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_indexData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            void*sipRes;

            sipRes = sipCpp->indexData();

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_indexData, doc_QSGGeometry_indexData);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_attributeCount, "attributeCount(self) -> int");

extern "C" {static PyObject *meth_QSGGeometry_attributeCount(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_attributeCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->attributeCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_attributeCount, doc_QSGGeometry_attributeCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_attributes, "attributes(self) -> sip.array[QSGGeometry.Attribute]");

extern "C" {static PyObject *meth_QSGGeometry_attributes(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_attributes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray((void *)sipCpp->attributes(),
                sipType_QSGGeometry_Attribute, "iiiI", sizeof (QSGGeometry::Attribute),
                sipCpp->attributeCount(), SIP_READ_ONLY);
#line 22251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_attributes, doc_QSGGeometry_attributes);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_sizeOfVertex, "sizeOfVertex(self) -> int");

extern "C" {static PyObject *meth_QSGGeometry_sizeOfVertex(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_sizeOfVertex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sizeOfVertex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_sizeOfVertex, doc_QSGGeometry_sizeOfVertex);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_updateRectGeometry, "updateRectGeometry(QSGGeometry, QRectF)");

extern "C" {static PyObject *meth_QSGGeometry_updateRectGeometry(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_updateRectGeometry(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry* a0;
        const  ::QRectF* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9", sipType_QSGGeometry, &a0, sipType_QRectF, &a1))
        {
             ::QSGGeometry::updateRectGeometry(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_updateRectGeometry, doc_QSGGeometry_updateRectGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_updateTexturedRectGeometry, "updateTexturedRectGeometry(QSGGeometry, QRectF, QRectF)");

extern "C" {static PyObject *meth_QSGGeometry_updateTexturedRectGeometry(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_updateTexturedRectGeometry(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry* a0;
        const  ::QRectF* a1;
        const  ::QRectF* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9J9", sipType_QSGGeometry, &a0, sipType_QRectF, &a1, sipType_QRectF, &a2))
        {
             ::QSGGeometry::updateTexturedRectGeometry(a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_updateTexturedRectGeometry, doc_QSGGeometry_updateTexturedRectGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_setIndexDataPattern, "setIndexDataPattern(self, QSGGeometry.DataPattern)");

extern "C" {static PyObject *meth_QSGGeometry_setIndexDataPattern(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_setIndexDataPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry::DataPattern a0;
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGGeometry, &sipCpp, sipType_QSGGeometry_DataPattern, &a0))
        {
            sipCpp->setIndexDataPattern(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_setIndexDataPattern, doc_QSGGeometry_setIndexDataPattern);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_indexDataPattern, "indexDataPattern(self) -> QSGGeometry.DataPattern");

extern "C" {static PyObject *meth_QSGGeometry_indexDataPattern(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_indexDataPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
             ::QSGGeometry::DataPattern sipRes;

            sipRes = sipCpp->indexDataPattern();

            return sipConvertFromEnum(sipRes,sipType_QSGGeometry_DataPattern);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_indexDataPattern, doc_QSGGeometry_indexDataPattern);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_setVertexDataPattern, "setVertexDataPattern(self, QSGGeometry.DataPattern)");

extern "C" {static PyObject *meth_QSGGeometry_setVertexDataPattern(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_setVertexDataPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry::DataPattern a0;
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSGGeometry, &sipCpp, sipType_QSGGeometry_DataPattern, &a0))
        {
            sipCpp->setVertexDataPattern(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_setVertexDataPattern, doc_QSGGeometry_setVertexDataPattern);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_vertexDataPattern, "vertexDataPattern(self) -> QSGGeometry.DataPattern");

extern "C" {static PyObject *meth_QSGGeometry_vertexDataPattern(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_vertexDataPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
             ::QSGGeometry::DataPattern sipRes;

            sipRes = sipCpp->vertexDataPattern();

            return sipConvertFromEnum(sipRes,sipType_QSGGeometry_DataPattern);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_vertexDataPattern, doc_QSGGeometry_vertexDataPattern);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_markIndexDataDirty, "markIndexDataDirty(self)");

extern "C" {static PyObject *meth_QSGGeometry_markIndexDataDirty(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_markIndexDataDirty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            sipCpp->markIndexDataDirty();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_markIndexDataDirty, doc_QSGGeometry_markIndexDataDirty);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_markVertexDataDirty, "markVertexDataDirty(self)");

extern "C" {static PyObject *meth_QSGGeometry_markVertexDataDirty(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_markVertexDataDirty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            sipCpp->markVertexDataDirty();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_markVertexDataDirty, doc_QSGGeometry_markVertexDataDirty);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_lineWidth, "lineWidth(self) -> float");

extern "C" {static PyObject *meth_QSGGeometry_lineWidth(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_lineWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            float sipRes;

            sipRes = sipCpp->lineWidth();

            return PyFloat_FromDouble((double)sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_lineWidth, doc_QSGGeometry_lineWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_setLineWidth, "setLineWidth(self, float)");

extern "C" {static PyObject *meth_QSGGeometry_setLineWidth(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_setLineWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        float a0;
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bf", &sipSelf, sipType_QSGGeometry, &sipCpp, &a0))
        {
            sipCpp->setLineWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_setLineWidth, doc_QSGGeometry_setLineWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_indexDataAsUInt, "indexDataAsUInt(self) -> sip.array[int]");

extern "C" {static PyObject *meth_QSGGeometry_indexDataAsUInt(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_indexDataAsUInt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToArray(sipCpp->indexDataAsUInt(), "I",
                sipCpp->indexCount(), 0);
#line 22589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_indexDataAsUInt, doc_QSGGeometry_indexDataAsUInt);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_indexDataAsUShort, "indexDataAsUShort(self) -> sip.array[int]");

extern "C" {static PyObject *meth_QSGGeometry_indexDataAsUShort(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_indexDataAsUShort(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToArray(sipCpp->indexDataAsUShort(), "H",
                sipCpp->indexCount(), 0);
#line 22620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_indexDataAsUShort, doc_QSGGeometry_indexDataAsUShort);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_vertexDataAsPoint2D, "vertexDataAsPoint2D(self) -> sip.array[QSGGeometry.Point2D]");

extern "C" {static PyObject *meth_QSGGeometry_vertexDataAsPoint2D(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_vertexDataAsPoint2D(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsPoint2D(),
                sipType_QSGGeometry_Point2D, "ff", sizeof (QSGGeometry::Point2D),
                sipCpp->vertexCount(), 0);
#line 22652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_vertexDataAsPoint2D, doc_QSGGeometry_vertexDataAsPoint2D);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_vertexDataAsTexturedPoint2D, "vertexDataAsTexturedPoint2D(self) -> sip.array[QSGGeometry.TexturedPoint2D]");

extern "C" {static PyObject *meth_QSGGeometry_vertexDataAsTexturedPoint2D(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_vertexDataAsTexturedPoint2D(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsTexturedPoint2D(),
                sipType_QSGGeometry_TexturedPoint2D, "ffff",
                sizeof (QSGGeometry::TexturedPoint2D), sipCpp->vertexCount(), 0);
#line 22684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_vertexDataAsTexturedPoint2D, doc_QSGGeometry_vertexDataAsTexturedPoint2D);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_vertexDataAsColoredPoint2D, "vertexDataAsColoredPoint2D(self) -> sip.array[QSGGeometry.ColoredPoint2D]");

extern "C" {static PyObject *meth_QSGGeometry_vertexDataAsColoredPoint2D(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_vertexDataAsColoredPoint2D(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsColoredPoint2D(),
                sipType_QSGGeometry_ColoredPoint2D, "ffbbbb",
                sizeof (QSGGeometry::ColoredPoint2D), sipCpp->vertexCount(), 0);
#line 22716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_vertexDataAsColoredPoint2D, doc_QSGGeometry_vertexDataAsColoredPoint2D);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_sizeOfIndex, "sizeOfIndex(self) -> int");

extern "C" {static PyObject *meth_QSGGeometry_sizeOfIndex(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_sizeOfIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sizeOfIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_sizeOfIndex, doc_QSGGeometry_sizeOfIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSGGeometry_updateColoredRectGeometry, "updateColoredRectGeometry(QSGGeometry, QRectF)");

extern "C" {static PyObject *meth_QSGGeometry_updateColoredRectGeometry(PyObject *, PyObject *);}
static PyObject *meth_QSGGeometry_updateColoredRectGeometry(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGGeometry* a0;
        const  ::QRectF* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9", sipType_QSGGeometry, &a0, sipType_QRectF, &a1))
        {
             ::QSGGeometry::updateColoredRectGeometry(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGGeometry, sipName_updateColoredRectGeometry, doc_QSGGeometry_updateColoredRectGeometry);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGGeometry(void *, int);}
static void release_QSGGeometry(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGGeometry *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGGeometry *>(sipCppV);
}


extern "C" {static void dealloc_QSGGeometry(sipSimpleWrapper *);}
static void dealloc_QSGGeometry(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGGeometry *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGGeometry(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSGGeometry(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGGeometry(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQSGGeometry *sipCpp = 0;

    {
        const  ::QSGGeometry::AttributeSet* a0;
        PyObject *a0Keep;
        int a1;
        int a2 = 0;
        int a3 = GL_UNSIGNED_SHORT;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_indexCount,
            sipName_indexType,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "@J9i|ii", &a0Keep, sipType_QSGGeometry_AttributeSet, &a0, &a1, &a2, &a3))
        {
            sipCpp = new sipQSGGeometry(*a0,a1,a2,a3);

            sipKeepReference((PyObject *)sipSelf, -1, a0Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QSGGeometry* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSGGeometry, &a0))
        {
            sipCpp = new sipQSGGeometry(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGGeometry[] = {
    {SIP_MLNAME_CAST(sipName_allocate), (PyCFunction)meth_QSGGeometry_allocate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGGeometry_allocate)},
    {SIP_MLNAME_CAST(sipName_attributeCount), meth_QSGGeometry_attributeCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_attributeCount)},
    {SIP_MLNAME_CAST(sipName_attributes), meth_QSGGeometry_attributes, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_attributes)},
    {SIP_MLNAME_CAST(sipName_defaultAttributes_ColoredPoint2D), meth_QSGGeometry_defaultAttributes_ColoredPoint2D, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_defaultAttributes_ColoredPoint2D)},
    {SIP_MLNAME_CAST(sipName_defaultAttributes_Point2D), meth_QSGGeometry_defaultAttributes_Point2D, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_defaultAttributes_Point2D)},
    {SIP_MLNAME_CAST(sipName_defaultAttributes_TexturedPoint2D), meth_QSGGeometry_defaultAttributes_TexturedPoint2D, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_defaultAttributes_TexturedPoint2D)},
    {SIP_MLNAME_CAST(sipName_drawingMode), meth_QSGGeometry_drawingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_drawingMode)},
    {SIP_MLNAME_CAST(sipName_indexCount), meth_QSGGeometry_indexCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_indexCount)},
    {SIP_MLNAME_CAST(sipName_indexData), meth_QSGGeometry_indexData, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_indexData)},
    {SIP_MLNAME_CAST(sipName_indexDataAsUInt), meth_QSGGeometry_indexDataAsUInt, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_indexDataAsUInt)},
    {SIP_MLNAME_CAST(sipName_indexDataAsUShort), meth_QSGGeometry_indexDataAsUShort, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_indexDataAsUShort)},
    {SIP_MLNAME_CAST(sipName_indexDataPattern), meth_QSGGeometry_indexDataPattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_indexDataPattern)},
    {SIP_MLNAME_CAST(sipName_indexType), meth_QSGGeometry_indexType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_indexType)},
    {SIP_MLNAME_CAST(sipName_lineWidth), meth_QSGGeometry_lineWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_lineWidth)},
    {SIP_MLNAME_CAST(sipName_markIndexDataDirty), meth_QSGGeometry_markIndexDataDirty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_markIndexDataDirty)},
    {SIP_MLNAME_CAST(sipName_markVertexDataDirty), meth_QSGGeometry_markVertexDataDirty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_markVertexDataDirty)},
    {SIP_MLNAME_CAST(sipName_setDrawingMode), meth_QSGGeometry_setDrawingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_setDrawingMode)},
    {SIP_MLNAME_CAST(sipName_setIndexDataPattern), meth_QSGGeometry_setIndexDataPattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_setIndexDataPattern)},
    {SIP_MLNAME_CAST(sipName_setLineWidth), meth_QSGGeometry_setLineWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_setLineWidth)},
    {SIP_MLNAME_CAST(sipName_setVertexDataPattern), meth_QSGGeometry_setVertexDataPattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_setVertexDataPattern)},
    {SIP_MLNAME_CAST(sipName_sizeOfIndex), meth_QSGGeometry_sizeOfIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_sizeOfIndex)},
    {SIP_MLNAME_CAST(sipName_sizeOfVertex), meth_QSGGeometry_sizeOfVertex, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_sizeOfVertex)},
    {SIP_MLNAME_CAST(sipName_updateColoredRectGeometry), meth_QSGGeometry_updateColoredRectGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_updateColoredRectGeometry)},
    {SIP_MLNAME_CAST(sipName_updateRectGeometry), meth_QSGGeometry_updateRectGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_updateRectGeometry)},
    {SIP_MLNAME_CAST(sipName_updateTexturedRectGeometry), meth_QSGGeometry_updateTexturedRectGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_updateTexturedRectGeometry)},
    {SIP_MLNAME_CAST(sipName_vertexCount), meth_QSGGeometry_vertexCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_vertexCount)},
    {SIP_MLNAME_CAST(sipName_vertexData), meth_QSGGeometry_vertexData, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_vertexData)},
    {SIP_MLNAME_CAST(sipName_vertexDataAsColoredPoint2D), meth_QSGGeometry_vertexDataAsColoredPoint2D, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_vertexDataAsColoredPoint2D)},
    {SIP_MLNAME_CAST(sipName_vertexDataAsPoint2D), meth_QSGGeometry_vertexDataAsPoint2D, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_vertexDataAsPoint2D)},
    {SIP_MLNAME_CAST(sipName_vertexDataAsTexturedPoint2D), meth_QSGGeometry_vertexDataAsTexturedPoint2D, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_vertexDataAsTexturedPoint2D)},
    {SIP_MLNAME_CAST(sipName_vertexDataPattern), meth_QSGGeometry_vertexDataPattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGGeometry_vertexDataPattern)}
};

static sipEnumMemberDef enummembers_QSGGeometry[] = {
    {sipName_AlwaysUploadPattern, static_cast<int>( ::QSGGeometry::AlwaysUploadPattern), 45},
    {sipName_ByteType, static_cast<int>( ::QSGGeometry::ByteType), 49},
    {sipName_ColorAttribute, static_cast<int>( ::QSGGeometry::ColorAttribute), 43},
    {sipName_DrawLineLoop, static_cast<int>( ::QSGGeometry::DrawLineLoop), 46},
    {sipName_DrawLineStrip, static_cast<int>( ::QSGGeometry::DrawLineStrip), 46},
    {sipName_DrawLines, static_cast<int>( ::QSGGeometry::DrawLines), 46},
    {sipName_DrawPoints, static_cast<int>( ::QSGGeometry::DrawPoints), 46},
    {sipName_DrawTriangleFan, static_cast<int>( ::QSGGeometry::DrawTriangleFan), 46},
    {sipName_DrawTriangleStrip, static_cast<int>( ::QSGGeometry::DrawTriangleStrip), 46},
    {sipName_DrawTriangles, static_cast<int>( ::QSGGeometry::DrawTriangles), 46},
    {sipName_DynamicPattern, static_cast<int>( ::QSGGeometry::DynamicPattern), 45},
    {sipName_FloatType, static_cast<int>( ::QSGGeometry::FloatType), 49},
    {sipName_GL_BYTE, static_cast<int>(GL_BYTE), -1},
    {sipName_GL_DOUBLE, static_cast<int>(GL_DOUBLE), -1},
    {sipName_GL_FLOAT, static_cast<int>(GL_FLOAT), -1},
    {sipName_GL_INT, static_cast<int>(GL_INT), -1},
    {sipName_GL_LINES, static_cast<int>(GL_LINES), -1},
    {sipName_GL_LINE_LOOP, static_cast<int>(GL_LINE_LOOP), -1},
    {sipName_GL_LINE_STRIP, static_cast<int>(GL_LINE_STRIP), -1},
    {sipName_GL_POINTS, static_cast<int>(GL_POINTS), -1},
    {sipName_GL_TRIANGLES, static_cast<int>(GL_TRIANGLES), -1},
    {sipName_GL_TRIANGLE_FAN, static_cast<int>(GL_TRIANGLE_FAN), -1},
    {sipName_GL_TRIANGLE_STRIP, static_cast<int>(GL_TRIANGLE_STRIP), -1},
    {sipName_IntType, static_cast<int>( ::QSGGeometry::IntType), 49},
    {sipName_PositionAttribute, static_cast<int>( ::QSGGeometry::PositionAttribute), 43},
    {sipName_ShortType, static_cast<int>( ::QSGGeometry::ShortType), 49},
    {sipName_StaticPattern, static_cast<int>( ::QSGGeometry::StaticPattern), 45},
    {sipName_StreamPattern, static_cast<int>( ::QSGGeometry::StreamPattern), 45},
    {sipName_TexCoord1Attribute, static_cast<int>( ::QSGGeometry::TexCoord1Attribute), 43},
    {sipName_TexCoord2Attribute, static_cast<int>( ::QSGGeometry::TexCoord2Attribute), 43},
    {sipName_TexCoordAttribute, static_cast<int>( ::QSGGeometry::TexCoordAttribute), 43},
    {sipName_UnknownAttribute, static_cast<int>( ::QSGGeometry::UnknownAttribute), 43},
    {sipName_UnsignedByteType, static_cast<int>( ::QSGGeometry::UnsignedByteType), 49},
    {sipName_UnsignedIntType, static_cast<int>( ::QSGGeometry::UnsignedIntType), 49},
    {sipName_UnsignedShortType, static_cast<int>( ::QSGGeometry::UnsignedShortType), 49},
};

PyDoc_STRVAR(doc_QSGGeometry, "\1QSGGeometry(QSGGeometry.AttributeSet, int, indexCount: int = 0, indexType: int = GL_UNSIGNED_SHORT)\n"
    "QSGGeometry(QSGGeometry)");


static pyqt5ClassPluginDef plugin_QSGGeometry = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGGeometry = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry,
        {0},
        &plugin_QSGGeometry
    },
    {
        sipNameNr_QSGGeometry,
        {0, 0, 1},
        31, methods_QSGGeometry,
        35, enummembers_QSGGeometry,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry,
    -1,
    -1,
    0,
    0,
    init_type_QSGGeometry,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGGeometry,
    0,
    0,
    0,
    release_QSGGeometry,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgflatcolormaterial.sip"
#include <qsgflatcolormaterial.h>
#line 22993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 22997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 23000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 23003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 23006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 23009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGFlatColorMaterial : public  ::QSGFlatColorMaterial
{
public:
    sipQSGFlatColorMaterial();
    virtual ~sipQSGFlatColorMaterial();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QSGMaterialType* type() const;
     ::QSGMaterialShader* createShader() const;
    int compare(const  ::QSGMaterial*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSGFlatColorMaterial(const sipQSGFlatColorMaterial &);
    sipQSGFlatColorMaterial &operator = (const sipQSGFlatColorMaterial &);

    char sipPyMethods[3];
};

sipQSGFlatColorMaterial::sipQSGFlatColorMaterial():  ::QSGFlatColorMaterial(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSGFlatColorMaterial::~sipQSGFlatColorMaterial()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QSGMaterialType* sipQSGFlatColorMaterial::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::QSGFlatColorMaterial::type();

    extern  ::QSGMaterialType* sipVH_QtQuick_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_53(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGMaterialShader* sipQSGFlatColorMaterial::createShader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_createShader);

    if (!sipMeth)
        return  ::QSGFlatColorMaterial::createShader();

    extern  ::QSGMaterialShader* sipVH_QtQuick_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_54(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQSGFlatColorMaterial::compare(const  ::QSGMaterial*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_compare);

    if (!sipMeth)
        return  ::QSGFlatColorMaterial::compare(a0);

    extern int sipVH_QtQuick_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QSGMaterial*);

    return sipVH_QtQuick_55(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QSGFlatColorMaterial_type, "type(self) -> QSGMaterialType");

extern "C" {static PyObject *meth_QSGFlatColorMaterial_type(PyObject *, PyObject *);}
static PyObject *meth_QSGFlatColorMaterial_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGFlatColorMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGFlatColorMaterial, &sipCpp))
        {
             ::QSGMaterialType*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGFlatColorMaterial::type() : sipCpp->type());

            return sipConvertFromType(sipRes,sipType_QSGMaterialType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGFlatColorMaterial, sipName_type, doc_QSGFlatColorMaterial_type);

    return NULL;
}


PyDoc_STRVAR(doc_QSGFlatColorMaterial_createShader, "createShader(self) -> QSGMaterialShader");

extern "C" {static PyObject *meth_QSGFlatColorMaterial_createShader(PyObject *, PyObject *);}
static PyObject *meth_QSGFlatColorMaterial_createShader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGFlatColorMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGFlatColorMaterial, &sipCpp))
        {
             ::QSGMaterialShader*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGFlatColorMaterial::createShader() : sipCpp->createShader());

            return sipConvertFromNewType(sipRes,sipType_QSGMaterialShader,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGFlatColorMaterial, sipName_createShader, doc_QSGFlatColorMaterial_createShader);

    return NULL;
}


PyDoc_STRVAR(doc_QSGFlatColorMaterial_setColor, "setColor(self, Union[QColor, Qt.GlobalColor])");

extern "C" {static PyObject *meth_QSGFlatColorMaterial_setColor(PyObject *, PyObject *);}
static PyObject *meth_QSGFlatColorMaterial_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QSGFlatColorMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSGFlatColorMaterial, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGFlatColorMaterial, sipName_setColor, doc_QSGFlatColorMaterial_setColor);

    return NULL;
}


PyDoc_STRVAR(doc_QSGFlatColorMaterial_color, "color(self) -> QColor");

extern "C" {static PyObject *meth_QSGFlatColorMaterial_color(PyObject *, PyObject *);}
static PyObject *meth_QSGFlatColorMaterial_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGFlatColorMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGFlatColorMaterial, &sipCpp))
        {
             ::QColor*sipRes;

            sipRes = new  ::QColor(sipCpp->color());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGFlatColorMaterial, sipName_color, doc_QSGFlatColorMaterial_color);

    return NULL;
}


PyDoc_STRVAR(doc_QSGFlatColorMaterial_compare, "compare(self, QSGMaterial) -> int");

extern "C" {static PyObject *meth_QSGFlatColorMaterial_compare(PyObject *, PyObject *);}
static PyObject *meth_QSGFlatColorMaterial_compare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGMaterial* a0;
        const  ::QSGFlatColorMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGFlatColorMaterial, &sipCpp, sipType_QSGMaterial, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGFlatColorMaterial::compare(a0) : sipCpp->compare(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGFlatColorMaterial, sipName_compare, doc_QSGFlatColorMaterial_compare);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGFlatColorMaterial(void *, const sipTypeDef *);}
static void *cast_QSGFlatColorMaterial(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGFlatColorMaterial *sipCpp = reinterpret_cast< ::QSGFlatColorMaterial *>(sipCppV);

    if (targetType == sipType_QSGMaterial)
        return static_cast< ::QSGMaterial *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGFlatColorMaterial(void *, int);}
static void release_QSGFlatColorMaterial(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGFlatColorMaterial *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGFlatColorMaterial *>(sipCppV);
}


extern "C" {static void dealloc_QSGFlatColorMaterial(sipSimpleWrapper *);}
static void dealloc_QSGFlatColorMaterial(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGFlatColorMaterial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGFlatColorMaterial(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSGFlatColorMaterial(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGFlatColorMaterial(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQSGFlatColorMaterial *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQSGFlatColorMaterial();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSGFlatColorMaterial[] = {{54, 255, 1}};


static PyMethodDef methods_QSGFlatColorMaterial[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_QSGFlatColorMaterial_color, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGFlatColorMaterial_color)},
    {SIP_MLNAME_CAST(sipName_compare), meth_QSGFlatColorMaterial_compare, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGFlatColorMaterial_compare)},
    {SIP_MLNAME_CAST(sipName_createShader), meth_QSGFlatColorMaterial_createShader, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGFlatColorMaterial_createShader)},
    {SIP_MLNAME_CAST(sipName_setColor), meth_QSGFlatColorMaterial_setColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGFlatColorMaterial_setColor)},
    {SIP_MLNAME_CAST(sipName_type), meth_QSGFlatColorMaterial_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGFlatColorMaterial_type)}
};

PyDoc_STRVAR(doc_QSGFlatColorMaterial, "\1QSGFlatColorMaterial()");


static pyqt5ClassPluginDef plugin_QSGFlatColorMaterial = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGFlatColorMaterial = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGFlatColorMaterial,
        {0},
        &plugin_QSGFlatColorMaterial
    },
    {
        sipNameNr_QSGFlatColorMaterial,
        {0, 0, 1},
        5, methods_QSGFlatColorMaterial,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGFlatColorMaterial,
    -1,
    -1,
    supers_QSGFlatColorMaterial,
    0,
    init_type_QSGFlatColorMaterial,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGFlatColorMaterial,
    0,
    0,
    0,
    release_QSGFlatColorMaterial,
    cast_QSGFlatColorMaterial,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 23371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 23375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 23378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 23381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGMaterial : public  ::QSGMaterial
{
public:
    sipQSGMaterial();
    virtual ~sipQSGMaterial();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int compare(const  ::QSGMaterial*) const;
     ::QSGMaterialShader* createShader() const;
     ::QSGMaterialType* type() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSGMaterial(const sipQSGMaterial &);
    sipQSGMaterial &operator = (const sipQSGMaterial &);

    char sipPyMethods[3];
};

sipQSGMaterial::sipQSGMaterial():  ::QSGMaterial(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSGMaterial::~sipQSGMaterial()
{
    sipInstanceDestroyed(sipPySelf);
}

int sipQSGMaterial::compare(const  ::QSGMaterial*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_compare);

    if (!sipMeth)
        return  ::QSGMaterial::compare(a0);

    extern int sipVH_QtQuick_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QSGMaterial*);

    return sipVH_QtQuick_55(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSGMaterialShader* sipQSGMaterial::createShader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QSGMaterial,sipName_createShader);

    if (!sipMeth)
        return 0;

    extern  ::QSGMaterialShader* sipVH_QtQuick_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_54(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGMaterialType* sipQSGMaterial::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_QSGMaterial,sipName_type);

    if (!sipMeth)
        return 0;

    extern  ::QSGMaterialType* sipVH_QtQuick_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_53(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGMaterial_type, "type(self) -> QSGMaterialType");

extern "C" {static PyObject *meth_QSGMaterial_type(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterial_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QSGMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterial, &sipCpp))
        {
             ::QSGMaterialType*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGMaterial, sipName_type);
                return NULL;
            }

            sipRes = sipCpp->type();

            return sipConvertFromType(sipRes,sipType_QSGMaterialType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterial, sipName_type, doc_QSGMaterial_type);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterial_createShader, "createShader(self) -> QSGMaterialShader");

extern "C" {static PyObject *meth_QSGMaterial_createShader(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterial_createShader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QSGMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterial, &sipCpp))
        {
             ::QSGMaterialShader*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGMaterial, sipName_createShader);
                return NULL;
            }

            sipRes = sipCpp->createShader();

            return sipConvertFromNewType(sipRes,sipType_QSGMaterialShader,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterial, sipName_createShader, doc_QSGMaterial_createShader);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterial_compare, "compare(self, QSGMaterial) -> int");

extern "C" {static PyObject *meth_QSGMaterial_compare(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterial_compare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSGMaterial* a0;
        const  ::QSGMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGMaterial, &sipCpp, sipType_QSGMaterial, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSGMaterial::compare(a0) : sipCpp->compare(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterial, sipName_compare, doc_QSGMaterial_compare);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterial_flags, "flags(self) -> QSGMaterial.Flags");

extern "C" {static PyObject *meth_QSGMaterial_flags(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterial_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGMaterial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGMaterial, &sipCpp))
        {
             ::QSGMaterial::Flags*sipRes;

            sipRes = new  ::QSGMaterial::Flags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_QSGMaterial_Flags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterial, sipName_flags, doc_QSGMaterial_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QSGMaterial_setFlag, "setFlag(self, Union[QSGMaterial.Flags, QSGMaterial.Flag], enabled: bool = True)");

extern "C" {static PyObject *meth_QSGMaterial_setFlag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGMaterial_setFlag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGMaterial::Flags* a0;
        int a0State = 0;
        bool a1 = 1;
         ::QSGMaterial *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|b", &sipSelf, sipType_QSGMaterial, &sipCpp, sipType_QSGMaterial_Flags, &a0, &a0State, &a1))
        {
            sipCpp->setFlag(*a0,a1);
            sipReleaseType(a0,sipType_QSGMaterial_Flags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGMaterial, sipName_setFlag, doc_QSGMaterial_setFlag);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGMaterial(void *, int);}
static void release_QSGMaterial(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSGMaterial *>(sipCppV);
    else
        delete reinterpret_cast< ::QSGMaterial *>(sipCppV);
}


extern "C" {static void dealloc_QSGMaterial(sipSimpleWrapper *);}
static void dealloc_QSGMaterial(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGMaterial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGMaterial(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSGMaterial(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGMaterial(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQSGMaterial *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQSGMaterial();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSGMaterial[] = {
    {SIP_MLNAME_CAST(sipName_compare), meth_QSGMaterial_compare, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterial_compare)},
    {SIP_MLNAME_CAST(sipName_createShader), meth_QSGMaterial_createShader, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterial_createShader)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QSGMaterial_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterial_flags)},
    {SIP_MLNAME_CAST(sipName_setFlag), (PyCFunction)meth_QSGMaterial_setFlag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGMaterial_setFlag)},
    {SIP_MLNAME_CAST(sipName_type), meth_QSGMaterial_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGMaterial_type)}
};

static sipEnumMemberDef enummembers_QSGMaterial[] = {
    {sipName_Blending, static_cast<int>( ::QSGMaterial::Blending), 55},
    {sipName_CustomCompileStep, static_cast<int>( ::QSGMaterial::CustomCompileStep), 55},
    {sipName_RequiresDeterminant, static_cast<int>( ::QSGMaterial::RequiresDeterminant), 55},
    {sipName_RequiresFullMatrix, static_cast<int>( ::QSGMaterial::RequiresFullMatrix), 55},
    {sipName_RequiresFullMatrixExceptTranslate, static_cast<int>( ::QSGMaterial::RequiresFullMatrixExceptTranslate), 55},
};

PyDoc_STRVAR(doc_QSGMaterial, "\1QSGMaterial()");


static pyqt5ClassPluginDef plugin_QSGMaterial = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGMaterial = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterial,
        {0},
        &plugin_QSGMaterial
    },
    {
        sipNameNr_QSGMaterial,
        {0, 0, 1},
        5, methods_QSGMaterial,
        5, enummembers_QSGMaterial,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterial,
    -1,
    -1,
    0,
    0,
    init_type_QSGMaterial,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGMaterial,
    0,
    0,
    0,
    release_QSGMaterial,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 23752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 23756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGEngine_CreateTextureOptions___hash__(PyObject *);}
static long slot_QSGEngine_CreateTextureOptions___hash__(PyObject *sipSelf)
{
     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGEngine::CreateTextureOptions::Int();
#line 23774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGEngine_CreateTextureOptions___bool__(PyObject *);}
static int slot_QSGEngine_CreateTextureOptions___bool__(PyObject *sipSelf)
{
     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGEngine::CreateTextureOptions::Int() != 0);
#line 23799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGEngine::CreateTextureOptions::Int() != a0->operator QSGEngine::CreateTextureOptions::Int());
#line 23829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGEngine::CreateTextureOptions *>(a0),sipType_QSGEngine_CreateTextureOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGEngine_CreateTextureOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGEngine::CreateTextureOptions::Int() == a0->operator QSGEngine::CreateTextureOptions::Int());
#line 23865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGEngine::CreateTextureOptions *>(a0),sipType_QSGEngine_CreateTextureOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGEngine_CreateTextureOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGEngine_CreateTextureOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGEngine::CreateTextureOptions(*sipCpp ^ a0);
#line 23904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, &a1))
        {
             ::QSGEngine::CreateTextureOptions*sipRes;

            sipRes = new  ::QSGEngine::CreateTextureOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSGEngine_CreateTextureOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGEngine_CreateTextureOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGEngine::CreateTextureOptions(*sipCpp | a0);
#line 23976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, &a1))
        {
             ::QSGEngine::CreateTextureOptions*sipRes;

            sipRes = new  ::QSGEngine::CreateTextureOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSGEngine_CreateTextureOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGEngine_CreateTextureOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGEngine::CreateTextureOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, &a1))
        {
             ::QSGEngine::CreateTextureOptions*sipRes;

            sipRes = new  ::QSGEngine::CreateTextureOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSGEngine_CreateTextureOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___invert__(PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___invert__(PyObject *sipSelf)
{
     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGEngine::CreateTextureOptions*sipRes;

            sipRes = new  ::QSGEngine::CreateTextureOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QSGEngine_CreateTextureOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGEngine_CreateTextureOptions___int__(PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___int__(PyObject *sipSelf)
{
     ::QSGEngine::CreateTextureOptions *sipCpp = reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGEngine_CreateTextureOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGEngine_CreateTextureOptions(void *, int);}
static void release_QSGEngine_CreateTextureOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipCppV);
}


extern "C" {static void assign_QSGEngine_CreateTextureOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGEngine_CreateTextureOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGEngine::CreateTextureOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGEngine::CreateTextureOptions *>(sipSrc);
}


extern "C" {static void *array_QSGEngine_CreateTextureOptions(SIP_SSIZE_T);}
static void *array_QSGEngine_CreateTextureOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGEngine::CreateTextureOptions[sipNrElem];
}


extern "C" {static void *copy_QSGEngine_CreateTextureOptions(const void *, SIP_SSIZE_T);}
static void *copy_QSGEngine_CreateTextureOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGEngine::CreateTextureOptions(reinterpret_cast<const  ::QSGEngine::CreateTextureOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGEngine_CreateTextureOptions(sipSimpleWrapper *);}
static void dealloc_QSGEngine_CreateTextureOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGEngine_CreateTextureOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGEngine_CreateTextureOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGEngine_CreateTextureOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGEngine::CreateTextureOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QSGEngine::CreateTextureOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QSGEngine::CreateTextureOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State))
        {
            sipCpp = new  ::QSGEngine::CreateTextureOptions(*a0);
            sipReleaseType(const_cast< ::QSGEngine::CreateTextureOptions *>(a0),sipType_QSGEngine_CreateTextureOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGEngine_CreateTextureOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGEngine_CreateTextureOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGEngine::CreateTextureOptions **sipCppPtr = reinterpret_cast< ::QSGEngine::CreateTextureOptions **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGEngine::CreateTextureOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGEngine_CreateTextureOption)) ||
            sipCanConvertToType(sipPy, sipType_QSGEngine_CreateTextureOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGEngine_CreateTextureOption)))
{
    *sipCppPtr = new QSGEngine::CreateTextureOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGEngine::CreateTextureOptions *>(sipConvertToType(sipPy, sipType_QSGEngine_CreateTextureOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 24244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGEngine_CreateTextureOptions[] = {
    {(void *)slot_QSGEngine_CreateTextureOptions___hash__, hash_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___bool__, bool_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___ne__, ne_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___eq__, eq_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___ixor__, ixor_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___xor__, xor_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___ior__, ior_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___or__, or_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___iand__, iand_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___and__, and_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___invert__, invert_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGEngine_CreateTextureOptions, "\1QSGEngine.CreateTextureOptions()\n"
    "QSGEngine.CreateTextureOptions(Union[QSGEngine.CreateTextureOptions, QSGEngine.CreateTextureOption])\n"
    "QSGEngine.CreateTextureOptions(QSGEngine.CreateTextureOptions)");


static pyqt5ClassPluginDef plugin_QSGEngine_CreateTextureOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGEngine_CreateTextureOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGEngine__CreateTextureOptions,
        {0},
        &plugin_QSGEngine_CreateTextureOptions
    },
    {
        sipNameNr_CreateTextureOptions,
        {36, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGEngine_CreateTextureOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGEngine_CreateTextureOptions,
    init_type_QSGEngine_CreateTextureOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGEngine_CreateTextureOptions,
    assign_QSGEngine_CreateTextureOptions,
    array_QSGEngine_CreateTextureOptions,
    copy_QSGEngine_CreateTextureOptions,
    release_QSGEngine_CreateTextureOptions,
    0,
    convertTo_QSGEngine_CreateTextureOptions,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 24330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 24334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 24337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrectanglenode.sip"
#include <qsgrectanglenode.h>
#line 24340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 24343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 24346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 24349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 24352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 24355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 24358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 46 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 24361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 24364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 24376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 24394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 24403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQSGEngine : public  ::QSGEngine
{
public:
    sipQSGEngine( ::QObject*);
    virtual ~sipQSGEngine();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSGEngine(const sipQSGEngine &);
    sipQSGEngine &operator = (const sipQSGEngine &);

    char sipPyMethods[7];
};

sipQSGEngine::sipQSGEngine( ::QObject*a0):  ::QSGEngine(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSGEngine::~sipQSGEngine()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSGEngine::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QSGEngine);

    return  ::QSGEngine::metaObject();
}

int sipQSGEngine::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSGEngine::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QSGEngine,_c,_id,_a);

    return _id;
}

void *sipQSGEngine::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QSGEngine, _clname, &sipCpp) ? sipCpp :  ::QSGEngine::qt_metacast(_clname));
}

bool sipQSGEngine::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSGEngine::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQSGEngine::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSGEngine::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQSGEngine::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSGEngine::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSGEngine::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSGEngine::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSGEngine::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSGEngine::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSGEngine::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSGEngine::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQSGEngine::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSGEngine::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSGEngine::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSGEngine::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSGEngine::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSGEngine::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSGEngine::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSGEngine::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSGEngine::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSGEngine::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSGEngine::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QSGEngine_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSGEngine_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGEngine, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 24700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_sender, doc_QSGEngine_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSGEngine_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSGEngine, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 24760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_receivers, doc_QSGEngine_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSGEngine_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_timerEvent, doc_QSGEngine_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSGEngine_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_childEvent, doc_QSGEngine_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSGEngine_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_customEvent, doc_QSGEngine_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGEngine_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_connectNotify, doc_QSGEngine_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSGEngine_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_disconnectNotify, doc_QSGEngine_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSGEngine_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSGEngine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_senderSignalIndex, doc_QSGEngine_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSGEngine_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSGEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_isSignalConnected, doc_QSGEngine_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_initialize, "initialize(self, QOpenGLContext)");

extern "C" {static PyObject *meth_QSGEngine_initialize(PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_initialize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QOpenGLContext* a0;
         ::QSGEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QOpenGLContext, &a0))
        {
            sipCpp->initialize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_initialize, doc_QSGEngine_initialize);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_invalidate, "invalidate(self)");

extern "C" {static PyObject *meth_QSGEngine_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGEngine, &sipCpp))
        {
            sipCpp->invalidate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_invalidate, doc_QSGEngine_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_createRenderer, "createRenderer(self) -> QSGAbstractRenderer");

extern "C" {static PyObject *meth_QSGEngine_createRenderer(PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_createRenderer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGEngine, &sipCpp))
        {
             ::QSGAbstractRenderer*sipRes;

            sipRes = sipCpp->createRenderer();

            return sipConvertFromType(sipRes,sipType_QSGAbstractRenderer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_createRenderer, doc_QSGEngine_createRenderer);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_createTextureFromImage, "createTextureFromImage(self, QImage, options: Union[QSGEngine.CreateTextureOptions, QSGEngine.CreateTextureOption] = QSGEngine.CreateTextureOption(0)) -> QSGTexture");

extern "C" {static PyObject *meth_QSGEngine_createTextureFromImage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_createTextureFromImage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImage* a0;
         ::QSGEngine::CreateTextureOptions a1def = QSGEngine::CreateTextureOption(0);
         ::QSGEngine::CreateTextureOptions* a1 = &a1def;
        int a1State = 0;
        const  ::QSGEngine *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1", &sipSelf, sipType_QSGEngine, &sipCpp, sipType_QImage, &a0, sipType_QSGEngine_CreateTextureOptions, &a1, &a1State))
        {
             ::QSGTexture*sipRes;

            sipRes = sipCpp->createTextureFromImage(*a0,*a1);
            sipReleaseType(a1,sipType_QSGEngine_CreateTextureOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QSGTexture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_createTextureFromImage, doc_QSGEngine_createTextureFromImage);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_createTextureFromId, "createTextureFromId(self, int, QSize, options: Union[QSGEngine.CreateTextureOptions, QSGEngine.CreateTextureOption] = QSGEngine.CreateTextureOption(0)) -> QSGTexture");

extern "C" {static PyObject *meth_QSGEngine_createTextureFromId(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_createTextureFromId(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
        const  ::QSize* a1;
         ::QSGEngine::CreateTextureOptions a2def = QSGEngine::CreateTextureOption(0);
         ::QSGEngine::CreateTextureOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QSGEngine *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BuJ9|J1", &sipSelf, sipType_QSGEngine, &sipCpp, &a0, sipType_QSize, &a1, sipType_QSGEngine_CreateTextureOptions, &a2, &a2State))
        {
             ::QSGTexture*sipRes;

            sipRes = sipCpp->createTextureFromId(a0,*a1,*a2);
            sipReleaseType(a2,sipType_QSGEngine_CreateTextureOptions,a2State);

            return sipConvertFromNewType(sipRes,sipType_QSGTexture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_createTextureFromId, doc_QSGEngine_createTextureFromId);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_rendererInterface, "rendererInterface(self) -> QSGRendererInterface");

extern "C" {static PyObject *meth_QSGEngine_rendererInterface(PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_rendererInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGEngine, &sipCpp))
        {
             ::QSGRendererInterface*sipRes;

            sipRes = sipCpp->rendererInterface();

            return sipConvertFromType(sipRes,sipType_QSGRendererInterface,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_rendererInterface, doc_QSGEngine_rendererInterface);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_createRectangleNode, "createRectangleNode(self) -> QSGRectangleNode");

extern "C" {static PyObject *meth_QSGEngine_createRectangleNode(PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_createRectangleNode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGEngine, &sipCpp))
        {
             ::QSGRectangleNode*sipRes;

            sipRes = sipCpp->createRectangleNode();

            return sipConvertFromNewType(sipRes,sipType_QSGRectangleNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_createRectangleNode, doc_QSGEngine_createRectangleNode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGEngine_createImageNode, "createImageNode(self) -> QSGImageNode");

extern "C" {static PyObject *meth_QSGEngine_createImageNode(PyObject *, PyObject *);}
static PyObject *meth_QSGEngine_createImageNode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGEngine, &sipCpp))
        {
             ::QSGImageNode*sipRes;

            sipRes = sipCpp->createImageNode();

            return sipConvertFromNewType(sipRes,sipType_QSGImageNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGEngine, sipName_createImageNode, doc_QSGEngine_createImageNode);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGEngine(void *, const sipTypeDef *);}
static void *cast_QSGEngine(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGEngine *sipCpp = reinterpret_cast< ::QSGEngine *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGEngine(void *, int);}
static void release_QSGEngine(void *sipCppV, int)
{
     ::QSGEngine *sipCpp = reinterpret_cast< ::QSGEngine *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSGEngine(sipSimpleWrapper *);}
static void dealloc_QSGEngine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSGEngine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGEngine(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSGEngine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGEngine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSGEngine *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQSGEngine(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSGEngine[] = {{3, 0, 1}};


static PyMethodDef methods_QSGEngine[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSGEngine_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSGEngine_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createImageNode), meth_QSGEngine_createImageNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGEngine_createImageNode)},
    {SIP_MLNAME_CAST(sipName_createRectangleNode), meth_QSGEngine_createRectangleNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGEngine_createRectangleNode)},
    {SIP_MLNAME_CAST(sipName_createRenderer), meth_QSGEngine_createRenderer, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGEngine_createRenderer)},
    {SIP_MLNAME_CAST(sipName_createTextureFromId), (PyCFunction)meth_QSGEngine_createTextureFromId, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGEngine_createTextureFromId)},
    {SIP_MLNAME_CAST(sipName_createTextureFromImage), (PyCFunction)meth_QSGEngine_createTextureFromImage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGEngine_createTextureFromImage)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSGEngine_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSGEngine_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initialize), meth_QSGEngine_initialize, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGEngine_initialize)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QSGEngine_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGEngine_invalidate)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSGEngine_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSGEngine_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rendererInterface), meth_QSGEngine_rendererInterface, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGEngine_rendererInterface)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSGEngine_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSGEngine_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSGEngine_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QSGEngine[] = {
    {sipName_TextureCanUseAtlas, static_cast<int>( ::QSGEngine::TextureCanUseAtlas), 37},
    {sipName_TextureHasAlphaChannel, static_cast<int>( ::QSGEngine::TextureHasAlphaChannel), 37},
    {sipName_TextureIsOpaque, static_cast<int>( ::QSGEngine::TextureIsOpaque), 37},
    {sipName_TextureOwnsGLTexture, static_cast<int>( ::QSGEngine::TextureOwnsGLTexture), 37},
};

PyDoc_STRVAR(doc_QSGEngine, "\1QSGEngine(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QSGEngine = {
    & ::QSGEngine::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGEngine = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGEngine,
        {0},
        &plugin_QSGEngine
    },
    {
        sipNameNr_QSGEngine,
        {0, 0, 1},
        17, methods_QSGEngine,
        4, enummembers_QSGEngine,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGEngine,
    -1,
    -1,
    supers_QSGEngine,
    0,
    init_type_QSGEngine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGEngine,
    0,
    0,
    0,
    release_QSGEngine,
    cast_QSGEngine,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 25387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 25391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QSGAbstractRenderer_ClearMode___hash__(PyObject *);}
static long slot_QSGAbstractRenderer_ClearMode___hash__(PyObject *sipSelf)
{
     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QSGAbstractRenderer::ClearMode::Int();
#line 25409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QSGAbstractRenderer_ClearMode___bool__(PyObject *);}
static int slot_QSGAbstractRenderer_ClearMode___bool__(PyObject *sipSelf)
{
     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGAbstractRenderer::ClearMode::Int() != 0);
#line 25434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGAbstractRenderer::ClearMode::Int() != a0->operator QSGAbstractRenderer::ClearMode::Int());
#line 25464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGAbstractRenderer::ClearMode *>(a0),sipType_QSGAbstractRenderer_ClearMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QSGAbstractRenderer_ClearMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGAbstractRenderer::ClearMode::Int() == a0->operator QSGAbstractRenderer::ClearMode::Int());
#line 25500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QSGAbstractRenderer::ClearMode *>(a0),sipType_QSGAbstractRenderer_ClearMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QSGAbstractRenderer_ClearMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGAbstractRenderer_ClearMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGAbstractRenderer::ClearMode(*sipCpp ^ a0);
#line 25539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State, &a1))
        {
             ::QSGAbstractRenderer::ClearMode*sipRes;

            sipRes = new  ::QSGAbstractRenderer::ClearMode((*a0 ^ a1));
            sipReleaseType(a0,sipType_QSGAbstractRenderer_ClearMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSGAbstractRenderer_ClearMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGAbstractRenderer_ClearMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QSGAbstractRenderer::ClearMode(*sipCpp | a0);
#line 25611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State, &a1))
        {
             ::QSGAbstractRenderer::ClearMode*sipRes;

            sipRes = new  ::QSGAbstractRenderer::ClearMode((*a0 | a1));
            sipReleaseType(a0,sipType_QSGAbstractRenderer_ClearMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSGAbstractRenderer_ClearMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSGAbstractRenderer_ClearMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QSGAbstractRenderer::ClearMode::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___and__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State, &a1))
        {
             ::QSGAbstractRenderer::ClearMode*sipRes;

            sipRes = new  ::QSGAbstractRenderer::ClearMode((*a0 & a1));
            sipReleaseType(a0,sipType_QSGAbstractRenderer_ClearMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSGAbstractRenderer_ClearMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___invert__(PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___invert__(PyObject *sipSelf)
{
     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;


    {
        {
             ::QSGAbstractRenderer::ClearMode*sipRes;

            sipRes = new  ::QSGAbstractRenderer::ClearMode(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QSGAbstractRenderer_ClearMode,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSGAbstractRenderer_ClearMode___int__(PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___int__(PyObject *sipSelf)
{
     ::QSGAbstractRenderer::ClearMode *sipCpp = reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSGAbstractRenderer_ClearMode));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGAbstractRenderer_ClearMode(void *, int);}
static void release_QSGAbstractRenderer_ClearMode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipCppV);
}


extern "C" {static void assign_QSGAbstractRenderer_ClearMode(void *, SIP_SSIZE_T, const void *);}
static void assign_QSGAbstractRenderer_ClearMode(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSGAbstractRenderer::ClearMode *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSGAbstractRenderer::ClearMode *>(sipSrc);
}


extern "C" {static void *array_QSGAbstractRenderer_ClearMode(SIP_SSIZE_T);}
static void *array_QSGAbstractRenderer_ClearMode(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSGAbstractRenderer::ClearMode[sipNrElem];
}


extern "C" {static void *copy_QSGAbstractRenderer_ClearMode(const void *, SIP_SSIZE_T);}
static void *copy_QSGAbstractRenderer_ClearMode(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSGAbstractRenderer::ClearMode(reinterpret_cast<const  ::QSGAbstractRenderer::ClearMode *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSGAbstractRenderer_ClearMode(sipSimpleWrapper *);}
static void dealloc_QSGAbstractRenderer_ClearMode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGAbstractRenderer_ClearMode(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSGAbstractRenderer_ClearMode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSGAbstractRenderer_ClearMode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSGAbstractRenderer::ClearMode *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QSGAbstractRenderer::ClearMode();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QSGAbstractRenderer::ClearMode(a0);

            return sipCpp;
        }
    }

    {
        const  ::QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State))
        {
            sipCpp = new  ::QSGAbstractRenderer::ClearMode(*a0);
            sipReleaseType(const_cast< ::QSGAbstractRenderer::ClearMode *>(a0),sipType_QSGAbstractRenderer_ClearMode,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSGAbstractRenderer_ClearMode(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSGAbstractRenderer_ClearMode(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QSGAbstractRenderer::ClearMode **sipCppPtr = reinterpret_cast< ::QSGAbstractRenderer::ClearMode **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSGAbstractRenderer::ClearMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGAbstractRenderer_ClearModeBit)) ||
            sipCanConvertToType(sipPy, sipType_QSGAbstractRenderer_ClearMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSGAbstractRenderer_ClearModeBit)))
{
    *sipCppPtr = new QSGAbstractRenderer::ClearMode(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSGAbstractRenderer::ClearMode *>(sipConvertToType(sipPy, sipType_QSGAbstractRenderer_ClearMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 25879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGAbstractRenderer_ClearMode[] = {
    {(void *)slot_QSGAbstractRenderer_ClearMode___hash__, hash_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___bool__, bool_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___ne__, ne_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___eq__, eq_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___ixor__, ixor_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___xor__, xor_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___ior__, ior_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___or__, or_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___iand__, iand_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___and__, and_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___invert__, invert_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGAbstractRenderer_ClearMode, "\1QSGAbstractRenderer.ClearMode()\n"
    "QSGAbstractRenderer.ClearMode(Union[QSGAbstractRenderer.ClearMode, QSGAbstractRenderer.ClearModeBit])\n"
    "QSGAbstractRenderer.ClearMode(QSGAbstractRenderer.ClearMode)");


static pyqt5ClassPluginDef plugin_QSGAbstractRenderer_ClearMode = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGAbstractRenderer_ClearMode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGAbstractRenderer__ClearMode,
        {0},
        &plugin_QSGAbstractRenderer_ClearMode
    },
    {
        sipNameNr_ClearMode,
        {30, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGAbstractRenderer_ClearMode,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSGAbstractRenderer_ClearMode,
    init_type_QSGAbstractRenderer_ClearMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGAbstractRenderer_ClearMode,
    assign_QSGAbstractRenderer_ClearMode,
    array_QSGAbstractRenderer_ClearMode,
    copy_QSGAbstractRenderer_ClearMode,
    release_QSGAbstractRenderer_ClearMode,
    0,
    convertTo_QSGAbstractRenderer_ClearMode,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 25965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 25969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 25972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 25975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 25978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 25981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 25984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 25987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 25999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 26002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 26008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 26014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 26020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 26029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGAbstractRenderer_setDeviceRect, "setDeviceRect(self, QRect)\n"
    "setDeviceRect(self, QSize)");

extern "C" {static PyObject *meth_QSGAbstractRenderer_setDeviceRect(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_setDeviceRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->setDeviceRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QSize* a0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setDeviceRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_setDeviceRect, doc_QSGAbstractRenderer_setDeviceRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_deviceRect, "deviceRect(self) -> QRect");

extern "C" {static PyObject *meth_QSGAbstractRenderer_deviceRect(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_deviceRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->deviceRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_deviceRect, doc_QSGAbstractRenderer_deviceRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_setViewportRect, "setViewportRect(self, QRect)\n"
    "setViewportRect(self, QSize)");

extern "C" {static PyObject *meth_QSGAbstractRenderer_setViewportRect(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_setViewportRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->setViewportRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QSize* a0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setViewportRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_setViewportRect, doc_QSGAbstractRenderer_setViewportRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_viewportRect, "viewportRect(self) -> QRect");

extern "C" {static PyObject *meth_QSGAbstractRenderer_viewportRect(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_viewportRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->viewportRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_viewportRect, doc_QSGAbstractRenderer_viewportRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_setProjectionMatrixToRect, "setProjectionMatrixToRect(self, QRectF)");

extern "C" {static PyObject *meth_QSGAbstractRenderer_setProjectionMatrixToRect(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_setProjectionMatrixToRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setProjectionMatrixToRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_setProjectionMatrixToRect, doc_QSGAbstractRenderer_setProjectionMatrixToRect);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_setProjectionMatrix, "setProjectionMatrix(self, QMatrix4x4)");

extern "C" {static PyObject *meth_QSGAbstractRenderer_setProjectionMatrix(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_setProjectionMatrix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMatrix4x4* a0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QMatrix4x4, &a0))
        {
            sipCpp->setProjectionMatrix(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_setProjectionMatrix, doc_QSGAbstractRenderer_setProjectionMatrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_projectionMatrix, "projectionMatrix(self) -> QMatrix4x4");

extern "C" {static PyObject *meth_QSGAbstractRenderer_projectionMatrix(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_projectionMatrix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp))
        {
             ::QMatrix4x4*sipRes;

            sipRes = new  ::QMatrix4x4(sipCpp->projectionMatrix());

            return sipConvertFromNewType(sipRes,sipType_QMatrix4x4,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_projectionMatrix, doc_QSGAbstractRenderer_projectionMatrix);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_setClearColor, "setClearColor(self, Union[QColor, Qt.GlobalColor])");

extern "C" {static PyObject *meth_QSGAbstractRenderer_setClearColor(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_setClearColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setClearColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_setClearColor, doc_QSGAbstractRenderer_setClearColor);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_clearColor, "clearColor(self) -> QColor");

extern "C" {static PyObject *meth_QSGAbstractRenderer_clearColor(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_clearColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp))
        {
             ::QColor*sipRes;

            sipRes = new  ::QColor(sipCpp->clearColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_clearColor, doc_QSGAbstractRenderer_clearColor);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_setClearMode, "setClearMode(self, Union[QSGAbstractRenderer.ClearMode, QSGAbstractRenderer.ClearModeBit])");

extern "C" {static PyObject *meth_QSGAbstractRenderer_setClearMode(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_setClearMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;
         ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State))
        {
            sipCpp->setClearMode(*a0);
            sipReleaseType(a0,sipType_QSGAbstractRenderer_ClearMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_setClearMode, doc_QSGAbstractRenderer_setClearMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_clearMode, "clearMode(self) -> QSGAbstractRenderer.ClearMode");

extern "C" {static PyObject *meth_QSGAbstractRenderer_clearMode(PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_clearMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSGAbstractRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp))
        {
             ::QSGAbstractRenderer::ClearMode*sipRes;

            sipRes = new  ::QSGAbstractRenderer::ClearMode(sipCpp->clearMode());

            return sipConvertFromNewType(sipRes,sipType_QSGAbstractRenderer_ClearMode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_clearMode, doc_QSGAbstractRenderer_clearMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSGAbstractRenderer_renderScene, "renderScene(self, fboId: int = 0)");

extern "C" {static PyObject *meth_QSGAbstractRenderer_renderScene(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSGAbstractRenderer_renderScene(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::GLuint a0 = 0;
         ::QSGAbstractRenderer *sipCpp;

        static const char *sipKwdList[] = {
            sipName_fboId,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|u", &sipSelf, sipType_QSGAbstractRenderer, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QSGAbstractRenderer, sipName_renderScene);
                return NULL;
            }

            sipCpp->renderScene(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSGAbstractRenderer, sipName_renderScene, doc_QSGAbstractRenderer_renderScene);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSGAbstractRenderer(void *, const sipTypeDef *);}
static void *cast_QSGAbstractRenderer(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSGAbstractRenderer *sipCpp = reinterpret_cast< ::QSGAbstractRenderer *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSGAbstractRenderer(void *, int);}
static void release_QSGAbstractRenderer(void *sipCppV, int)
{
     ::QSGAbstractRenderer *sipCpp = reinterpret_cast< ::QSGAbstractRenderer *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSGAbstractRenderer(sipSimpleWrapper *);}
static void dealloc_QSGAbstractRenderer(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSGAbstractRenderer(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSGAbstractRenderer[] = {{3, 0, 1}};


static PyMethodDef methods_QSGAbstractRenderer[] = {
    {SIP_MLNAME_CAST(sipName_clearColor), meth_QSGAbstractRenderer_clearColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_clearColor)},
    {SIP_MLNAME_CAST(sipName_clearMode), meth_QSGAbstractRenderer_clearMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_clearMode)},
    {SIP_MLNAME_CAST(sipName_deviceRect), meth_QSGAbstractRenderer_deviceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_deviceRect)},
    {SIP_MLNAME_CAST(sipName_projectionMatrix), meth_QSGAbstractRenderer_projectionMatrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_projectionMatrix)},
    {SIP_MLNAME_CAST(sipName_renderScene), (PyCFunction)meth_QSGAbstractRenderer_renderScene, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_renderScene)},
    {SIP_MLNAME_CAST(sipName_setClearColor), meth_QSGAbstractRenderer_setClearColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_setClearColor)},
    {SIP_MLNAME_CAST(sipName_setClearMode), meth_QSGAbstractRenderer_setClearMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_setClearMode)},
    {SIP_MLNAME_CAST(sipName_setDeviceRect), meth_QSGAbstractRenderer_setDeviceRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_setDeviceRect)},
    {SIP_MLNAME_CAST(sipName_setProjectionMatrix), meth_QSGAbstractRenderer_setProjectionMatrix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_setProjectionMatrix)},
    {SIP_MLNAME_CAST(sipName_setProjectionMatrixToRect), meth_QSGAbstractRenderer_setProjectionMatrixToRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_setProjectionMatrixToRect)},
    {SIP_MLNAME_CAST(sipName_setViewportRect), meth_QSGAbstractRenderer_setViewportRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_setViewportRect)},
    {SIP_MLNAME_CAST(sipName_viewportRect), meth_QSGAbstractRenderer_viewportRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QSGAbstractRenderer_viewportRect)}
};

static sipEnumMemberDef enummembers_QSGAbstractRenderer[] = {
    {sipName_ClearColorBuffer, static_cast<int>( ::QSGAbstractRenderer::ClearColorBuffer), 32},
    {sipName_ClearDepthBuffer, static_cast<int>( ::QSGAbstractRenderer::ClearDepthBuffer), 32},
    {sipName_ClearStencilBuffer, static_cast<int>( ::QSGAbstractRenderer::ClearStencilBuffer), 32},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSGAbstractRenderer[] = {
    {"sceneGraphChanged()", "\1sceneGraphChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSGAbstractRenderer = {
    & ::QSGAbstractRenderer::staticMetaObject,
    0,
    signals_QSGAbstractRenderer,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QSGAbstractRenderer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSGAbstractRenderer,
        {0},
        &plugin_QSGAbstractRenderer
    },
    {
        sipNameNr_QSGAbstractRenderer,
        {0, 0, 1},
        12, methods_QSGAbstractRenderer,
        3, enummembers_QSGAbstractRenderer,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QSGAbstractRenderer,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSGAbstractRenderer,
    0,
    0,
    0,
    release_QSGAbstractRenderer,
    cast_QSGAbstractRenderer,
    0,
    0,
    0,
    0,
    0,
    0
};




/* Call the instance's destructor. */
extern "C" {static void release_QQuickCloseEvent(void *, int);}
static void release_QQuickCloseEvent(void *, int)
{
}


static pyqt5ClassPluginDef plugin_QQuickCloseEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickCloseEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickCloseEvent,
        {0},
        &plugin_QQuickCloseEvent
    },
    {
        sipNameNr_QQuickCloseEvent,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QQuickCloseEvent,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 26611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 26615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QQuickWindow_CreateTextureOptions___hash__(PyObject *);}
static long slot_QQuickWindow_CreateTextureOptions___hash__(PyObject *sipSelf)
{
     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QQuickWindow::CreateTextureOptions::Int();
#line 26633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QQuickWindow_CreateTextureOptions___bool__(PyObject *);}
static int slot_QQuickWindow_CreateTextureOptions___bool__(PyObject *sipSelf)
{
     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickWindow::CreateTextureOptions::Int() != 0);
#line 26658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickWindow::CreateTextureOptions::Int() != a0->operator QQuickWindow::CreateTextureOptions::Int());
#line 26688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QQuickWindow::CreateTextureOptions *>(a0),sipType_QQuickWindow_CreateTextureOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QQuickWindow_CreateTextureOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickWindow::CreateTextureOptions::Int() == a0->operator QQuickWindow::CreateTextureOptions::Int());
#line 26724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QQuickWindow::CreateTextureOptions *>(a0),sipType_QQuickWindow_CreateTextureOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QQuickWindow_CreateTextureOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickWindow_CreateTextureOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QQuickWindow::CreateTextureOptions(*sipCpp ^ a0);
#line 26763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State, &a1))
        {
             ::QQuickWindow::CreateTextureOptions*sipRes;

            sipRes = new  ::QQuickWindow::CreateTextureOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QQuickWindow_CreateTextureOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickWindow_CreateTextureOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickWindow_CreateTextureOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QQuickWindow::CreateTextureOptions(*sipCpp | a0);
#line 26835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State, &a1))
        {
             ::QQuickWindow::CreateTextureOptions*sipRes;

            sipRes = new  ::QQuickWindow::CreateTextureOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QQuickWindow_CreateTextureOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickWindow_CreateTextureOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickWindow_CreateTextureOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QQuickWindow::CreateTextureOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State, &a1))
        {
             ::QQuickWindow::CreateTextureOptions*sipRes;

            sipRes = new  ::QQuickWindow::CreateTextureOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QQuickWindow_CreateTextureOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickWindow_CreateTextureOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___invert__(PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___invert__(PyObject *sipSelf)
{
     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QQuickWindow::CreateTextureOptions*sipRes;

            sipRes = new  ::QQuickWindow::CreateTextureOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QQuickWindow_CreateTextureOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QQuickWindow_CreateTextureOptions___int__(PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___int__(PyObject *sipSelf)
{
     ::QQuickWindow::CreateTextureOptions *sipCpp = reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickWindow_CreateTextureOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickWindow_CreateTextureOptions(void *, int);}
static void release_QQuickWindow_CreateTextureOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipCppV);
}


extern "C" {static void assign_QQuickWindow_CreateTextureOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QQuickWindow_CreateTextureOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QQuickWindow::CreateTextureOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QQuickWindow::CreateTextureOptions *>(sipSrc);
}


extern "C" {static void *array_QQuickWindow_CreateTextureOptions(SIP_SSIZE_T);}
static void *array_QQuickWindow_CreateTextureOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QQuickWindow::CreateTextureOptions[sipNrElem];
}


extern "C" {static void *copy_QQuickWindow_CreateTextureOptions(const void *, SIP_SSIZE_T);}
static void *copy_QQuickWindow_CreateTextureOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QQuickWindow::CreateTextureOptions(reinterpret_cast<const  ::QQuickWindow::CreateTextureOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QQuickWindow_CreateTextureOptions(sipSimpleWrapper *);}
static void dealloc_QQuickWindow_CreateTextureOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickWindow_CreateTextureOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QQuickWindow_CreateTextureOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickWindow_CreateTextureOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QQuickWindow::CreateTextureOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QQuickWindow::CreateTextureOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QQuickWindow::CreateTextureOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State))
        {
            sipCpp = new  ::QQuickWindow::CreateTextureOptions(*a0);
            sipReleaseType(const_cast< ::QQuickWindow::CreateTextureOptions *>(a0),sipType_QQuickWindow_CreateTextureOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QQuickWindow_CreateTextureOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QQuickWindow_CreateTextureOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QQuickWindow::CreateTextureOptions **sipCppPtr = reinterpret_cast< ::QQuickWindow::CreateTextureOptions **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QQuickWindow::CreateTextureOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QQuickWindow_CreateTextureOption)) ||
            sipCanConvertToType(sipPy, sipType_QQuickWindow_CreateTextureOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QQuickWindow_CreateTextureOption)))
{
    *sipCppPtr = new QQuickWindow::CreateTextureOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QQuickWindow::CreateTextureOptions *>(sipConvertToType(sipPy, sipType_QQuickWindow_CreateTextureOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 27103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QQuickWindow_CreateTextureOptions[] = {
    {(void *)slot_QQuickWindow_CreateTextureOptions___hash__, hash_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___bool__, bool_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___ne__, ne_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___eq__, eq_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___ixor__, ixor_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___xor__, xor_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___ior__, ior_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___or__, or_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___iand__, iand_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___and__, and_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___invert__, invert_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QQuickWindow_CreateTextureOptions, "\1QQuickWindow.CreateTextureOptions()\n"
    "QQuickWindow.CreateTextureOptions(Union[QQuickWindow.CreateTextureOptions, QQuickWindow.CreateTextureOption])\n"
    "QQuickWindow.CreateTextureOptions(QQuickWindow.CreateTextureOptions)");


static pyqt5ClassPluginDef plugin_QQuickWindow_CreateTextureOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickWindow_CreateTextureOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickWindow__CreateTextureOptions,
        {0},
        &plugin_QQuickWindow_CreateTextureOptions
    },
    {
        sipNameNr_CreateTextureOptions,
        {25, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickWindow_CreateTextureOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QQuickWindow_CreateTextureOptions,
    init_type_QQuickWindow_CreateTextureOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickWindow_CreateTextureOptions,
    assign_QQuickWindow_CreateTextureOptions,
    array_QQuickWindow_CreateTextureOptions,
    copy_QQuickWindow_CreateTextureOptions,
    release_QQuickWindow_CreateTextureOptions,
    0,
    convertTo_QQuickWindow_CreateTextureOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickview.sip"
#include <qquickview.h>
#line 27189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 27193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 59 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 27196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 27214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 27217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlerror.sip"
#include <qqmlerror.h>
#line 27220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 27223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlcontext.sip"
#include <qqmlcontext.h>
#line 27226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 27229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 27232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrectanglenode.sip"
#include <qsgrectanglenode.h>
#line 27235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 27238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 27241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 27244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 46 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 27247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 783 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 27268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 27271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 27274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 27277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 69 "sip/QtQml/qqmlincubator.sip"
#include <qqmlincubator.h>
#line 27280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 27283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 27286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 27292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 27295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 714 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 27307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 27310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 27316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 27319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 27322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 27328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurface.sip"
#include <qsurface.h>
#line 27331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 27334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 27343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 27349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 27352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 27361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickView : public  ::QQuickView
{
public:
    sipQQuickView( ::QWindow*);
    sipQQuickView( ::QQmlEngine*, ::QWindow*);
    sipQQuickView(const  ::QUrl&, ::QWindow*);
    virtual ~sipQQuickView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    void sipProtectVirt_moveEvent(bool, ::QMoveEvent*);
    void sipProtectVirt_touchEvent(bool, ::QTouchEvent*);
    void sipProtectVirt_tabletEvent(bool, ::QTabletEvent*);
    void sipProtectVirt_exposeEvent(bool, ::QExposeEvent*);
    void sipProtectVirt_showEvent(bool, ::QShowEvent*);
    void sipProtectVirt_hideEvent(bool, ::QHideEvent*);
    void sipProtectVirt_focusInEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool, ::QFocusEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool, ::QWheelEvent*);
    void sipProtectVirt_resizeEvent(bool, ::QResizeEvent*);
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_keyPressEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool, ::QMouseEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void tabletEvent( ::QTabletEvent*);
    void touchEvent( ::QTouchEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void exposeEvent( ::QExposeEvent*);
     ::QObject* focusObject() const;
     ::QSurfaceFormat format() const;
     ::QSurface::SurfaceType surfaceType() const;
     ::QSize size() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickView(const sipQQuickView &);
    sipQQuickView &operator = (const sipQQuickView &);

    char sipPyMethods[27];
};

sipQQuickView::sipQQuickView( ::QWindow*a0):  ::QQuickView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickView::sipQQuickView( ::QQmlEngine*a0, ::QWindow*a1):  ::QQuickView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickView::sipQQuickView(const  ::QUrl& a0, ::QWindow*a1):  ::QQuickView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickView::~sipQQuickView()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickView);

    return  ::QQuickView::metaObject();
}

int sipQQuickView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickView,_c,_id,_a);

    return _id;
}

void *sipQQuickView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickView, _clname, &sipCpp) ? sipCpp :  ::QQuickView::qt_metacast(_clname));
}

void sipQQuickView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QQuickView::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtQuick_43(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::touchEvent( ::QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_touchEvent);

    if (!sipMeth)
    {
         ::QQuickView::touchEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTouchEvent*);

    sipVH_QtQuick_17(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QQuickView::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtQuick_16(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QQuickView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QQuickView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QQuickView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QQuickView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QQuickView::hideEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtQuick_44(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QQuickView::showEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtQuick_45(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QQuickView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QQuickView::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QQuickView::moveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtQuick_46(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QQuickView::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtQuick_47(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::exposeEvent( ::QExposeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_exposeEvent);

    if (!sipMeth)
    {
         ::QQuickView::exposeEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QExposeEvent*);

    sipVH_QtQuick_48(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickView::focusObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_focusObject);

    if (!sipMeth)
        return  ::QQuickView::focusObject();

    extern  ::QObject* sipVH_QtQuick_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_49(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSurfaceFormat sipQQuickView::format() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_format);

    if (!sipMeth)
        return  ::QQuickView::format();

    extern  ::QSurfaceFormat sipVH_QtQuick_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_50(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSurface::SurfaceType sipQQuickView::surfaceType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_surfaceType);

    if (!sipMeth)
        return  ::QQuickView::surfaceType();

    extern  ::QSurface::SurfaceType sipVH_QtQuick_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_51(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQQuickView::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QQuickView::size();

    extern  ::QSize sipVH_QtQuick_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_30(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQQuickView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickView::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickView::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickView::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickView::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickView::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickView::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickView::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickView::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickView::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickView::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickView::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickView::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQQuickView::sipProtectVirt_moveEvent(bool sipSelfWasArg, ::QMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QWindow::moveEvent(a0) : moveEvent(a0));
}

void sipQQuickView::sipProtectVirt_touchEvent(bool sipSelfWasArg, ::QTouchEvent*a0)
{
    (sipSelfWasArg ?  ::QWindow::touchEvent(a0) : touchEvent(a0));
}

void sipQQuickView::sipProtectVirt_tabletEvent(bool sipSelfWasArg, ::QTabletEvent*a0)
{
    (sipSelfWasArg ?  ::QWindow::tabletEvent(a0) : tabletEvent(a0));
}

void sipQQuickView::sipProtectVirt_exposeEvent(bool sipSelfWasArg, ::QExposeEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::exposeEvent(a0) : exposeEvent(a0));
}

void sipQQuickView::sipProtectVirt_showEvent(bool sipSelfWasArg, ::QShowEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::showEvent(a0) : showEvent(a0));
}

void sipQQuickView::sipProtectVirt_hideEvent(bool sipSelfWasArg, ::QHideEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::hideEvent(a0) : hideEvent(a0));
}

void sipQQuickView::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::focusInEvent(a0) : focusInEvent(a0));
}

void sipQQuickView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipQQuickView::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QQuickWindow::event(a0) : event(a0));
}

void sipQQuickView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQQuickView::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::wheelEvent(a0) : wheelEvent(a0));
}

void sipQQuickView::sipProtectVirt_resizeEvent(bool sipSelfWasArg, ::QResizeEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQQuickView::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickView::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQQuickView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickView::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQQuickView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQQuickView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQQuickView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}


PyDoc_STRVAR(doc_QQuickView_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 28140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_sender, doc_QQuickView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 28200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_receivers, doc_QQuickView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_childEvent, doc_QQuickView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_customEvent, doc_QQuickView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_connectNotify, doc_QQuickView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_disconnectNotify, doc_QQuickView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_senderSignalIndex, doc_QQuickView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_isSignalConnected, doc_QQuickView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_moveEvent, "moveEvent(self, QMoveEvent)");

extern "C" {static PyObject *meth_QQuickView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMoveEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_moveEvent, doc_QQuickView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_touchEvent, "touchEvent(self, QTouchEvent)");

extern "C" {static PyObject *meth_QQuickView_touchEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_touchEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTouchEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QTouchEvent, &a0))
        {
            sipCpp->sipProtectVirt_touchEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_touchEvent, doc_QQuickView_touchEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_tabletEvent, "tabletEvent(self, QTabletEvent)");

extern "C" {static PyObject *meth_QQuickView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTabletEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_tabletEvent, doc_QQuickView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_exposeEvent, "exposeEvent(self, QExposeEvent)");

extern "C" {static PyObject *meth_QQuickView_exposeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_exposeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QExposeEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QExposeEvent, &a0))
        {
            sipCpp->sipProtectVirt_exposeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_exposeEvent, doc_QQuickView_exposeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_showEvent, "showEvent(self, QShowEvent)");

extern "C" {static PyObject *meth_QQuickView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_showEvent, doc_QQuickView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_hideEvent, "hideEvent(self, QHideEvent)");

extern "C" {static PyObject *meth_QQuickView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHideEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_hideEvent, doc_QQuickView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_focusInEvent, "focusInEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_focusInEvent, doc_QQuickView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_focusOutEvent, doc_QQuickView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_event, doc_QQuickView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_mouseDoubleClickEvent, doc_QQuickView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_wheelEvent, "wheelEvent(self, QWheelEvent)");

extern "C" {static PyObject *meth_QQuickView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_wheelEvent, doc_QQuickView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_source, "source(self) -> QUrl");

extern "C" {static PyObject *meth_QQuickView_source(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_source(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->source());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_source, doc_QQuickView_source);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_engine, "engine(self) -> QQmlEngine");

extern "C" {static PyObject *meth_QQuickView_engine(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_engine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QQmlEngine*sipRes;

            sipRes = sipCpp->engine();

            return sipConvertFromType(sipRes,sipType_QQmlEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_engine, doc_QQuickView_engine);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_rootContext, "rootContext(self) -> QQmlContext");

extern "C" {static PyObject *meth_QQuickView_rootContext(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_rootContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QQmlContext*sipRes;

            sipRes = sipCpp->rootContext();

            return sipConvertFromType(sipRes,sipType_QQmlContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_rootContext, doc_QQuickView_rootContext);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_rootObject, "rootObject(self) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickView_rootObject(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_rootObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->rootObject();

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_rootObject, doc_QQuickView_rootObject);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_resizeMode, "resizeMode(self) -> QQuickView.ResizeMode");

extern "C" {static PyObject *meth_QQuickView_resizeMode(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_resizeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QQuickView::ResizeMode sipRes;

            sipRes = sipCpp->resizeMode();

            return sipConvertFromEnum(sipRes,sipType_QQuickView_ResizeMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_resizeMode, doc_QQuickView_resizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_setResizeMode, "setResizeMode(self, QQuickView.ResizeMode)");

extern "C" {static PyObject *meth_QQuickView_setResizeMode(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_setResizeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickView::ResizeMode a0;
         ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QQuickView_ResizeMode, &a0))
        {
            sipCpp->setResizeMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_setResizeMode, doc_QQuickView_setResizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_status, "status(self) -> QQuickView.Status");

extern "C" {static PyObject *meth_QQuickView_status(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QQuickView::Status sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QQuickView_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_status, doc_QQuickView_status);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_errors, "errors(self) -> List[QQmlError]");

extern "C" {static PyObject *meth_QQuickView_errors(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_errors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
            QList< ::QQmlError>*sipRes;

            sipRes = new QList< ::QQmlError>(sipCpp->errors());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QQmlError,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_errors, doc_QQuickView_errors);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_initialSize, "initialSize(self) -> QSize");

extern "C" {static PyObject *meth_QQuickView_initialSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_initialSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickView, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->initialSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_initialSize, doc_QQuickView_initialSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_setSource, "setSource(self, QUrl)");

extern "C" {static PyObject *meth_QQuickView_setSource(PyObject *, PyObject *);}
static PyObject *meth_QQuickView_setSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;
         ::QQuickView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSource(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_setSource, doc_QQuickView_setSource);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_resizeEvent, "resizeEvent(self, QResizeEvent)");

extern "C" {static PyObject *meth_QQuickView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_resizeEvent, doc_QQuickView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_timerEvent, doc_QQuickView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_keyPressEvent, doc_QQuickView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_keyReleaseEvent, doc_QQuickView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_mousePressEvent, doc_QQuickView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_mouseReleaseEvent, doc_QQuickView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickView_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickView, sipName_mouseMoveEvent, doc_QQuickView_mouseMoveEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickView(void *, const sipTypeDef *);}
static void *cast_QQuickView(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickView *sipCpp = reinterpret_cast< ::QQuickView *>(sipCppV);

    if (targetType == sipType_QQuickWindow)
        return static_cast< ::QQuickWindow *>(sipCpp);

    if (targetType == sipType_QWindow)
        return static_cast< ::QWindow *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QSurface)
        return static_cast< ::QSurface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickView(void *, int);}
static void release_QQuickView(void *sipCppV, int)
{
     ::QQuickView *sipCpp = reinterpret_cast< ::QQuickView *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QQuickView(sipSimpleWrapper *);}
static void dealloc_QQuickView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuickView *sipCpp = 0;

    {
         ::QWindow* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWindow, &a0, sipOwner))
        {
            sipCpp = new sipQQuickView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QQmlEngine* a0;
         ::QWindow* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8JH", sipType_QQmlEngine, &a0, sipType_QWindow, &a1, sipOwner))
        {
            sipCpp = new sipQQuickView(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QUrl* a0;
         ::QWindow* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QUrl, &a0, sipType_QWindow, &a1, sipOwner))
        {
            sipCpp = new sipQQuickView(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickView[] = {{25, 255, 1}};


static PyMethodDef methods_QQuickView[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_engine), meth_QQuickView_engine, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_engine)},
    {SIP_MLNAME_CAST(sipName_errors), meth_QQuickView_errors, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_errors)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QQuickView_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_exposeEvent), (PyCFunction)meth_QQuickView_exposeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QQuickView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QQuickView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QQuickView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initialSize), meth_QQuickView_initialSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_initialSize)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QQuickView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickView_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QQuickView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickView_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QQuickView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QQuickView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickView_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QQuickView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickView_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QQuickView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickView_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QQuickView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QQuickView_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickView_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_resizeMode), meth_QQuickView_resizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_resizeMode)},
    {SIP_MLNAME_CAST(sipName_rootContext), meth_QQuickView_rootContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_rootContext)},
    {SIP_MLNAME_CAST(sipName_rootObject), meth_QQuickView_rootObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_rootObject)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setResizeMode), meth_QQuickView_setResizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_setResizeMode)},
    {SIP_MLNAME_CAST(sipName_setSource), meth_QQuickView_setSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_setSource)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QQuickView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_source), meth_QQuickView_source, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_source)},
    {SIP_MLNAME_CAST(sipName_status), meth_QQuickView_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickView_status)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QQuickView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickView_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickView_timerEvent)},
    {SIP_MLNAME_CAST(sipName_touchEvent), (PyCFunction)meth_QQuickView_touchEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QQuickView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QQuickView[] = {
    {sipName_Error, static_cast<int>( ::QQuickView::Error), 24},
    {sipName_Loading, static_cast<int>( ::QQuickView::Loading), 24},
    {sipName_Null, static_cast<int>( ::QQuickView::Null), 24},
    {sipName_Ready, static_cast<int>( ::QQuickView::Ready), 24},
    {sipName_SizeRootObjectToView, static_cast<int>( ::QQuickView::SizeRootObjectToView), 23},
    {sipName_SizeViewToRootObject, static_cast<int>( ::QQuickView::SizeViewToRootObject), 23},
};

PyDoc_STRVAR(doc_QQuickView, "\1QQuickView(parent: QWindow = None)\n"
    "QQuickView(QQmlEngine, QWindow)\n"
    "QQuickView(QUrl, parent: QWindow = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickView[] = {
    {"statusChanged(QQuickView::Status)", "\1statusChanged(self, QQuickView.Status)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickView = {
    & ::QQuickView::staticMetaObject,
    0,
    signals_QQuickView,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickView,
        {0},
        &plugin_QQuickView
    },
    {
        sipNameNr_QQuickView,
        {0, 0, 1},
        36, methods_QQuickView,
        6, enummembers_QQuickView,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickView,
    -1,
    -1,
    supers_QQuickView,
    0,
    init_type_QQuickView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickView,
    0,
    0,
    0,
    release_QQuickView,
    cast_QQuickView,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 29434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 29438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 29441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgimagenode.sip"
#include <qsgimagenode.h>
#line 29444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrectanglenode.sip"
#include <qsgrectanglenode.h>
#line 29447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgrendererinterface.sip"
#include <qsgrendererinterface.h>
#line 29450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 29453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 46 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 29456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 783 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 29486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 29489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 29492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 29495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 29498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 69 "sip/QtQml/qqmlincubator.sip"
#include <qqmlincubator.h>
#line 29501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 29504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 29507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 29516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 29519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 714 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 29528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 29531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 29534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 29537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 29540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 29543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 29546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 29552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurface.sip"
#include <qsurface.h>
#line 29555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 29558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 29579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 29588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickWindow : public  ::QQuickWindow
{
public:
    sipQQuickWindow( ::QWindow*);
    virtual ~sipQQuickWindow();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    void sipProtectVirt_moveEvent(bool, ::QMoveEvent*);
    void sipProtectVirt_touchEvent(bool, ::QTouchEvent*);
    void sipProtectVirt_tabletEvent(bool, ::QTabletEvent*);
    void sipProtectVirt_exposeEvent(bool, ::QExposeEvent*);
    void sipProtectVirt_resizeEvent(bool, ::QResizeEvent*);
    void sipProtectVirt_showEvent(bool, ::QShowEvent*);
    void sipProtectVirt_hideEvent(bool, ::QHideEvent*);
    void sipProtectVirt_focusInEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool, ::QFocusEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_keyPressEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool, ::QWheelEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::QSize size() const;
     ::QSurface::SurfaceType surfaceType() const;
     ::QSurfaceFormat format() const;
     ::QObject* focusObject() const;
    void exposeEvent( ::QExposeEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void touchEvent( ::QTouchEvent*);
    void tabletEvent( ::QTabletEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickWindow(const sipQQuickWindow &);
    sipQQuickWindow &operator = (const sipQQuickWindow &);

    char sipPyMethods[27];
};

sipQQuickWindow::sipQQuickWindow( ::QWindow*a0):  ::QQuickWindow(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickWindow::~sipQQuickWindow()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickWindow::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickWindow);

    return  ::QQuickWindow::metaObject();
}

int sipQQuickWindow::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickWindow::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickWindow,_c,_id,_a);

    return _id;
}

void *sipQQuickWindow::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickWindow, _clname, &sipCpp) ? sipCpp :  ::QQuickWindow::qt_metacast(_clname));
}

void sipQQuickWindow::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickWindow::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickWindow::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickWindow::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickWindow::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQQuickWindow::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickWindow::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQQuickWindow::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QQuickWindow::size();

    extern  ::QSize sipVH_QtQuick_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_30(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSurface::SurfaceType sipQQuickWindow::surfaceType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_surfaceType);

    if (!sipMeth)
        return  ::QQuickWindow::surfaceType();

    extern  ::QSurface::SurfaceType sipVH_QtQuick_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_51(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSurfaceFormat sipQQuickWindow::format() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_format);

    if (!sipMeth)
        return  ::QQuickWindow::format();

    extern  ::QSurfaceFormat sipVH_QtQuick_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_50(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QObject* sipQQuickWindow::focusObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_focusObject);

    if (!sipMeth)
        return  ::QQuickWindow::focusObject();

    extern  ::QObject* sipVH_QtQuick_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_49(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickWindow::exposeEvent( ::QExposeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_exposeEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::exposeEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QExposeEvent*);

    sipVH_QtQuick_48(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtQuick_47(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::moveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtQuick_46(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::showEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtQuick_45(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::hideEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtQuick_44(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtQuick_16(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::touchEvent( ::QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_touchEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::touchEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTouchEvent*);

    sipVH_QtQuick_17(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QQuickWindow::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtQuick_43(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickWindow::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickWindow::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickWindow::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickWindow::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickWindow::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickWindow::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQQuickWindow::sipProtectVirt_moveEvent(bool sipSelfWasArg, ::QMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QWindow::moveEvent(a0) : moveEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_touchEvent(bool sipSelfWasArg, ::QTouchEvent*a0)
{
    (sipSelfWasArg ?  ::QWindow::touchEvent(a0) : touchEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_tabletEvent(bool sipSelfWasArg, ::QTabletEvent*a0)
{
    (sipSelfWasArg ?  ::QWindow::tabletEvent(a0) : tabletEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_exposeEvent(bool sipSelfWasArg, ::QExposeEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::exposeEvent(a0) : exposeEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_resizeEvent(bool sipSelfWasArg, ::QResizeEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::resizeEvent(a0) : resizeEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_showEvent(bool sipSelfWasArg, ::QShowEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::showEvent(a0) : showEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_hideEvent(bool sipSelfWasArg, ::QHideEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::hideEvent(a0) : hideEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::focusInEvent(a0) : focusInEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipQQuickWindow::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QQuickWindow::event(a0) : event(a0));
}

void sipQQuickWindow::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQQuickWindow::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickWindow::wheelEvent(a0) : wheelEvent(a0));
}


PyDoc_STRVAR(doc_QQuickWindow_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickWindow_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 30355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_sender, doc_QQuickWindow_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickWindow_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickWindow, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 30415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_receivers, doc_QQuickWindow_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickWindow_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_timerEvent, doc_QQuickWindow_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickWindow_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_childEvent, doc_QQuickWindow_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickWindow_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_customEvent, doc_QQuickWindow_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickWindow_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_connectNotify, doc_QQuickWindow_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickWindow_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_disconnectNotify, doc_QQuickWindow_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickWindow_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_senderSignalIndex, doc_QQuickWindow_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickWindow_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_isSignalConnected, doc_QQuickWindow_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_moveEvent, "moveEvent(self, QMoveEvent)");

extern "C" {static PyObject *meth_QQuickWindow_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMoveEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_moveEvent, doc_QQuickWindow_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_touchEvent, "touchEvent(self, QTouchEvent)");

extern "C" {static PyObject *meth_QQuickWindow_touchEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_touchEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTouchEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QTouchEvent, &a0))
        {
            sipCpp->sipProtectVirt_touchEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_touchEvent, doc_QQuickWindow_touchEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_tabletEvent, "tabletEvent(self, QTabletEvent)");

extern "C" {static PyObject *meth_QQuickWindow_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTabletEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_tabletEvent, doc_QQuickWindow_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_contentItem, "contentItem(self) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickWindow_contentItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_contentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->contentItem();

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_contentItem, doc_QQuickWindow_contentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_activeFocusItem, "activeFocusItem(self) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickWindow_activeFocusItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_activeFocusItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->activeFocusItem();

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_activeFocusItem, doc_QQuickWindow_activeFocusItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_focusObject, "focusObject(self) -> QObject");

extern "C" {static PyObject *meth_QQuickWindow_focusObject(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_focusObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickWindow::focusObject() : sipCpp->focusObject());

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_focusObject, doc_QQuickWindow_focusObject);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_mouseGrabberItem, "mouseGrabberItem(self) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickWindow_mouseGrabberItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_mouseGrabberItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->mouseGrabberItem();

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_mouseGrabberItem, doc_QQuickWindow_mouseGrabberItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_sendEvent, "sendEvent(self, QQuickItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickWindow_sendEvent(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_sendEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem* a0;
         ::QEvent* a1;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QQuickItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sendEvent(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_sendEvent, doc_QQuickWindow_sendEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_grabWindow, "grabWindow(self) -> QImage");

extern "C" {static PyObject *meth_QQuickWindow_grabWindow(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_grabWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QImage(sipCpp->grabWindow());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_grabWindow, doc_QQuickWindow_grabWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_setRenderTarget, "setRenderTarget(self, QOpenGLFramebufferObject)\n"
    "setRenderTarget(self, int, QSize)");

extern "C" {static PyObject *meth_QQuickWindow_setRenderTarget(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_setRenderTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QOpenGLFramebufferObject* a0;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QOpenGLFramebufferObject, &a0))
        {
            sipCpp->setRenderTarget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::uint a0;
        const  ::QSize* a1;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BuJ9", &sipSelf, sipType_QQuickWindow, &sipCpp, &a0, sipType_QSize, &a1))
        {
            sipCpp->setRenderTarget(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_setRenderTarget, doc_QQuickWindow_setRenderTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_renderTarget, "renderTarget(self) -> QOpenGLFramebufferObject");

extern "C" {static PyObject *meth_QQuickWindow_renderTarget(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_renderTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QOpenGLFramebufferObject*sipRes;

            sipRes = sipCpp->renderTarget();

            return sipConvertFromType(sipRes,sipType_QOpenGLFramebufferObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_renderTarget, doc_QQuickWindow_renderTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_renderTargetId, "renderTargetId(self) -> int");

extern "C" {static PyObject *meth_QQuickWindow_renderTargetId(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_renderTargetId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::uint sipRes;

            sipRes = sipCpp->renderTargetId();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_renderTargetId, doc_QQuickWindow_renderTargetId);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_renderTargetSize, "renderTargetSize(self) -> QSize");

extern "C" {static PyObject *meth_QQuickWindow_renderTargetSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_renderTargetSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->renderTargetSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_renderTargetSize, doc_QQuickWindow_renderTargetSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_incubationController, "incubationController(self) -> QQmlIncubationController");

extern "C" {static PyObject *meth_QQuickWindow_incubationController(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_incubationController(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QQmlIncubationController*sipRes;

            sipRes = sipCpp->incubationController();

            return sipConvertFromType(sipRes,sipType_QQmlIncubationController,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_incubationController, doc_QQuickWindow_incubationController);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_createTextureFromImage, "createTextureFromImage(self, QImage) -> QSGTexture\n"
    "createTextureFromImage(self, QImage, Union[QQuickWindow.CreateTextureOptions, QQuickWindow.CreateTextureOption]) -> QSGTexture");

extern "C" {static PyObject *meth_QQuickWindow_createTextureFromImage(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_createTextureFromImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImage* a0;
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QImage, &a0))
        {
             ::QSGTexture*sipRes;

            sipRes = sipCpp->createTextureFromImage(*a0);

            return sipConvertFromNewType(sipRes,sipType_QSGTexture,NULL);
        }
    }

    {
        const  ::QImage* a0;
         ::QQuickWindow::CreateTextureOptions* a1;
        int a1State = 0;
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QImage, &a0, sipType_QQuickWindow_CreateTextureOptions, &a1, &a1State))
        {
             ::QSGTexture*sipRes;

            sipRes = sipCpp->createTextureFromImage(*a0,*a1);
            sipReleaseType(a1,sipType_QQuickWindow_CreateTextureOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QSGTexture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_createTextureFromImage, doc_QQuickWindow_createTextureFromImage);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_createTextureFromId, "createTextureFromId(self, int, QSize, options: Union[QQuickWindow.CreateTextureOptions, QQuickWindow.CreateTextureOption] = QQuickWindow.CreateTextureOption(0)) -> QSGTexture");

extern "C" {static PyObject *meth_QQuickWindow_createTextureFromId(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_createTextureFromId(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
        const  ::QSize* a1;
         ::QQuickWindow::CreateTextureOptions a2def = QQuickWindow::CreateTextureOption(0);
         ::QQuickWindow::CreateTextureOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QQuickWindow *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BuJ9|J1", &sipSelf, sipType_QQuickWindow, &sipCpp, &a0, sipType_QSize, &a1, sipType_QQuickWindow_CreateTextureOptions, &a2, &a2State))
        {
             ::QSGTexture*sipRes;

            sipRes = sipCpp->createTextureFromId(a0,*a1,*a2);
            sipReleaseType(a2,sipType_QQuickWindow_CreateTextureOptions,a2State);

            return sipConvertFromNewType(sipRes,sipType_QSGTexture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_createTextureFromId, doc_QQuickWindow_createTextureFromId);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_setClearBeforeRendering, "setClearBeforeRendering(self, bool)");

extern "C" {static PyObject *meth_QQuickWindow_setClearBeforeRendering(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_setClearBeforeRendering(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickWindow, &sipCpp, &a0))
        {
            sipCpp->setClearBeforeRendering(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_setClearBeforeRendering, doc_QQuickWindow_setClearBeforeRendering);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_clearBeforeRendering, "clearBeforeRendering(self) -> bool");

extern "C" {static PyObject *meth_QQuickWindow_clearBeforeRendering(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_clearBeforeRendering(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->clearBeforeRendering();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_clearBeforeRendering, doc_QQuickWindow_clearBeforeRendering);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_setColor, "setColor(self, Union[QColor, Qt.GlobalColor])");

extern "C" {static PyObject *meth_QQuickWindow_setColor(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_setColor, doc_QQuickWindow_setColor);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_color, "color(self) -> QColor");

extern "C" {static PyObject *meth_QQuickWindow_color(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QColor*sipRes;

            sipRes = new  ::QColor(sipCpp->color());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_color, doc_QQuickWindow_color);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_setPersistentOpenGLContext, "setPersistentOpenGLContext(self, bool)");

extern "C" {static PyObject *meth_QQuickWindow_setPersistentOpenGLContext(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_setPersistentOpenGLContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickWindow, &sipCpp, &a0))
        {
            sipCpp->setPersistentOpenGLContext(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_setPersistentOpenGLContext, doc_QQuickWindow_setPersistentOpenGLContext);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_isPersistentOpenGLContext, "isPersistentOpenGLContext(self) -> bool");

extern "C" {static PyObject *meth_QQuickWindow_isPersistentOpenGLContext(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_isPersistentOpenGLContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isPersistentOpenGLContext();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_isPersistentOpenGLContext, doc_QQuickWindow_isPersistentOpenGLContext);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_setPersistentSceneGraph, "setPersistentSceneGraph(self, bool)");

extern "C" {static PyObject *meth_QQuickWindow_setPersistentSceneGraph(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_setPersistentSceneGraph(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickWindow, &sipCpp, &a0))
        {
            sipCpp->setPersistentSceneGraph(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_setPersistentSceneGraph, doc_QQuickWindow_setPersistentSceneGraph);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_isPersistentSceneGraph, "isPersistentSceneGraph(self) -> bool");

extern "C" {static PyObject *meth_QQuickWindow_isPersistentSceneGraph(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_isPersistentSceneGraph(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isPersistentSceneGraph();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_isPersistentSceneGraph, doc_QQuickWindow_isPersistentSceneGraph);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_openglContext, "openglContext(self) -> QOpenGLContext");

extern "C" {static PyObject *meth_QQuickWindow_openglContext(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_openglContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QOpenGLContext*sipRes;

            sipRes = sipCpp->openglContext();

            return sipConvertFromType(sipRes,sipType_QOpenGLContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_openglContext, doc_QQuickWindow_openglContext);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_update, "update(self)");

extern "C" {static PyObject *meth_QQuickWindow_update(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            sipCpp->update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_update, doc_QQuickWindow_update);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_releaseResources, "releaseResources(self)");

extern "C" {static PyObject *meth_QQuickWindow_releaseResources(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_releaseResources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            sipCpp->releaseResources();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_releaseResources, doc_QQuickWindow_releaseResources);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_exposeEvent, "exposeEvent(self, QExposeEvent)");

extern "C" {static PyObject *meth_QQuickWindow_exposeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_exposeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QExposeEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QExposeEvent, &a0))
        {
            sipCpp->sipProtectVirt_exposeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_exposeEvent, doc_QQuickWindow_exposeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_resizeEvent, "resizeEvent(self, QResizeEvent)");

extern "C" {static PyObject *meth_QQuickWindow_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_resizeEvent, doc_QQuickWindow_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_showEvent, "showEvent(self, QShowEvent)");

extern "C" {static PyObject *meth_QQuickWindow_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_showEvent, doc_QQuickWindow_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_hideEvent, "hideEvent(self, QHideEvent)");

extern "C" {static PyObject *meth_QQuickWindow_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHideEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_hideEvent, doc_QQuickWindow_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_focusInEvent, "focusInEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickWindow_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_focusInEvent, doc_QQuickWindow_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickWindow_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_focusOutEvent, doc_QQuickWindow_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickWindow_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_event, doc_QQuickWindow_event);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickWindow_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_keyPressEvent, doc_QQuickWindow_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickWindow_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_keyReleaseEvent, doc_QQuickWindow_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickWindow_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_mousePressEvent, doc_QQuickWindow_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickWindow_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_mouseReleaseEvent, doc_QQuickWindow_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickWindow_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_mouseDoubleClickEvent, doc_QQuickWindow_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickWindow_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_mouseMoveEvent, doc_QQuickWindow_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_wheelEvent, "wheelEvent(self, QWheelEvent)");

extern "C" {static PyObject *meth_QQuickWindow_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
        sipQQuickWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_wheelEvent, doc_QQuickWindow_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_hasDefaultAlphaBuffer, "hasDefaultAlphaBuffer() -> bool");

extern "C" {static PyObject *meth_QQuickWindow_hasDefaultAlphaBuffer(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_hasDefaultAlphaBuffer(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QQuickWindow::hasDefaultAlphaBuffer();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_hasDefaultAlphaBuffer, doc_QQuickWindow_hasDefaultAlphaBuffer);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_setDefaultAlphaBuffer, "setDefaultAlphaBuffer(bool)");

extern "C" {static PyObject *meth_QQuickWindow_setDefaultAlphaBuffer(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_setDefaultAlphaBuffer(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
             ::QQuickWindow::setDefaultAlphaBuffer(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_setDefaultAlphaBuffer, doc_QQuickWindow_setDefaultAlphaBuffer);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_resetOpenGLState, "resetOpenGLState(self)");

extern "C" {static PyObject *meth_QQuickWindow_resetOpenGLState(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_resetOpenGLState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            sipCpp->resetOpenGLState();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_resetOpenGLState, doc_QQuickWindow_resetOpenGLState);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_scheduleRenderJob, "scheduleRenderJob(self, QRunnable, QQuickWindow.RenderStage)");

extern "C" {static PyObject *meth_QQuickWindow_scheduleRenderJob(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_scheduleRenderJob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRunnable* a0;
         ::QQuickWindow::RenderStage a1;
         ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:E", &sipSelf, sipType_QQuickWindow, &sipCpp, sipType_QRunnable, &a0, sipType_QQuickWindow_RenderStage, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->scheduleRenderJob(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_scheduleRenderJob, doc_QQuickWindow_scheduleRenderJob);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_effectiveDevicePixelRatio, "effectiveDevicePixelRatio(self) -> float");

extern "C" {static PyObject *meth_QQuickWindow_effectiveDevicePixelRatio(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_effectiveDevicePixelRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->effectiveDevicePixelRatio();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_effectiveDevicePixelRatio, doc_QQuickWindow_effectiveDevicePixelRatio);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_isSceneGraphInitialized, "isSceneGraphInitialized(self) -> bool");

extern "C" {static PyObject *meth_QQuickWindow_isSceneGraphInitialized(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_isSceneGraphInitialized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSceneGraphInitialized();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_isSceneGraphInitialized, doc_QQuickWindow_isSceneGraphInitialized);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_rendererInterface, "rendererInterface(self) -> QSGRendererInterface");

extern "C" {static PyObject *meth_QQuickWindow_rendererInterface(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_rendererInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QSGRendererInterface*sipRes;

            sipRes = sipCpp->rendererInterface();

            return sipConvertFromType(sipRes,sipType_QSGRendererInterface,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_rendererInterface, doc_QQuickWindow_rendererInterface);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_setSceneGraphBackend, "setSceneGraphBackend(QSGRendererInterface.GraphicsApi)\n"
    "setSceneGraphBackend(str)");

extern "C" {static PyObject *meth_QQuickWindow_setSceneGraphBackend(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_setSceneGraphBackend(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSGRendererInterface::GraphicsApi a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QSGRendererInterface_GraphicsApi, &a0))
        {
             ::QQuickWindow::setSceneGraphBackend(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QQuickWindow::setSceneGraphBackend(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_setSceneGraphBackend, doc_QQuickWindow_setSceneGraphBackend);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_createRectangleNode, "createRectangleNode(self) -> QSGRectangleNode");

extern "C" {static PyObject *meth_QQuickWindow_createRectangleNode(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_createRectangleNode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QSGRectangleNode*sipRes;

            sipRes = sipCpp->createRectangleNode();

            return sipConvertFromNewType(sipRes,sipType_QSGRectangleNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_createRectangleNode, doc_QQuickWindow_createRectangleNode);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_createImageNode, "createImageNode(self) -> QSGImageNode");

extern "C" {static PyObject *meth_QQuickWindow_createImageNode(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_createImageNode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickWindow, &sipCpp))
        {
             ::QSGImageNode*sipRes;

            sipRes = sipCpp->createImageNode();

            return sipConvertFromNewType(sipRes,sipType_QSGImageNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_createImageNode, doc_QQuickWindow_createImageNode);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickWindow_sceneGraphBackend, "sceneGraphBackend() -> str");

extern "C" {static PyObject *meth_QQuickWindow_sceneGraphBackend(PyObject *, PyObject *);}
static PyObject *meth_QQuickWindow_sceneGraphBackend(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QQuickWindow::sceneGraphBackend());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickWindow, sipName_sceneGraphBackend, doc_QQuickWindow_sceneGraphBackend);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickWindow(void *, const sipTypeDef *);}
static void *cast_QQuickWindow(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickWindow *sipCpp = reinterpret_cast< ::QQuickWindow *>(sipCppV);

    if (targetType == sipType_QWindow)
        return static_cast< ::QWindow *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QSurface)
        return static_cast< ::QSurface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickWindow(void *, int);}
static void release_QQuickWindow(void *sipCppV, int)
{
     ::QQuickWindow *sipCpp = reinterpret_cast< ::QQuickWindow *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QQuickWindow(sipSimpleWrapper *);}
static void dealloc_QQuickWindow(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickWindow *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickWindow(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickWindow(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickWindow(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuickWindow *sipCpp = 0;

    {
         ::QWindow* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWindow, &a0, sipOwner))
        {
            sipCpp = new sipQQuickWindow(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickWindow[] = {{32, 3, 1}};


static PyMethodDef methods_QQuickWindow[] = {
    {SIP_MLNAME_CAST(sipName_activeFocusItem), meth_QQuickWindow_activeFocusItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_activeFocusItem)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickWindow_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearBeforeRendering), meth_QQuickWindow_clearBeforeRendering, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_clearBeforeRendering)},
    {SIP_MLNAME_CAST(sipName_color), meth_QQuickWindow_color, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_color)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickWindow_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contentItem), meth_QQuickWindow_contentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_contentItem)},
    {SIP_MLNAME_CAST(sipName_createImageNode), meth_QQuickWindow_createImageNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_createImageNode)},
    {SIP_MLNAME_CAST(sipName_createRectangleNode), meth_QQuickWindow_createRectangleNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_createRectangleNode)},
    {SIP_MLNAME_CAST(sipName_createTextureFromId), (PyCFunction)meth_QQuickWindow_createTextureFromId, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_createTextureFromId)},
    {SIP_MLNAME_CAST(sipName_createTextureFromImage), meth_QQuickWindow_createTextureFromImage, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_createTextureFromImage)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickWindow_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickWindow_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_effectiveDevicePixelRatio), meth_QQuickWindow_effectiveDevicePixelRatio, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_effectiveDevicePixelRatio)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QQuickWindow_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_event)},
    {SIP_MLNAME_CAST(sipName_exposeEvent), (PyCFunction)meth_QQuickWindow_exposeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_exposeEvent)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QQuickWindow_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusObject), meth_QQuickWindow_focusObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_focusObject)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QQuickWindow_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_grabWindow), meth_QQuickWindow_grabWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_grabWindow)},
    {SIP_MLNAME_CAST(sipName_hasDefaultAlphaBuffer), meth_QQuickWindow_hasDefaultAlphaBuffer, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_hasDefaultAlphaBuffer)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QQuickWindow_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_hideEvent)},
    {SIP_MLNAME_CAST(sipName_incubationController), meth_QQuickWindow_incubationController, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_incubationController)},
    {SIP_MLNAME_CAST(sipName_isPersistentOpenGLContext), meth_QQuickWindow_isPersistentOpenGLContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_isPersistentOpenGLContext)},
    {SIP_MLNAME_CAST(sipName_isPersistentSceneGraph), meth_QQuickWindow_isPersistentSceneGraph, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_isPersistentSceneGraph)},
    {SIP_MLNAME_CAST(sipName_isSceneGraphInitialized), meth_QQuickWindow_isSceneGraphInitialized, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_isSceneGraphInitialized)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickWindow_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QQuickWindow_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QQuickWindow_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QQuickWindow_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseGrabberItem), meth_QQuickWindow_mouseGrabberItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_mouseGrabberItem)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QQuickWindow_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QQuickWindow_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QQuickWindow_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QQuickWindow_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_openglContext), meth_QQuickWindow_openglContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_openglContext)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickWindow_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseResources), meth_QQuickWindow_releaseResources, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_releaseResources)},
    {SIP_MLNAME_CAST(sipName_renderTarget), meth_QQuickWindow_renderTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_renderTarget)},
    {SIP_MLNAME_CAST(sipName_renderTargetId), meth_QQuickWindow_renderTargetId, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_renderTargetId)},
    {SIP_MLNAME_CAST(sipName_renderTargetSize), meth_QQuickWindow_renderTargetSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_renderTargetSize)},
    {SIP_MLNAME_CAST(sipName_rendererInterface), meth_QQuickWindow_rendererInterface, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_rendererInterface)},
    {SIP_MLNAME_CAST(sipName_resetOpenGLState), meth_QQuickWindow_resetOpenGLState, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_resetOpenGLState)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QQuickWindow_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sceneGraphBackend), meth_QQuickWindow_sceneGraphBackend, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_sceneGraphBackend)},
    {SIP_MLNAME_CAST(sipName_scheduleRenderJob), meth_QQuickWindow_scheduleRenderJob, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_scheduleRenderJob)},
    {SIP_MLNAME_CAST(sipName_sendEvent), meth_QQuickWindow_sendEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_sendEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickWindow_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickWindow_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setClearBeforeRendering), meth_QQuickWindow_setClearBeforeRendering, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_setClearBeforeRendering)},
    {SIP_MLNAME_CAST(sipName_setColor), meth_QQuickWindow_setColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_setColor)},
    {SIP_MLNAME_CAST(sipName_setDefaultAlphaBuffer), meth_QQuickWindow_setDefaultAlphaBuffer, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_setDefaultAlphaBuffer)},
    {SIP_MLNAME_CAST(sipName_setPersistentOpenGLContext), meth_QQuickWindow_setPersistentOpenGLContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_setPersistentOpenGLContext)},
    {SIP_MLNAME_CAST(sipName_setPersistentSceneGraph), meth_QQuickWindow_setPersistentSceneGraph, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_setPersistentSceneGraph)},
    {SIP_MLNAME_CAST(sipName_setRenderTarget), meth_QQuickWindow_setRenderTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_setRenderTarget)},
    {SIP_MLNAME_CAST(sipName_setSceneGraphBackend), meth_QQuickWindow_setSceneGraphBackend, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_setSceneGraphBackend)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QQuickWindow_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_showEvent)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QQuickWindow_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickWindow_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_touchEvent), (PyCFunction)meth_QQuickWindow_touchEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_update), meth_QQuickWindow_update, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickWindow_update)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QQuickWindow_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickWindow_wheelEvent)}
};

static sipEnumMemberDef enummembers_QQuickWindow[] = {
    {sipName_AfterRenderingStage, static_cast<int>( ::QQuickWindow::AfterRenderingStage), 28},
    {sipName_AfterSwapStage, static_cast<int>( ::QQuickWindow::AfterSwapStage), 28},
    {sipName_AfterSynchronizingStage, static_cast<int>( ::QQuickWindow::AfterSynchronizingStage), 28},
    {sipName_BeforeRenderingStage, static_cast<int>( ::QQuickWindow::BeforeRenderingStage), 28},
    {sipName_BeforeSynchronizingStage, static_cast<int>( ::QQuickWindow::BeforeSynchronizingStage), 28},
    {sipName_ContextNotAvailable, static_cast<int>( ::QQuickWindow::ContextNotAvailable), 29},
    {sipName_NoStage, static_cast<int>( ::QQuickWindow::NoStage), 28},
    {sipName_TextureCanUseAtlas, static_cast<int>( ::QQuickWindow::TextureCanUseAtlas), 26},
    {sipName_TextureHasAlphaChannel, static_cast<int>( ::QQuickWindow::TextureHasAlphaChannel), 26},
    {sipName_TextureHasMipmaps, static_cast<int>( ::QQuickWindow::TextureHasMipmaps), 26},
    {sipName_TextureIsOpaque, static_cast<int>( ::QQuickWindow::TextureIsOpaque), 26},
    {sipName_TextureOwnsGLTexture, static_cast<int>( ::QQuickWindow::TextureOwnsGLTexture), 26},
};

PyDoc_STRVAR(doc_QQuickWindow, "\1QQuickWindow(parent: QWindow = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickWindow[] = {
    {"sceneGraphError(QQuickWindow::SceneGraphError,QString)", "\1sceneGraphError(self, QQuickWindow.SceneGraphError, str)", 0, 0},
    {"sceneGraphAboutToStop()", "\1sceneGraphAboutToStop(self)", 0, 0},
    {"afterAnimating()", "\1afterAnimating(self)", 0, 0},
    {"afterSynchronizing()", "\1afterSynchronizing(self)", 0, 0},
    {"openglContextCreated(QOpenGLContext*)", "\1openglContextCreated(self, QOpenGLContext)", 0, 0},
    {"activeFocusItemChanged()", "\1activeFocusItemChanged(self)", 0, 0},
    {"closing(QQuickCloseEvent*)", "\1closing(self, QQuickCloseEvent)", 0, 0},
    {"colorChanged(QColor)", "\1colorChanged(self, Union[QColor, Qt.GlobalColor])", 0, 0},
    {"afterRendering()", "\1afterRendering(self)", 0, 0},
    {"beforeRendering()", "\1beforeRendering(self)", 0, 0},
    {"beforeSynchronizing()", "\1beforeSynchronizing(self)", 0, 0},
    {"sceneGraphInvalidated()", "\1sceneGraphInvalidated(self)", 0, 0},
    {"sceneGraphInitialized()", "\1sceneGraphInitialized(self)", 0, 0},
    {"frameSwapped()", "\1frameSwapped(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickWindow = {
    & ::QQuickWindow::staticMetaObject,
    0,
    signals_QQuickWindow,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickWindow = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickWindow,
        {0},
        &plugin_QQuickWindow
    },
    {
        sipNameNr_QQuickWindow,
        {0, 0, 1},
        61, methods_QQuickWindow,
        12, enummembers_QQuickWindow,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickWindow,
    -1,
    -1,
    supers_QQuickWindow,
    0,
    init_type_QQuickWindow,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickWindow,
    0,
    0,
    0,
    release_QQuickWindow,
    cast_QQuickWindow,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquicktextdocument.sip"
#include <qquicktextdocument.h>
#line 32418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 32422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 32425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 32428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 32440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 32443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 32449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 32452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 32455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 32461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 32467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 32470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 32473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickTextDocument : public  ::QQuickTextDocument
{
public:
    sipQQuickTextDocument( ::QQuickItem*);
    virtual ~sipQQuickTextDocument();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickTextDocument(const sipQQuickTextDocument &);
    sipQQuickTextDocument &operator = (const sipQQuickTextDocument &);

    char sipPyMethods[7];
};

sipQQuickTextDocument::sipQQuickTextDocument( ::QQuickItem*a0):  ::QQuickTextDocument(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickTextDocument::~sipQQuickTextDocument()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickTextDocument::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickTextDocument);

    return  ::QQuickTextDocument::metaObject();
}

int sipQQuickTextDocument::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickTextDocument::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickTextDocument,_c,_id,_a);

    return _id;
}

void *sipQQuickTextDocument::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickTextDocument, _clname, &sipCpp) ? sipCpp :  ::QQuickTextDocument::qt_metacast(_clname));
}

bool sipQQuickTextDocument::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickTextDocument::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickTextDocument::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickTextDocument::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickTextDocument::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickTextDocument::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextDocument::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickTextDocument::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextDocument::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickTextDocument::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextDocument::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickTextDocument::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextDocument::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickTextDocument::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickTextDocument::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickTextDocument::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickTextDocument::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickTextDocument::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickTextDocument::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickTextDocument::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickTextDocument::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickTextDocument::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickTextDocument::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QQuickTextDocument_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickTextDocument_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickTextDocument, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 32767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_sender, doc_QQuickTextDocument_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickTextDocument_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickTextDocument, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 32827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_receivers, doc_QQuickTextDocument_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickTextDocument_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickTextDocument, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_timerEvent, doc_QQuickTextDocument_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickTextDocument_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickTextDocument, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_childEvent, doc_QQuickTextDocument_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickTextDocument_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickTextDocument, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_customEvent, doc_QQuickTextDocument_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickTextDocument_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickTextDocument, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_connectNotify, doc_QQuickTextDocument_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickTextDocument_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickTextDocument, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_disconnectNotify, doc_QQuickTextDocument_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickTextDocument_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickTextDocument, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_senderSignalIndex, doc_QQuickTextDocument_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickTextDocument_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickTextDocument *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickTextDocument, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_isSignalConnected, doc_QQuickTextDocument_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextDocument_textDocument, "textDocument(self) -> QTextDocument");

extern "C" {static PyObject *meth_QQuickTextDocument_textDocument(PyObject *, PyObject *);}
static PyObject *meth_QQuickTextDocument_textDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickTextDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickTextDocument, &sipCpp))
        {
             ::QTextDocument*sipRes;

            sipRes = sipCpp->textDocument();

            return sipConvertFromType(sipRes,sipType_QTextDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextDocument, sipName_textDocument, doc_QQuickTextDocument_textDocument);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickTextDocument(void *, const sipTypeDef *);}
static void *cast_QQuickTextDocument(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickTextDocument *sipCpp = reinterpret_cast< ::QQuickTextDocument *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickTextDocument(void *, int);}
static void release_QQuickTextDocument(void *sipCppV, int)
{
     ::QQuickTextDocument *sipCpp = reinterpret_cast< ::QQuickTextDocument *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickTextDocument(sipSimpleWrapper *);}
static void dealloc_QQuickTextDocument(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickTextDocument *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickTextDocument(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickTextDocument(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickTextDocument(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuickTextDocument *sipCpp = 0;

    {
         ::QQuickItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QQuickItem, &a0, sipOwner))
        {
            sipCpp = new sipQQuickTextDocument(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickTextDocument[] = {{3, 0, 1}};


static PyMethodDef methods_QQuickTextDocument[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickTextDocument_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickTextDocument_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickTextDocument_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickTextDocument_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickTextDocument_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickTextDocument_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickTextDocument_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickTextDocument_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textDocument), meth_QQuickTextDocument_textDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickTextDocument_textDocument)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickTextDocument_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QQuickTextDocument, "\1QQuickTextDocument(QQuickItem)");


static pyqt5ClassPluginDef plugin_QQuickTextDocument = {
    & ::QQuickTextDocument::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickTextDocument = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickTextDocument,
        {0},
        &plugin_QQuickTextDocument
    },
    {
        sipNameNr_QQuickTextDocument,
        {0, 0, 1},
        10, methods_QQuickTextDocument,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickTextDocument,
    -1,
    -1,
    supers_QQuickTextDocument,
    0,
    init_type_QQuickTextDocument,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickTextDocument,
    0,
    0,
    0,
    release_QQuickTextDocument,
    cast_QQuickTextDocument,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickrendercontrol.sip"
#include <qquickrendercontrol.h>
#line 33219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 33229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 33232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 33235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 33238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 46 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 33241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 33244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 33280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickRenderControl : public  ::QQuickRenderControl
{
public:
    sipQQuickRenderControl( ::QObject*);
    virtual ~sipQQuickRenderControl();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QWindow* renderWindow( ::QPoint*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickRenderControl(const sipQQuickRenderControl &);
    sipQQuickRenderControl &operator = (const sipQQuickRenderControl &);

    char sipPyMethods[8];
};

sipQQuickRenderControl::sipQQuickRenderControl( ::QObject*a0):  ::QQuickRenderControl(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickRenderControl::~sipQQuickRenderControl()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickRenderControl::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickRenderControl);

    return  ::QQuickRenderControl::metaObject();
}

int sipQQuickRenderControl::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickRenderControl::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickRenderControl,_c,_id,_a);

    return _id;
}

void *sipQQuickRenderControl::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickRenderControl, _clname, &sipCpp) ? sipCpp :  ::QQuickRenderControl::qt_metacast(_clname));
}

 ::QWindow* sipQQuickRenderControl::renderWindow( ::QPoint*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_renderWindow);

    if (!sipMeth)
        return  ::QQuickRenderControl::renderWindow(a0);

    extern  ::QWindow* sipVH_QtQuick_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPoint*);

    return sipVH_QtQuick_42(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickRenderControl::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickRenderControl::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickRenderControl::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickRenderControl::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickRenderControl::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickRenderControl::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickRenderControl::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickRenderControl::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickRenderControl::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickRenderControl::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickRenderControl::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickRenderControl::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickRenderControl::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickRenderControl::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickRenderControl::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickRenderControl::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickRenderControl::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickRenderControl::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickRenderControl::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickRenderControl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickRenderControl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickRenderControl::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickRenderControl::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QQuickRenderControl_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickRenderControl_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickRenderControl, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 33593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_sender, doc_QQuickRenderControl_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickRenderControl_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickRenderControl, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 33653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_receivers, doc_QQuickRenderControl_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickRenderControl_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_timerEvent, doc_QQuickRenderControl_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickRenderControl_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_childEvent, doc_QQuickRenderControl_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickRenderControl_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_customEvent, doc_QQuickRenderControl_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickRenderControl_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_connectNotify, doc_QQuickRenderControl_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickRenderControl_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_disconnectNotify, doc_QQuickRenderControl_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickRenderControl_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickRenderControl, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_senderSignalIndex, doc_QQuickRenderControl_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickRenderControl_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickRenderControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_isSignalConnected, doc_QQuickRenderControl_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_initialize, "initialize(self, QOpenGLContext)");

extern "C" {static PyObject *meth_QQuickRenderControl_initialize(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_initialize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QOpenGLContext* a0;
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QOpenGLContext, &a0))
        {
            sipCpp->initialize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_initialize, doc_QQuickRenderControl_initialize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_invalidate, "invalidate(self)");

extern "C" {static PyObject *meth_QQuickRenderControl_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickRenderControl, &sipCpp))
        {
            sipCpp->invalidate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_invalidate, doc_QQuickRenderControl_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_polishItems, "polishItems(self)");

extern "C" {static PyObject *meth_QQuickRenderControl_polishItems(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_polishItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickRenderControl, &sipCpp))
        {
            sipCpp->polishItems();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_polishItems, doc_QQuickRenderControl_polishItems);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_render, "render(self)");

extern "C" {static PyObject *meth_QQuickRenderControl_render(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_render(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickRenderControl, &sipCpp))
        {
            sipCpp->render();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_render, doc_QQuickRenderControl_render);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_sync, "sync(self) -> bool");

extern "C" {static PyObject *meth_QQuickRenderControl_sync(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_sync(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickRenderControl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sync();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_sync, doc_QQuickRenderControl_sync);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_grab, "grab(self) -> QImage");

extern "C" {static PyObject *meth_QQuickRenderControl_grab(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_grab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickRenderControl, &sipCpp))
        {
             ::QImage*sipRes;

            sipRes = new  ::QImage(sipCpp->grab());

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_grab, doc_QQuickRenderControl_grab);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_renderWindowFor, "renderWindowFor(QQuickWindow, offset: QPoint = None) -> QWindow");

extern "C" {static PyObject *meth_QQuickRenderControl_renderWindowFor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_renderWindowFor(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickWindow* a0;
         ::QPoint* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_offset,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8|J8", sipType_QQuickWindow, &a0, sipType_QPoint, &a1))
        {
             ::QWindow*sipRes;

            sipRes =  ::QQuickRenderControl::renderWindowFor(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_renderWindowFor, doc_QQuickRenderControl_renderWindowFor);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_renderWindow, "renderWindow(self, QPoint) -> QWindow");

extern "C" {static PyObject *meth_QQuickRenderControl_renderWindow(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_renderWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPoint* a0;
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QPoint, &a0))
        {
             ::QWindow*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickRenderControl::renderWindow(a0) : sipCpp->renderWindow(a0));

            return sipConvertFromType(sipRes,sipType_QWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_renderWindow, doc_QQuickRenderControl_renderWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickRenderControl_prepareThread, "prepareThread(self, QThread)");

extern "C" {static PyObject *meth_QQuickRenderControl_prepareThread(PyObject *, PyObject *);}
static PyObject *meth_QQuickRenderControl_prepareThread(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread* a0;
         ::QQuickRenderControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickRenderControl, &sipCpp, sipType_QThread, &a0))
        {
            sipCpp->prepareThread(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickRenderControl, sipName_prepareThread, doc_QQuickRenderControl_prepareThread);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickRenderControl(void *, const sipTypeDef *);}
static void *cast_QQuickRenderControl(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickRenderControl *sipCpp = reinterpret_cast< ::QQuickRenderControl *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickRenderControl(void *, int);}
static void release_QQuickRenderControl(void *sipCppV, int)
{
     ::QQuickRenderControl *sipCpp = reinterpret_cast< ::QQuickRenderControl *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickRenderControl(sipSimpleWrapper *);}
static void dealloc_QQuickRenderControl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickRenderControl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickRenderControl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickRenderControl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickRenderControl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuickRenderControl *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQQuickRenderControl(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickRenderControl[] = {{3, 0, 1}};


static PyMethodDef methods_QQuickRenderControl[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickRenderControl_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickRenderControl_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickRenderControl_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickRenderControl_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_grab), meth_QQuickRenderControl_grab, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_grab)},
    {SIP_MLNAME_CAST(sipName_initialize), meth_QQuickRenderControl_initialize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_initialize)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QQuickRenderControl_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_invalidate)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickRenderControl_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_polishItems), meth_QQuickRenderControl_polishItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_polishItems)},
    {SIP_MLNAME_CAST(sipName_prepareThread), meth_QQuickRenderControl_prepareThread, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_prepareThread)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickRenderControl_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_render), meth_QQuickRenderControl_render, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_render)},
    {SIP_MLNAME_CAST(sipName_renderWindow), meth_QQuickRenderControl_renderWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_renderWindow)},
    {SIP_MLNAME_CAST(sipName_renderWindowFor), (PyCFunction)meth_QQuickRenderControl_renderWindowFor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickRenderControl_renderWindowFor)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickRenderControl_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickRenderControl_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sync), meth_QQuickRenderControl_sync, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickRenderControl_sync)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickRenderControl_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QQuickRenderControl, "\1QQuickRenderControl(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickRenderControl[] = {
    {"sceneChanged()", "\1sceneChanged(self)", 0, 0},
    {"renderRequested()", "\1renderRequested(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickRenderControl = {
    & ::QQuickRenderControl::staticMetaObject,
    0,
    signals_QQuickRenderControl,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickRenderControl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickRenderControl,
        {0},
        &plugin_QQuickRenderControl
    },
    {
        sipNameNr_QQuickRenderControl,
        {0, 0, 1},
        18, methods_QQuickRenderControl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickRenderControl,
    -1,
    -1,
    supers_QQuickRenderControl,
    0,
    init_type_QQuickRenderControl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickRenderControl,
    0,
    0,
    0,
    release_QQuickRenderControl,
    cast_QQuickRenderControl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 34294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 34298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QQuickPaintedItem_PerformanceHints___hash__(PyObject *);}
static long slot_QQuickPaintedItem_PerformanceHints___hash__(PyObject *sipSelf)
{
     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QQuickPaintedItem::PerformanceHints::Int();
#line 34316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QQuickPaintedItem_PerformanceHints___bool__(PyObject *);}
static int slot_QQuickPaintedItem_PerformanceHints___bool__(PyObject *sipSelf)
{
     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickPaintedItem::PerformanceHints::Int() != 0);
#line 34341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___ne__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickPaintedItem::PerformanceHints::Int() != a0->operator QQuickPaintedItem::PerformanceHints::Int());
#line 34371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QQuickPaintedItem::PerformanceHints *>(a0),sipType_QQuickPaintedItem_PerformanceHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QQuickPaintedItem_PerformanceHints, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___eq__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickPaintedItem::PerformanceHints::Int() == a0->operator QQuickPaintedItem::PerformanceHints::Int());
#line 34407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QQuickPaintedItem::PerformanceHints *>(a0),sipType_QQuickPaintedItem_PerformanceHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QQuickPaintedItem_PerformanceHints, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickPaintedItem_PerformanceHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QQuickPaintedItem::PerformanceHints(*sipCpp ^ a0);
#line 34446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___xor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State, &a1))
        {
             ::QQuickPaintedItem::PerformanceHints*sipRes;

            sipRes = new  ::QQuickPaintedItem::PerformanceHints((*a0 ^ a1));
            sipReleaseType(a0,sipType_QQuickPaintedItem_PerformanceHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickPaintedItem_PerformanceHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___ior__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickPaintedItem_PerformanceHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QQuickPaintedItem::PerformanceHints(*sipCpp | a0);
#line 34518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___or__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State, &a1))
        {
             ::QQuickPaintedItem::PerformanceHints*sipRes;

            sipRes = new  ::QQuickPaintedItem::PerformanceHints((*a0 | a1));
            sipReleaseType(a0,sipType_QQuickPaintedItem_PerformanceHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickPaintedItem_PerformanceHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___iand__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickPaintedItem_PerformanceHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QQuickPaintedItem::PerformanceHints::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___and__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State, &a1))
        {
             ::QQuickPaintedItem::PerformanceHints*sipRes;

            sipRes = new  ::QQuickPaintedItem::PerformanceHints((*a0 & a1));
            sipReleaseType(a0,sipType_QQuickPaintedItem_PerformanceHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickPaintedItem_PerformanceHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___invert__(PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___invert__(PyObject *sipSelf)
{
     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;


    {
        {
             ::QQuickPaintedItem::PerformanceHints*sipRes;

            sipRes = new  ::QQuickPaintedItem::PerformanceHints(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QQuickPaintedItem_PerformanceHints,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QQuickPaintedItem_PerformanceHints___int__(PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___int__(PyObject *sipSelf)
{
     ::QQuickPaintedItem::PerformanceHints *sipCpp = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickPaintedItem_PerformanceHints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickPaintedItem_PerformanceHints(void *, int);}
static void release_QQuickPaintedItem_PerformanceHints(void *sipCppV, int)
{
    delete reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipCppV);
}


extern "C" {static void assign_QQuickPaintedItem_PerformanceHints(void *, SIP_SSIZE_T, const void *);}
static void assign_QQuickPaintedItem_PerformanceHints(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QQuickPaintedItem::PerformanceHints *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QQuickPaintedItem::PerformanceHints *>(sipSrc);
}


extern "C" {static void *array_QQuickPaintedItem_PerformanceHints(SIP_SSIZE_T);}
static void *array_QQuickPaintedItem_PerformanceHints(SIP_SSIZE_T sipNrElem)
{
    return new  ::QQuickPaintedItem::PerformanceHints[sipNrElem];
}


extern "C" {static void *copy_QQuickPaintedItem_PerformanceHints(const void *, SIP_SSIZE_T);}
static void *copy_QQuickPaintedItem_PerformanceHints(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QQuickPaintedItem::PerformanceHints(reinterpret_cast<const  ::QQuickPaintedItem::PerformanceHints *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QQuickPaintedItem_PerformanceHints(sipSimpleWrapper *);}
static void dealloc_QQuickPaintedItem_PerformanceHints(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickPaintedItem_PerformanceHints(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QQuickPaintedItem_PerformanceHints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickPaintedItem_PerformanceHints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QQuickPaintedItem::PerformanceHints *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QQuickPaintedItem::PerformanceHints();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QQuickPaintedItem::PerformanceHints(a0);

            return sipCpp;
        }
    }

    {
        const  ::QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State))
        {
            sipCpp = new  ::QQuickPaintedItem::PerformanceHints(*a0);
            sipReleaseType(const_cast< ::QQuickPaintedItem::PerformanceHints *>(a0),sipType_QQuickPaintedItem_PerformanceHints,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QQuickPaintedItem_PerformanceHints(PyObject *, void **, int *, PyObject *);}
static int convertTo_QQuickPaintedItem_PerformanceHints(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QQuickPaintedItem::PerformanceHints **sipCppPtr = reinterpret_cast< ::QQuickPaintedItem::PerformanceHints **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QQuickPaintedItem::PerformanceHints is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QQuickPaintedItem_PerformanceHint)) ||
            sipCanConvertToType(sipPy, sipType_QQuickPaintedItem_PerformanceHints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QQuickPaintedItem_PerformanceHint)))
{
    *sipCppPtr = new QQuickPaintedItem::PerformanceHints(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QQuickPaintedItem::PerformanceHints *>(sipConvertToType(sipPy, sipType_QQuickPaintedItem_PerformanceHints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 34786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QQuickPaintedItem_PerformanceHints[] = {
    {(void *)slot_QQuickPaintedItem_PerformanceHints___hash__, hash_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___bool__, bool_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___ne__, ne_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___eq__, eq_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___ixor__, ixor_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___xor__, xor_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___ior__, ior_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___or__, or_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___iand__, iand_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___and__, and_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___invert__, invert_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QQuickPaintedItem_PerformanceHints, "\1QQuickPaintedItem.PerformanceHints()\n"
    "QQuickPaintedItem.PerformanceHints(Union[QQuickPaintedItem.PerformanceHints, QQuickPaintedItem.PerformanceHint])\n"
    "QQuickPaintedItem.PerformanceHints(QQuickPaintedItem.PerformanceHints)");


static pyqt5ClassPluginDef plugin_QQuickPaintedItem_PerformanceHints = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickPaintedItem_PerformanceHints = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickPaintedItem__PerformanceHints,
        {0},
        &plugin_QQuickPaintedItem_PerformanceHints
    },
    {
        sipNameNr_PerformanceHints,
        {15, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickPaintedItem_PerformanceHints,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QQuickPaintedItem_PerformanceHints,
    init_type_QQuickPaintedItem_PerformanceHints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickPaintedItem_PerformanceHints,
    assign_QQuickPaintedItem_PerformanceHints,
    array_QQuickPaintedItem_PerformanceHints,
    copy_QQuickPaintedItem_PerformanceHints,
    release_QQuickPaintedItem_PerformanceHints,
    0,
    convertTo_QQuickPaintedItem_PerformanceHints,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 34872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 34879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 34887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 34890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 34898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 34901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 34904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 34907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 34910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 34916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 34919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 238 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 714 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 34967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 34985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 34994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 35006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 35012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 35015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 35018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

sipQQuickPaintedItem::sipQQuickPaintedItem( ::QQuickItem*a0):  ::QQuickPaintedItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickPaintedItem::~sipQQuickPaintedItem()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickPaintedItem::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickPaintedItem);

    return  ::QQuickPaintedItem::metaObject();
}

int sipQQuickPaintedItem::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickPaintedItem::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickPaintedItem,_c,_id,_a);

    return _id;
}

void *sipQQuickPaintedItem::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickPaintedItem, _clname, &sipCpp) ? sipCpp :  ::QQuickPaintedItem::qt_metacast(_clname));
}

void sipQQuickPaintedItem::paint( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QQuickPaintedItem,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtQuick_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtQuick_41(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickPaintedItem::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickPaintedItem::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQQuickPaintedItem::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickPaintedItem::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_componentComplete);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::componentComplete();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_classBegin);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::classBegin();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQQuickPaintedItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QQuickPaintedItem::contains(a0);

    extern bool sipVH_QtQuick_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtQuick_7(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQQuickPaintedItem::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QQuickPaintedItem::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtQuick_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtQuick_8(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickPaintedItem::isTextureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_isTextureProvider);

    if (!sipMeth)
        return  ::QQuickPaintedItem::isTextureProvider();

    extern bool sipVH_QtQuick_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGTextureProvider* sipQQuickPaintedItem::textureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_textureProvider);

    if (!sipMeth)
        return  ::QQuickPaintedItem::textureProvider();

    extern  ::QSGTextureProvider* sipVH_QtQuick_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_10(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::itemChange( ::QQuickItem::ItemChange a0,const  ::QQuickItem::ItemChangeData& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::itemChange(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickItem::ItemChange,const  ::QQuickItem::ItemChangeData&);

    sipVH_QtQuick_11(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickPaintedItem::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtQuick_13(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::mouseUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseUngrabEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::mouseUngrabEvent();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::touchUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_touchUngrabEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::touchUngrabEvent();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtQuick_16(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::touchEvent( ::QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_touchEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::touchEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTouchEvent*);

    sipVH_QtQuick_17(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::hoverEnterEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::hoverMoveEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::hoverLeaveEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtQuick_19(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtQuick_20(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtQuick_21(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtQuick_22(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickPaintedItem::childMouseEventFilter( ::QQuickItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childMouseEventFilter);

    if (!sipMeth)
        return  ::QQuickPaintedItem::childMouseEventFilter(a0,a1);

    extern bool sipVH_QtQuick_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickItem*, ::QEvent*);

    return sipVH_QtQuick_23(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickPaintedItem::geometryChanged(const  ::QRectF& a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_geometryChanged);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::geometryChanged(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&,const  ::QRectF&);

    sipVH_QtQuick_24(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QSGNode* sipQQuickPaintedItem::updatePaintNode( ::QSGNode*a0, ::QQuickItem::UpdatePaintNodeData*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_updatePaintNode);

    if (!sipMeth)
        return  ::QQuickPaintedItem::updatePaintNode(a0,a1);

    extern  ::QSGNode* sipVH_QtQuick_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSGNode*, ::QQuickItem::UpdatePaintNodeData*);

    return sipVH_QtQuick_25(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickPaintedItem::releaseResources()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_releaseResources);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::releaseResources();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::updatePolish()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_updatePolish);

    if (!sipMeth)
    {
         ::QQuickPaintedItem::updatePolish();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QObject* sipQQuickPaintedItem::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickPaintedItem::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickPaintedItem::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickPaintedItem::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickPaintedItem::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQQuickPaintedItem::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QQuickItem::event(a0) : event(a0));
}

bool sipQQuickPaintedItem::sipProtect_isComponentComplete() const
{
    return  ::QQuickItem::isComponentComplete();
}

void sipQQuickPaintedItem::sipProtect_updateInputMethod( ::Qt::InputMethodQueries a0)
{
     ::QQuickItem::updateInputMethod(a0);
}

bool sipQQuickPaintedItem::sipProtect_widthValid() const
{
    return  ::QQuickItem::widthValid();
}

bool sipQQuickPaintedItem::sipProtect_heightValid() const
{
    return  ::QQuickItem::heightValid();
}

void sipQQuickPaintedItem::sipProtectVirt_classBegin(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::classBegin() : classBegin());
}

void sipQQuickPaintedItem::sipProtectVirt_componentComplete(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::componentComplete() : componentComplete());
}

void sipQQuickPaintedItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg, ::QInputMethodEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_mouseUngrabEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseUngrabEvent() : mouseUngrabEvent());
}

void sipQQuickPaintedItem::sipProtectVirt_touchUngrabEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::touchUngrabEvent() : touchUngrabEvent());
}

void sipQQuickPaintedItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_touchEvent(bool sipSelfWasArg, ::QTouchEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::touchEvent(a0) : touchEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg, ::QDragEnterEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg, ::QDragMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg, ::QDragLeaveEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQQuickPaintedItem::sipProtectVirt_dropEvent(bool sipSelfWasArg, ::QDropEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dropEvent(a0) : dropEvent(a0));
}

bool sipQQuickPaintedItem::sipProtectVirt_childMouseEventFilter(bool sipSelfWasArg, ::QQuickItem*a0, ::QEvent*a1)
{
    return (sipSelfWasArg ?  ::QQuickItem::childMouseEventFilter(a0,a1) : childMouseEventFilter(a0,a1));
}

void sipQQuickPaintedItem::sipProtectVirt_geometryChanged(bool sipSelfWasArg,const  ::QRectF& a0,const  ::QRectF& a1)
{
    (sipSelfWasArg ?  ::QQuickItem::geometryChanged(a0,a1) : geometryChanged(a0,a1));
}

void sipQQuickPaintedItem::sipProtectVirt_updatePolish(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::updatePolish() : updatePolish());
}

 ::QSGNode* sipQQuickPaintedItem::sipProtectVirt_updatePaintNode(bool sipSelfWasArg, ::QSGNode*a0, ::QQuickItem::UpdatePaintNodeData*a1)
{
    return (sipSelfWasArg ?  ::QQuickPaintedItem::updatePaintNode(a0,a1) : updatePaintNode(a0,a1));
}

void sipQQuickPaintedItem::sipProtectVirt_releaseResources(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickPaintedItem::releaseResources() : releaseResources());
}

void sipQQuickPaintedItem::sipProtectVirt_itemChange(bool sipSelfWasArg, ::QQuickItem::ItemChange a0,const  ::QQuickItem::ItemChangeData& a1)
{
    (sipSelfWasArg ?  ::QQuickPaintedItem::itemChange(a0,a1) : itemChange(a0,a1));
}


PyDoc_STRVAR(doc_QQuickPaintedItem_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickPaintedItem_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 36002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_sender, doc_QQuickPaintedItem_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickPaintedItem_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 36062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_receivers, doc_QQuickPaintedItem_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_timerEvent, doc_QQuickPaintedItem_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_childEvent, doc_QQuickPaintedItem_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_customEvent, doc_QQuickPaintedItem_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickPaintedItem_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_connectNotify, doc_QQuickPaintedItem_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickPaintedItem_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_disconnectNotify, doc_QQuickPaintedItem_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickPaintedItem_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_senderSignalIndex, doc_QQuickPaintedItem_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_isSignalConnected, doc_QQuickPaintedItem_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_event, doc_QQuickPaintedItem_event);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_isComponentComplete, "isComponentComplete(self) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_isComponentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_isComponentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isComponentComplete();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_isComponentComplete, doc_QQuickPaintedItem_isComponentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_updateInputMethod, "updateInputMethod(self, queries: Union[Qt.InputMethodQueries, Qt.InputMethodQuery] = Qt.ImQueryInput)");

extern "C" {static PyObject *meth_QQuickPaintedItem_updateInputMethod(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_updateInputMethod(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodQueries a0def = Qt::ImQueryInput;
         ::Qt::InputMethodQueries* a0 = &a0def;
        int a0State = 0;
        sipQQuickPaintedItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_queries,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            sipCpp->sipProtect_updateInputMethod(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_updateInputMethod, doc_QQuickPaintedItem_updateInputMethod);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_widthValid, "widthValid(self) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_widthValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_widthValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_widthValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_widthValid, doc_QQuickPaintedItem_widthValid);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_heightValid, "heightValid(self) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_heightValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_heightValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_heightValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_heightValid, doc_QQuickPaintedItem_heightValid);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_classBegin, "classBegin(self)");

extern "C" {static PyObject *meth_QQuickPaintedItem_classBegin(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_classBegin(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_classBegin(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_classBegin, doc_QQuickPaintedItem_classBegin);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_componentComplete, "componentComplete(self)");

extern "C" {static PyObject *meth_QQuickPaintedItem_componentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_componentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_componentComplete(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_componentComplete, doc_QQuickPaintedItem_componentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_keyPressEvent, doc_QQuickPaintedItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_keyReleaseEvent, doc_QQuickPaintedItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_inputMethodEvent, "inputMethodEvent(self, QInputMethodEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QInputMethodEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_inputMethodEvent, doc_QQuickPaintedItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_focusInEvent, "focusInEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_focusInEvent, doc_QQuickPaintedItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_focusOutEvent, doc_QQuickPaintedItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_mousePressEvent, doc_QQuickPaintedItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_mouseMoveEvent, doc_QQuickPaintedItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_mouseReleaseEvent, doc_QQuickPaintedItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_mouseDoubleClickEvent, doc_QQuickPaintedItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_mouseUngrabEvent, "mouseUngrabEvent(self)");

extern "C" {static PyObject *meth_QQuickPaintedItem_mouseUngrabEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_mouseUngrabEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_mouseUngrabEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_mouseUngrabEvent, doc_QQuickPaintedItem_mouseUngrabEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_touchUngrabEvent, "touchUngrabEvent(self)");

extern "C" {static PyObject *meth_QQuickPaintedItem_touchUngrabEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_touchUngrabEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_touchUngrabEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_touchUngrabEvent, doc_QQuickPaintedItem_touchUngrabEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_wheelEvent, "wheelEvent(self, QWheelEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_wheelEvent, doc_QQuickPaintedItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_touchEvent, "touchEvent(self, QTouchEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_touchEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_touchEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTouchEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QTouchEvent, &a0))
        {
            sipCpp->sipProtectVirt_touchEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_touchEvent, doc_QQuickPaintedItem_touchEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_hoverEnterEvent, "hoverEnterEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_hoverEnterEvent, doc_QQuickPaintedItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_hoverMoveEvent, "hoverMoveEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_hoverMoveEvent, doc_QQuickPaintedItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_hoverLeaveEvent, "hoverLeaveEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_hoverLeaveEvent, doc_QQuickPaintedItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_dragEnterEvent, "dragEnterEvent(self, QDragEnterEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragEnterEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_dragEnterEvent, doc_QQuickPaintedItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_dragMoveEvent, "dragMoveEvent(self, QDragMoveEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragMoveEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_dragMoveEvent, doc_QQuickPaintedItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_dragLeaveEvent, "dragLeaveEvent(self, QDragLeaveEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragLeaveEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_dragLeaveEvent, doc_QQuickPaintedItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_dropEvent, "dropEvent(self, QDropEvent)");

extern "C" {static PyObject *meth_QQuickPaintedItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_dropEvent, doc_QQuickPaintedItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_childMouseEventFilter, "childMouseEventFilter(self, QQuickItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_childMouseEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_childMouseEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickItem* a0;
         ::QEvent* a1;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QQuickItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_childMouseEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_childMouseEventFilter, doc_QQuickPaintedItem_childMouseEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_geometryChanged, "geometryChanged(self, QRectF, QRectF)");

extern "C" {static PyObject *meth_QQuickPaintedItem_geometryChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_geometryChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QRectF* a0;
        const  ::QRectF* a1;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QRectF, &a0, sipType_QRectF, &a1))
        {
            sipCpp->sipProtectVirt_geometryChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_geometryChanged, doc_QQuickPaintedItem_geometryChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_updatePolish, "updatePolish(self)");

extern "C" {static PyObject *meth_QQuickPaintedItem_updatePolish(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_updatePolish(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_updatePolish(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_updatePolish, doc_QQuickPaintedItem_updatePolish);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_update, "update(self, rect: QRect = QRect())");

extern "C" {static PyObject *meth_QQuickPaintedItem_update(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_update(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect& a0def = QRect();
        const  ::QRect* a0 = &a0def;
         ::QQuickPaintedItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->update(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_update, doc_QQuickPaintedItem_update);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_opaquePainting, "opaquePainting(self) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_opaquePainting(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_opaquePainting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->opaquePainting();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_opaquePainting, doc_QQuickPaintedItem_opaquePainting);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setOpaquePainting, "setOpaquePainting(self, bool)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setOpaquePainting(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setOpaquePainting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, &a0))
        {
            sipCpp->setOpaquePainting(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setOpaquePainting, doc_QQuickPaintedItem_setOpaquePainting);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_antialiasing, "antialiasing(self) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_antialiasing(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_antialiasing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->antialiasing();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_antialiasing, doc_QQuickPaintedItem_antialiasing);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setAntialiasing, "setAntialiasing(self, bool)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setAntialiasing(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setAntialiasing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, &a0))
        {
            sipCpp->setAntialiasing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setAntialiasing, doc_QQuickPaintedItem_setAntialiasing);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_mipmap, "mipmap(self) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_mipmap(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_mipmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->mipmap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_mipmap, doc_QQuickPaintedItem_mipmap);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setMipmap, "setMipmap(self, bool)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setMipmap(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setMipmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, &a0))
        {
            sipCpp->setMipmap(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setMipmap, doc_QQuickPaintedItem_setMipmap);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_performanceHints, "performanceHints(self) -> QQuickPaintedItem.PerformanceHints");

extern "C" {static PyObject *meth_QQuickPaintedItem_performanceHints(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_performanceHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QQuickPaintedItem::PerformanceHints*sipRes;

            sipRes = new  ::QQuickPaintedItem::PerformanceHints(sipCpp->performanceHints());

            return sipConvertFromNewType(sipRes,sipType_QQuickPaintedItem_PerformanceHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_performanceHints, doc_QQuickPaintedItem_performanceHints);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setPerformanceHint, "setPerformanceHint(self, QQuickPaintedItem.PerformanceHint, enabled: bool = True)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setPerformanceHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setPerformanceHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickPaintedItem::PerformanceHint a0;
        bool a1 = 1;
         ::QQuickPaintedItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QQuickPaintedItem_PerformanceHint, &a0, &a1))
        {
            sipCpp->setPerformanceHint(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setPerformanceHint, doc_QQuickPaintedItem_setPerformanceHint);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setPerformanceHints, "setPerformanceHints(self, Union[QQuickPaintedItem.PerformanceHints, QQuickPaintedItem.PerformanceHint])");

extern "C" {static PyObject *meth_QQuickPaintedItem_setPerformanceHints(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setPerformanceHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State))
        {
            sipCpp->setPerformanceHints(*a0);
            sipReleaseType(a0,sipType_QQuickPaintedItem_PerformanceHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setPerformanceHints, doc_QQuickPaintedItem_setPerformanceHints);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_contentsBoundingRect, "contentsBoundingRect(self) -> QRectF");

extern "C" {static PyObject *meth_QQuickPaintedItem_contentsBoundingRect(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_contentsBoundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->contentsBoundingRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_contentsBoundingRect, doc_QQuickPaintedItem_contentsBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_contentsSize, "contentsSize(self) -> QSize");

extern "C" {static PyObject *meth_QQuickPaintedItem_contentsSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_contentsSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->contentsSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_contentsSize, doc_QQuickPaintedItem_contentsSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setContentsSize, "setContentsSize(self, QSize)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setContentsSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setContentsSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setContentsSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setContentsSize, doc_QQuickPaintedItem_setContentsSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_resetContentsSize, "resetContentsSize(self)");

extern "C" {static PyObject *meth_QQuickPaintedItem_resetContentsSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_resetContentsSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            sipCpp->resetContentsSize();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_resetContentsSize, doc_QQuickPaintedItem_resetContentsSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_contentsScale, "contentsScale(self) -> float");

extern "C" {static PyObject *meth_QQuickPaintedItem_contentsScale(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_contentsScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->contentsScale();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_contentsScale, doc_QQuickPaintedItem_contentsScale);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setContentsScale, "setContentsScale(self, float)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setContentsScale(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setContentsScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, &a0))
        {
            sipCpp->setContentsScale(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setContentsScale, doc_QQuickPaintedItem_setContentsScale);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_fillColor, "fillColor(self) -> QColor");

extern "C" {static PyObject *meth_QQuickPaintedItem_fillColor(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_fillColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QColor*sipRes;

            sipRes = new  ::QColor(sipCpp->fillColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_fillColor, doc_QQuickPaintedItem_fillColor);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setFillColor, "setFillColor(self, Union[QColor, Qt.GlobalColor])");

extern "C" {static PyObject *meth_QQuickPaintedItem_setFillColor(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setFillColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setFillColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setFillColor, doc_QQuickPaintedItem_setFillColor);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_renderTarget, "renderTarget(self) -> QQuickPaintedItem.RenderTarget");

extern "C" {static PyObject *meth_QQuickPaintedItem_renderTarget(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_renderTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QQuickPaintedItem::RenderTarget sipRes;

            sipRes = sipCpp->renderTarget();

            return sipConvertFromEnum(sipRes,sipType_QQuickPaintedItem_RenderTarget);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_renderTarget, doc_QQuickPaintedItem_renderTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setRenderTarget, "setRenderTarget(self, QQuickPaintedItem.RenderTarget)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setRenderTarget(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setRenderTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickPaintedItem::RenderTarget a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QQuickPaintedItem_RenderTarget, &a0))
        {
            sipCpp->setRenderTarget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setRenderTarget, doc_QQuickPaintedItem_setRenderTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_paint, "paint(self, QPainter)");

extern "C" {static PyObject *meth_QQuickPaintedItem_paint(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QPainter* a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QPainter, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QQuickPaintedItem, sipName_paint);
                return NULL;
            }

            sipCpp->paint(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_paint, doc_QQuickPaintedItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_updatePaintNode, "updatePaintNode(self, QSGNode, QQuickItem.UpdatePaintNodeData) -> QSGNode");

extern "C" {static PyObject *meth_QQuickPaintedItem_updatePaintNode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_updatePaintNode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSGNode* a0;
         ::QQuickItem::UpdatePaintNodeData* a1;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QSGNode, &a0, sipType_QQuickItem_UpdatePaintNodeData, &a1))
        {
             ::QSGNode*sipRes;

            sipRes = sipCpp->sipProtectVirt_updatePaintNode(sipSelfWasArg,a0,a1);

            return sipConvertFromType(sipRes,sipType_QSGNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_updatePaintNode, doc_QQuickPaintedItem_updatePaintNode);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_isTextureProvider, "isTextureProvider(self) -> bool");

extern "C" {static PyObject *meth_QQuickPaintedItem_isTextureProvider(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_isTextureProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickPaintedItem::isTextureProvider() : sipCpp->isTextureProvider());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_isTextureProvider, doc_QQuickPaintedItem_isTextureProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_textureProvider, "textureProvider(self) -> QSGTextureProvider");

extern "C" {static PyObject *meth_QQuickPaintedItem_textureProvider(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_textureProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QSGTextureProvider*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickPaintedItem::textureProvider() : sipCpp->textureProvider());

            return sipConvertFromType(sipRes,sipType_QSGTextureProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_textureProvider, doc_QQuickPaintedItem_textureProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_releaseResources, "releaseResources(self)");

extern "C" {static PyObject *meth_QQuickPaintedItem_releaseResources(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_releaseResources(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_releaseResources(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_releaseResources, doc_QQuickPaintedItem_releaseResources);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_itemChange, "itemChange(self, QQuickItem.ItemChange, QQuickItem.ItemChangeData)");

extern "C" {static PyObject *meth_QQuickPaintedItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickItem::ItemChange a0;
        const  ::QQuickItem::ItemChangeData* a1;
        sipQQuickPaintedItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QQuickItem_ItemChange, &a0, sipType_QQuickItem_ItemChangeData, &a1))
        {
            sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_itemChange, doc_QQuickPaintedItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_textureSize, "textureSize(self) -> QSize");

extern "C" {static PyObject *meth_QQuickPaintedItem_textureSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_textureSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickPaintedItem, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->textureSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_textureSize, doc_QQuickPaintedItem_textureSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickPaintedItem_setTextureSize, "setTextureSize(self, QSize)");

extern "C" {static PyObject *meth_QQuickPaintedItem_setTextureSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickPaintedItem_setTextureSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QQuickPaintedItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QQuickPaintedItem, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setTextureSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickPaintedItem, sipName_setTextureSize, doc_QQuickPaintedItem_setTextureSize);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickPaintedItem(void *, const sipTypeDef *);}
static void *cast_QQuickPaintedItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickPaintedItem *sipCpp = reinterpret_cast< ::QQuickPaintedItem *>(sipCppV);

    if (targetType == sipType_QQuickItem)
        return static_cast< ::QQuickItem *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QQmlParserStatus)
        return static_cast< ::QQmlParserStatus *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickPaintedItem(void *, int);}
static void release_QQuickPaintedItem(void *sipCppV, int)
{
     ::QQuickPaintedItem *sipCpp = reinterpret_cast< ::QQuickPaintedItem *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickPaintedItem(sipSimpleWrapper *);}
static void dealloc_QQuickPaintedItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickPaintedItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickPaintedItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickPaintedItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickPaintedItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuickPaintedItem *sipCpp = 0;

    {
         ::QQuickItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QQuickItem, &a0, sipOwner))
        {
            sipCpp = new sipQQuickPaintedItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickPaintedItem[] = {{7, 255, 1}};


static PyMethodDef methods_QQuickPaintedItem[] = {
    {SIP_MLNAME_CAST(sipName_antialiasing), meth_QQuickPaintedItem_antialiasing, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_antialiasing)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickPaintedItem_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childMouseEventFilter), (PyCFunction)meth_QQuickPaintedItem_childMouseEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_classBegin), (PyCFunction)meth_QQuickPaintedItem_classBegin, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_componentComplete), (PyCFunction)meth_QQuickPaintedItem_componentComplete, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickPaintedItem_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsBoundingRect), meth_QQuickPaintedItem_contentsBoundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_contentsBoundingRect)},
    {SIP_MLNAME_CAST(sipName_contentsScale), meth_QQuickPaintedItem_contentsScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_contentsScale)},
    {SIP_MLNAME_CAST(sipName_contentsSize), meth_QQuickPaintedItem_contentsSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_contentsSize)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickPaintedItem_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickPaintedItem_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QQuickPaintedItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QQuickPaintedItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QQuickPaintedItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QQuickPaintedItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QQuickPaintedItem_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fillColor), meth_QQuickPaintedItem_fillColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_fillColor)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QQuickPaintedItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QQuickPaintedItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_geometryChanged), (PyCFunction)meth_QQuickPaintedItem_geometryChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_heightValid), (PyCFunction)meth_QQuickPaintedItem_heightValid, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QQuickPaintedItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QQuickPaintedItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QQuickPaintedItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QQuickPaintedItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isComponentComplete), (PyCFunction)meth_QQuickPaintedItem_isComponentComplete, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickPaintedItem_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTextureProvider), meth_QQuickPaintedItem_isTextureProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_isTextureProvider)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QQuickPaintedItem_itemChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_itemChange)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QQuickPaintedItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QQuickPaintedItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mipmap), meth_QQuickPaintedItem_mipmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_mipmap)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QQuickPaintedItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QQuickPaintedItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QQuickPaintedItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QQuickPaintedItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseUngrabEvent), (PyCFunction)meth_QQuickPaintedItem_mouseUngrabEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaquePainting), meth_QQuickPaintedItem_opaquePainting, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_opaquePainting)},
    {SIP_MLNAME_CAST(sipName_paint), meth_QQuickPaintedItem_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_paint)},
    {SIP_MLNAME_CAST(sipName_performanceHints), meth_QQuickPaintedItem_performanceHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_performanceHints)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickPaintedItem_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseResources), (PyCFunction)meth_QQuickPaintedItem_releaseResources, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_releaseResources)},
    {SIP_MLNAME_CAST(sipName_renderTarget), meth_QQuickPaintedItem_renderTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_renderTarget)},
    {SIP_MLNAME_CAST(sipName_resetContentsSize), meth_QQuickPaintedItem_resetContentsSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_resetContentsSize)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickPaintedItem_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickPaintedItem_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAntialiasing), meth_QQuickPaintedItem_setAntialiasing, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setAntialiasing)},
    {SIP_MLNAME_CAST(sipName_setContentsScale), meth_QQuickPaintedItem_setContentsScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setContentsScale)},
    {SIP_MLNAME_CAST(sipName_setContentsSize), meth_QQuickPaintedItem_setContentsSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setContentsSize)},
    {SIP_MLNAME_CAST(sipName_setFillColor), meth_QQuickPaintedItem_setFillColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setFillColor)},
    {SIP_MLNAME_CAST(sipName_setMipmap), meth_QQuickPaintedItem_setMipmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setMipmap)},
    {SIP_MLNAME_CAST(sipName_setOpaquePainting), meth_QQuickPaintedItem_setOpaquePainting, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setOpaquePainting)},
    {SIP_MLNAME_CAST(sipName_setPerformanceHint), (PyCFunction)meth_QQuickPaintedItem_setPerformanceHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setPerformanceHint)},
    {SIP_MLNAME_CAST(sipName_setPerformanceHints), meth_QQuickPaintedItem_setPerformanceHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setPerformanceHints)},
    {SIP_MLNAME_CAST(sipName_setRenderTarget), meth_QQuickPaintedItem_setRenderTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setRenderTarget)},
    {SIP_MLNAME_CAST(sipName_setTextureSize), meth_QQuickPaintedItem_setTextureSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_setTextureSize)},
    {SIP_MLNAME_CAST(sipName_textureProvider), meth_QQuickPaintedItem_textureProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_textureProvider)},
    {SIP_MLNAME_CAST(sipName_textureSize), meth_QQuickPaintedItem_textureSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_textureSize)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickPaintedItem_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_touchEvent), (PyCFunction)meth_QQuickPaintedItem_touchEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_touchUngrabEvent), (PyCFunction)meth_QQuickPaintedItem_touchUngrabEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_update), (PyCFunction)meth_QQuickPaintedItem_update, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_update)},
    {SIP_MLNAME_CAST(sipName_updateInputMethod), (PyCFunction)meth_QQuickPaintedItem_updateInputMethod, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updatePaintNode), (PyCFunction)meth_QQuickPaintedItem_updatePaintNode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_updatePaintNode)},
    {SIP_MLNAME_CAST(sipName_updatePolish), (PyCFunction)meth_QQuickPaintedItem_updatePolish, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QQuickPaintedItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widthValid), (PyCFunction)meth_QQuickPaintedItem_widthValid, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QQuickPaintedItem[] = {
    {sipName_FastFBOResizing, static_cast<int>( ::QQuickPaintedItem::FastFBOResizing), 16},
    {sipName_FramebufferObject, static_cast<int>( ::QQuickPaintedItem::FramebufferObject), 18},
    {sipName_Image, static_cast<int>( ::QQuickPaintedItem::Image), 18},
    {sipName_InvertedYFramebufferObject, static_cast<int>( ::QQuickPaintedItem::InvertedYFramebufferObject), 18},
};

PyDoc_STRVAR(doc_QQuickPaintedItem, "\1QQuickPaintedItem(parent: QQuickItem = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickPaintedItem[] = {
    {"textureSizeChanged()", "\1textureSizeChanged(self)", 0, 0},
    {"renderTargetChanged()", "\1renderTargetChanged(self)", 0, 0},
    {"contentsScaleChanged()", "\1contentsScaleChanged(self)", 0, 0},
    {"contentsSizeChanged()", "\1contentsSizeChanged(self)", 0, 0},
    {"fillColorChanged()", "\1fillColorChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickPaintedItem = {
    & ::QQuickPaintedItem::staticMetaObject,
    0,
    signals_QQuickPaintedItem,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickPaintedItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickPaintedItem,
        {0},
        &plugin_QQuickPaintedItem
    },
    {
        sipNameNr_QQuickPaintedItem,
        {0, 0, 1},
        67, methods_QQuickPaintedItem,
        4, enummembers_QQuickPaintedItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickPaintedItem,
    -1,
    -1,
    supers_QQuickPaintedItem,
    0,
    init_type_QQuickPaintedItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickPaintedItem,
    0,
    0,
    0,
    release_QQuickPaintedItem,
    cast_QQuickPaintedItem,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 38195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 38199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 38205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 38208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 38211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 38214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 38226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 38232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 38238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 38247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QQuickItemGrabResult_image, "image(self) -> QImage");

extern "C" {static PyObject *meth_QQuickItemGrabResult_image(PyObject *, PyObject *);}
static PyObject *meth_QQuickItemGrabResult_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItemGrabResult *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItemGrabResult, &sipCpp))
        {
             ::QImage*sipRes;

            sipRes = new  ::QImage(sipCpp->image());

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItemGrabResult, sipName_image, doc_QQuickItemGrabResult_image);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItemGrabResult_url, "url(self) -> QUrl");

extern "C" {static PyObject *meth_QQuickItemGrabResult_url(PyObject *, PyObject *);}
static PyObject *meth_QQuickItemGrabResult_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItemGrabResult *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItemGrabResult, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->url());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItemGrabResult, sipName_url, doc_QQuickItemGrabResult_url);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItemGrabResult_saveToFile, "saveToFile(self, str) -> bool");

extern "C" {static PyObject *meth_QQuickItemGrabResult_saveToFile(PyObject *, PyObject *);}
static PyObject *meth_QQuickItemGrabResult_saveToFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QQuickItemGrabResult *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItemGrabResult, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->saveToFile(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItemGrabResult, sipName_saveToFile, doc_QQuickItemGrabResult_saveToFile);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickItemGrabResult(void *, const sipTypeDef *);}
static void *cast_QQuickItemGrabResult(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickItemGrabResult *sipCpp = reinterpret_cast< ::QQuickItemGrabResult *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickItemGrabResult(void *, int);}
static void release_QQuickItemGrabResult(void *sipCppV, int)
{
     ::QQuickItemGrabResult *sipCpp = reinterpret_cast< ::QQuickItemGrabResult *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickItemGrabResult(sipSimpleWrapper *);}
static void dealloc_QQuickItemGrabResult(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickItemGrabResult(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickItemGrabResult[] = {{3, 0, 1}};


static PyMethodDef methods_QQuickItemGrabResult[] = {
    {SIP_MLNAME_CAST(sipName_image), meth_QQuickItemGrabResult_image, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItemGrabResult_image)},
    {SIP_MLNAME_CAST(sipName_saveToFile), meth_QQuickItemGrabResult_saveToFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItemGrabResult_saveToFile)},
    {SIP_MLNAME_CAST(sipName_url), meth_QQuickItemGrabResult_url, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItemGrabResult_url)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickItemGrabResult[] = {
    {"ready()", "\1ready(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickItemGrabResult = {
    & ::QQuickItemGrabResult::staticMetaObject,
    0,
    signals_QQuickItemGrabResult,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickItemGrabResult = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickItemGrabResult,
        {0},
        &plugin_QQuickItemGrabResult
    },
    {
        sipNameNr_QQuickItemGrabResult,
        {0, 0, 1},
        3, methods_QQuickItemGrabResult,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QQuickItemGrabResult,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickItemGrabResult,
    0,
    0,
    0,
    release_QQuickItemGrabResult,
    cast_QQuickItemGrabResult,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 38455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 38459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QQuickItem_UpdatePaintNodeData(void *, int);}
static void release_QQuickItem_UpdatePaintNodeData(void *sipCppV, int)
{
    delete reinterpret_cast< ::QQuickItem::UpdatePaintNodeData *>(sipCppV);
}


extern "C" {static void dealloc_QQuickItem_UpdatePaintNodeData(sipSimpleWrapper *);}
static void dealloc_QQuickItem_UpdatePaintNodeData(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickItem_UpdatePaintNodeData(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QQuickItem_UpdatePaintNodeData(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickItem_UpdatePaintNodeData(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QQuickItem::UpdatePaintNodeData *sipCpp = 0;

    {
        const  ::QQuickItem::UpdatePaintNodeData* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QQuickItem_UpdatePaintNodeData, &a0))
        {
            sipCpp = new  ::QQuickItem::UpdatePaintNodeData(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QQuickItem_UpdatePaintNodeData_transformNode(void *, PyObject *, PyObject *);}
static PyObject *varget_QQuickItem_UpdatePaintNodeData_transformNode(void *sipSelf, PyObject *, PyObject *)
{
     ::QSGTransformNode*sipVal;
     ::QQuickItem::UpdatePaintNodeData *sipCpp = reinterpret_cast< ::QQuickItem::UpdatePaintNodeData *>(sipSelf);

    sipVal = sipCpp->transformNode;

    return sipConvertFromType(sipVal, sipType_QSGTransformNode, NULL);
}


extern "C" {static int varset_QQuickItem_UpdatePaintNodeData_transformNode(void *, PyObject *, PyObject *);}
static int varset_QQuickItem_UpdatePaintNodeData_transformNode(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QSGTransformNode*sipVal;
     ::QQuickItem::UpdatePaintNodeData *sipCpp = reinterpret_cast< ::QQuickItem::UpdatePaintNodeData *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QSGTransformNode *>(sipForceConvertToType(sipPy,sipType_QSGTransformNode,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->transformNode = sipVal;

    return 0;
}

sipVariableDef variables_QQuickItem_UpdatePaintNodeData[] = {
    {InstanceVariable, sipName_transformNode, (PyMethodDef *)varget_QQuickItem_UpdatePaintNodeData_transformNode, (PyMethodDef *)varset_QQuickItem_UpdatePaintNodeData_transformNode, NULL, NULL},
};

PyDoc_STRVAR(doc_QQuickItem_UpdatePaintNodeData, "\1QQuickItem.UpdatePaintNodeData(QQuickItem.UpdatePaintNodeData)");


static pyqt5ClassPluginDef plugin_QQuickItem_UpdatePaintNodeData = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickItem_UpdatePaintNodeData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem__UpdatePaintNodeData,
        {0},
        &plugin_QQuickItem_UpdatePaintNodeData
    },
    {
        sipNameNr_UpdatePaintNodeData,
        {7, 255, 0},
        0, 0,
        0, 0,
        1, variables_QQuickItem_UpdatePaintNodeData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickItem_UpdatePaintNodeData,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QQuickItem_UpdatePaintNodeData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickItem_UpdatePaintNodeData,
    0,
    0,
    0,
    release_QQuickItem_UpdatePaintNodeData,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 38599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 38603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 38606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QQuickItem_ItemChangeData(void *, int);}
static void release_QQuickItem_ItemChangeData(void *sipCppV, int)
{
    delete reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipCppV);
}


extern "C" {static void dealloc_QQuickItem_ItemChangeData(sipSimpleWrapper *);}
static void dealloc_QQuickItem_ItemChangeData(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickItem_ItemChangeData(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QQuickItem_ItemChangeData(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickItem_ItemChangeData(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QQuickItem::ItemChangeData *sipCpp = 0;

    {
         ::QQuickItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QQuickItem, &a0))
        {
            sipCpp = new  ::QQuickItem::ItemChangeData(a0);

            return sipCpp;
        }
    }

    {
         ::QQuickWindow* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QQuickWindow, &a0))
        {
            sipCpp = new  ::QQuickItem::ItemChangeData(a0);

            return sipCpp;
        }
    }

    {
         ::qreal a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "Xd", &a0))
        {
            sipCpp = new  ::QQuickItem::ItemChangeData(a0);

            return sipCpp;
        }
    }

    {
        bool a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "Xb", &a0))
        {
            sipCpp = new  ::QQuickItem::ItemChangeData(a0);

            return sipCpp;
        }
    }

    {
        const  ::QQuickItem::ItemChangeData* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QQuickItem_ItemChangeData, &a0))
        {
            sipCpp = new  ::QQuickItem::ItemChangeData(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QQuickItem_ItemChangeData_boolValue(void *, PyObject *, PyObject *);}
static PyObject *varget_QQuickItem_ItemChangeData_boolValue(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    sipVal = sipCpp->boolValue;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QQuickItem_ItemChangeData_boolValue(void *, PyObject *, PyObject *);}
static int varset_QQuickItem_ItemChangeData_boolValue(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->boolValue = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QQuickItem_ItemChangeData_item(void *, PyObject *, PyObject *);}
static PyObject *varget_QQuickItem_ItemChangeData_item(void *sipSelf, PyObject *, PyObject *)
{
     ::QQuickItem*sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    sipVal = sipCpp->item;

    return sipConvertFromType(sipVal, sipType_QQuickItem, NULL);
}


extern "C" {static int varset_QQuickItem_ItemChangeData_item(void *, PyObject *, PyObject *);}
static int varset_QQuickItem_ItemChangeData_item(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QQuickItem*sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QQuickItem *>(sipForceConvertToType(sipPy,sipType_QQuickItem,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->item = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QQuickItem_ItemChangeData_realValue(void *, PyObject *, PyObject *);}
static PyObject *varget_QQuickItem_ItemChangeData_realValue(void *sipSelf, PyObject *, PyObject *)
{
     ::qreal sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    sipVal = sipCpp->realValue;

    return PyFloat_FromDouble(sipVal);
}


extern "C" {static int varset_QQuickItem_ItemChangeData_realValue(void *, PyObject *, PyObject *);}
static int varset_QQuickItem_ItemChangeData_realValue(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::qreal sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    sipVal = PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->realValue = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QQuickItem_ItemChangeData_window(void *, PyObject *, PyObject *);}
static PyObject *varget_QQuickItem_ItemChangeData_window(void *sipSelf, PyObject *, PyObject *)
{
     ::QQuickWindow*sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    sipVal = sipCpp->window;

    return sipConvertFromType(sipVal, sipType_QQuickWindow, NULL);
}


extern "C" {static int varset_QQuickItem_ItemChangeData_window(void *, PyObject *, PyObject *);}
static int varset_QQuickItem_ItemChangeData_window(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QQuickWindow*sipVal;
     ::QQuickItem::ItemChangeData *sipCpp = reinterpret_cast< ::QQuickItem::ItemChangeData *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QQuickWindow *>(sipForceConvertToType(sipPy,sipType_QQuickWindow,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->window = sipVal;

    return 0;
}

sipVariableDef variables_QQuickItem_ItemChangeData[] = {
    {InstanceVariable, sipName_boolValue, (PyMethodDef *)varget_QQuickItem_ItemChangeData_boolValue, (PyMethodDef *)varset_QQuickItem_ItemChangeData_boolValue, NULL, NULL},
    {InstanceVariable, sipName_item, (PyMethodDef *)varget_QQuickItem_ItemChangeData_item, (PyMethodDef *)varset_QQuickItem_ItemChangeData_item, NULL, NULL},
    {InstanceVariable, sipName_realValue, (PyMethodDef *)varget_QQuickItem_ItemChangeData_realValue, (PyMethodDef *)varset_QQuickItem_ItemChangeData_realValue, NULL, NULL},
    {InstanceVariable, sipName_window, (PyMethodDef *)varget_QQuickItem_ItemChangeData_window, (PyMethodDef *)varset_QQuickItem_ItemChangeData_window, NULL, NULL},
};

PyDoc_STRVAR(doc_QQuickItem_ItemChangeData, "\1QQuickItem.ItemChangeData(QQuickItem)\n"
    "QQuickItem.ItemChangeData(QQuickWindow)\n"
    "QQuickItem.ItemChangeData(float)\n"
    "QQuickItem.ItemChangeData(bool)\n"
    "QQuickItem.ItemChangeData(QQuickItem.ItemChangeData)");


static pyqt5ClassPluginDef plugin_QQuickItem_ItemChangeData = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickItem_ItemChangeData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem__ItemChangeData,
        {0},
        &plugin_QQuickItem_ItemChangeData
    },
    {
        sipNameNr_ItemChangeData,
        {7, 255, 0},
        0, 0,
        0, 0,
        4, variables_QQuickItem_ItemChangeData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickItem_ItemChangeData,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QQuickItem_ItemChangeData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickItem_ItemChangeData,
    0,
    0,
    0,
    release_QQuickItem_ItemChangeData,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 38884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 38888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


extern "C" {static long slot_QQuickItem_Flags___hash__(PyObject *);}
static long slot_QQuickItem_Flags___hash__(PyObject *sipSelf)
{
     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QQuickItem::Flags::Int();
#line 38906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QQuickItem_Flags___bool__(PyObject *);}
static int slot_QQuickItem_Flags___bool__(PyObject *sipSelf)
{
     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickItem::Flags::Int() != 0);
#line 38931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QQuickItem_Flags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickItem_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickItem::Flags::Int() != a0->operator QQuickItem::Flags::Int());
#line 38961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QQuickItem::Flags *>(a0),sipType_QQuickItem_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, ne_slot, sipType_QQuickItem_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QQuickItem_Flags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickItem_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickItem::Flags::Int() == a0->operator QQuickItem::Flags::Int());
#line 38997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(const_cast< ::QQuickItem::Flags *>(a0),sipType_QQuickItem_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, eq_slot, sipType_QQuickItem_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QQuickItem_Flags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickItem_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QQuickItem::Flags(*sipCpp ^ a0);
#line 39036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickItem_Flags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickItem_Flags, &a0, &a0State, &a1))
        {
             ::QQuickItem::Flags*sipRes;

            sipRes = new  ::QQuickItem::Flags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QQuickItem_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickItem_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickItem_Flags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickItem_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QQuickItem::Flags(*sipCpp | a0);
#line 39108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickItem_Flags___or__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickItem_Flags, &a0, &a0State, &a1))
        {
             ::QQuickItem::Flags*sipRes;

            sipRes = new  ::QQuickItem::Flags((*a0 | a1));
            sipReleaseType(a0,sipType_QQuickItem_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickItem_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickItem_Flags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QQuickItem_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QQuickItem::Flags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QQuickItem_Flags___and__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickItem_Flags, &a0, &a0State, &a1))
        {
             ::QQuickItem::Flags*sipRes;

            sipRes = new  ::QQuickItem::Flags((*a0 & a1));
            sipReleaseType(a0,sipType_QQuickItem_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickItem_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QQuickItem_Flags___invert__(PyObject *);}
static PyObject *slot_QQuickItem_Flags___invert__(PyObject *sipSelf)
{
     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QQuickItem::Flags*sipRes;

            sipRes = new  ::QQuickItem::Flags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QQuickItem_Flags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QQuickItem_Flags___int__(PyObject *);}
static PyObject *slot_QQuickItem_Flags___int__(PyObject *sipSelf)
{
     ::QQuickItem::Flags *sipCpp = reinterpret_cast< ::QQuickItem::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QQuickItem_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickItem_Flags(void *, int);}
static void release_QQuickItem_Flags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QQuickItem::Flags *>(sipCppV);
}


extern "C" {static void assign_QQuickItem_Flags(void *, SIP_SSIZE_T, const void *);}
static void assign_QQuickItem_Flags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QQuickItem::Flags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QQuickItem::Flags *>(sipSrc);
}


extern "C" {static void *array_QQuickItem_Flags(SIP_SSIZE_T);}
static void *array_QQuickItem_Flags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QQuickItem::Flags[sipNrElem];
}


extern "C" {static void *copy_QQuickItem_Flags(const void *, SIP_SSIZE_T);}
static void *copy_QQuickItem_Flags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QQuickItem::Flags(reinterpret_cast<const  ::QQuickItem::Flags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QQuickItem_Flags(sipSimpleWrapper *);}
static void dealloc_QQuickItem_Flags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickItem_Flags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QQuickItem_Flags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickItem_Flags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QQuickItem::Flags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QQuickItem::Flags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QQuickItem::Flags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QQuickItem::Flags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QQuickItem_Flags, &a0, &a0State))
        {
            sipCpp = new  ::QQuickItem::Flags(*a0);
            sipReleaseType(const_cast< ::QQuickItem::Flags *>(a0),sipType_QQuickItem_Flags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QQuickItem_Flags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QQuickItem_Flags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QQuickItem::Flags **sipCppPtr = reinterpret_cast< ::QQuickItem::Flags **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QQuickItem::Flags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QQuickItem_Flag)) ||
            sipCanConvertToType(sipPy, sipType_QQuickItem_Flags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QQuickItem_Flag)))
{
    *sipCppPtr = new QQuickItem::Flags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QQuickItem::Flags *>(sipConvertToType(sipPy, sipType_QQuickItem_Flags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 39376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QQuickItem_Flags[] = {
    {(void *)slot_QQuickItem_Flags___hash__, hash_slot},
    {(void *)slot_QQuickItem_Flags___bool__, bool_slot},
    {(void *)slot_QQuickItem_Flags___ne__, ne_slot},
    {(void *)slot_QQuickItem_Flags___eq__, eq_slot},
    {(void *)slot_QQuickItem_Flags___ixor__, ixor_slot},
    {(void *)slot_QQuickItem_Flags___xor__, xor_slot},
    {(void *)slot_QQuickItem_Flags___ior__, ior_slot},
    {(void *)slot_QQuickItem_Flags___or__, or_slot},
    {(void *)slot_QQuickItem_Flags___iand__, iand_slot},
    {(void *)slot_QQuickItem_Flags___and__, and_slot},
    {(void *)slot_QQuickItem_Flags___invert__, invert_slot},
    {(void *)slot_QQuickItem_Flags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QQuickItem_Flags, "\1QQuickItem.Flags()\n"
    "QQuickItem.Flags(Union[QQuickItem.Flags, QQuickItem.Flag])\n"
    "QQuickItem.Flags(QQuickItem.Flags)");


static pyqt5ClassPluginDef plugin_QQuickItem_Flags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickItem_Flags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem__Flags,
        {0},
        &plugin_QQuickItem_Flags
    },
    {
        sipNameNr_Flags,
        {7, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickItem_Flags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QQuickItem_Flags,
    init_type_QQuickItem_Flags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickItem_Flags,
    assign_QQuickItem_Flags,
    array_QQuickItem_Flags,
    copy_QQuickItem_Flags,
    release_QQuickItem_Flags,
    0,
    convertTo_QQuickItem_Flags,
    0,
    0,
    0,
    0,
    0
};

#line 84 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 39462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 39466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 39472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 39475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 39478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 39481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 39484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 39487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickAsyncImageProvider : public  ::QQuickAsyncImageProvider
{
public:
    sipQQuickAsyncImageProvider();
    sipQQuickAsyncImageProvider(const  ::QQuickAsyncImageProvider&);
    virtual ~sipQQuickAsyncImageProvider();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QQuickImageResponse* requestImageResponse(const  ::QString&,const  ::QSize&);
     ::QQmlImageProviderBase::Flags flags() const;
     ::QQmlImageProviderBase::ImageType imageType() const;
     ::QImage requestImage(const  ::QString&, ::QSize*,const  ::QSize&);
     ::QPixmap requestPixmap(const  ::QString&, ::QSize*,const  ::QSize&);
     ::QQuickTextureFactory* requestTexture(const  ::QString&, ::QSize*,const  ::QSize&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickAsyncImageProvider(const sipQQuickAsyncImageProvider &);
    sipQQuickAsyncImageProvider &operator = (const sipQQuickAsyncImageProvider &);

    char sipPyMethods[6];
};

sipQQuickAsyncImageProvider::sipQQuickAsyncImageProvider():  ::QQuickAsyncImageProvider(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickAsyncImageProvider::sipQQuickAsyncImageProvider(const  ::QQuickAsyncImageProvider& a0):  ::QQuickAsyncImageProvider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickAsyncImageProvider::~sipQQuickAsyncImageProvider()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QQuickImageResponse* sipQQuickAsyncImageProvider::requestImageResponse(const  ::QString& a0,const  ::QSize& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QQuickAsyncImageProvider,sipName_requestImageResponse);

    if (!sipMeth)
        return 0;

    extern  ::QQuickImageResponse* sipVH_QtQuick_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,const  ::QSize&);

    return sipVH_QtQuick_40(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QQmlImageProviderBase::Flags sipQQuickAsyncImageProvider::flags() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QQuickAsyncImageProvider::flags();

    extern  ::QQmlImageProviderBase::Flags sipVH_QtQuick_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_33(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QQmlImageProviderBase::ImageType sipQQuickAsyncImageProvider::imageType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_imageType);

    if (!sipMeth)
        return  ::QQuickAsyncImageProvider::imageType();

    extern  ::QQmlImageProviderBase::ImageType sipVH_QtQuick_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_34(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QImage sipQQuickAsyncImageProvider::requestImage(const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_requestImage);

    if (!sipMeth)
        return  ::QQuickAsyncImageProvider::requestImage(a0,a1,a2);

    extern  ::QImage sipVH_QtQuick_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QSize*,const  ::QSize&);

    return sipVH_QtQuick_35(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPixmap sipQQuickAsyncImageProvider::requestPixmap(const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_requestPixmap);

    if (!sipMeth)
        return  ::QQuickAsyncImageProvider::requestPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_QtQuick_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QSize*,const  ::QSize&);

    return sipVH_QtQuick_36(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QQuickTextureFactory* sipQQuickAsyncImageProvider::requestTexture(const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_requestTexture);

    if (!sipMeth)
        return  ::QQuickAsyncImageProvider::requestTexture(a0,a1,a2);

    extern  ::QQuickTextureFactory* sipVH_QtQuick_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QSize*,const  ::QSize&);

    return sipVH_QtQuick_37(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QQuickAsyncImageProvider_requestImageResponse, "requestImageResponse(self, str, QSize) -> QQuickImageResponse");

extern "C" {static PyObject *meth_QQuickAsyncImageProvider_requestImageResponse(PyObject *, PyObject *);}
static PyObject *meth_QQuickAsyncImageProvider_requestImageResponse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QSize* a1;
         ::QQuickAsyncImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QQuickAsyncImageProvider, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a1))
        {
             ::QQuickImageResponse*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QQuickAsyncImageProvider, sipName_requestImageResponse);
                return NULL;
            }

            sipRes = sipCpp->requestImageResponse(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QQuickImageResponse,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickAsyncImageProvider, sipName_requestImageResponse, doc_QQuickAsyncImageProvider_requestImageResponse);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickAsyncImageProvider(void *, const sipTypeDef *);}
static void *cast_QQuickAsyncImageProvider(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickAsyncImageProvider *sipCpp = reinterpret_cast< ::QQuickAsyncImageProvider *>(sipCppV);

    if (targetType == sipType_QQuickImageProvider)
        return static_cast< ::QQuickImageProvider *>(sipCpp);

    if (targetType == sipType_QQmlImageProviderBase)
        return static_cast< ::QQmlImageProviderBase *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickAsyncImageProvider(void *, int);}
static void release_QQuickAsyncImageProvider(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQQuickAsyncImageProvider *>(sipCppV);
    else
        delete reinterpret_cast< ::QQuickAsyncImageProvider *>(sipCppV);
}


extern "C" {static void dealloc_QQuickAsyncImageProvider(sipSimpleWrapper *);}
static void dealloc_QQuickAsyncImageProvider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickAsyncImageProvider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickAsyncImageProvider(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickAsyncImageProvider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickAsyncImageProvider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQQuickAsyncImageProvider *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQQuickAsyncImageProvider();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QQuickAsyncImageProvider* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QQuickAsyncImageProvider, &a0))
        {
            sipCpp = new sipQQuickAsyncImageProvider(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickAsyncImageProvider[] = {{5, 255, 1}};


static PyMethodDef methods_QQuickAsyncImageProvider[] = {
    {SIP_MLNAME_CAST(sipName_requestImageResponse), meth_QQuickAsyncImageProvider_requestImageResponse, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickAsyncImageProvider_requestImageResponse)}
};

PyDoc_STRVAR(doc_QQuickAsyncImageProvider, "\1QQuickAsyncImageProvider()\n"
    "QQuickAsyncImageProvider(QQuickAsyncImageProvider)");


static pyqt5ClassPluginDef plugin_QQuickAsyncImageProvider = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickAsyncImageProvider = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickAsyncImageProvider,
        {0},
        &plugin_QQuickAsyncImageProvider
    },
    {
        sipNameNr_QQuickAsyncImageProvider,
        {0, 0, 1},
        1, methods_QQuickAsyncImageProvider,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickAsyncImageProvider,
    -1,
    -1,
    supers_QQuickAsyncImageProvider,
    0,
    init_type_QQuickAsyncImageProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickAsyncImageProvider,
    0,
    0,
    0,
    release_QQuickAsyncImageProvider,
    cast_QQuickAsyncImageProvider,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 39809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 39816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 39819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 39831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 39834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 39840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 39849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 39855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 39858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 39861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickImageResponse : public  ::QQuickImageResponse
{
public:
    sipQQuickImageResponse();
    virtual ~sipQQuickImageResponse();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void cancel();
     ::QString errorString() const;
     ::QQuickTextureFactory* textureFactory() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickImageResponse(const sipQQuickImageResponse &);
    sipQQuickImageResponse &operator = (const sipQQuickImageResponse &);

    char sipPyMethods[10];
};

sipQQuickImageResponse::sipQQuickImageResponse():  ::QQuickImageResponse(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickImageResponse::~sipQQuickImageResponse()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickImageResponse::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickImageResponse);

    return  ::QQuickImageResponse::metaObject();
}

int sipQQuickImageResponse::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickImageResponse::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickImageResponse,_c,_id,_a);

    return _id;
}

void *sipQQuickImageResponse::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickImageResponse, _clname, &sipCpp) ? sipCpp :  ::QQuickImageResponse::qt_metacast(_clname));
}

void sipQQuickImageResponse::cancel()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_cancel);

    if (!sipMeth)
    {
         ::QQuickImageResponse::cancel();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QString sipQQuickImageResponse::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_errorString);

    if (!sipMeth)
        return  ::QQuickImageResponse::errorString();

    extern  ::QString sipVH_QtQuick_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_39(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QQuickTextureFactory* sipQQuickImageResponse::textureFactory() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_QQuickImageResponse,sipName_textureFactory);

    if (!sipMeth)
        return 0;

    extern  ::QQuickTextureFactory* sipVH_QtQuick_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_38(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQQuickImageResponse::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickImageResponse::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickImageResponse::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickImageResponse::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickImageResponse::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickImageResponse::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickImageResponse::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickImageResponse::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickImageResponse::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickImageResponse::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickImageResponse::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickImageResponse::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickImageResponse::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickImageResponse::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickImageResponse::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickImageResponse::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickImageResponse::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickImageResponse::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickImageResponse::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickImageResponse::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickImageResponse::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickImageResponse::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickImageResponse::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QQuickImageResponse_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickImageResponse_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickImageResponse, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 40206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_sender, doc_QQuickImageResponse_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickImageResponse_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickImageResponse, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 40266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_receivers, doc_QQuickImageResponse_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickImageResponse_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickImageResponse, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_timerEvent, doc_QQuickImageResponse_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickImageResponse_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickImageResponse, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_childEvent, doc_QQuickImageResponse_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickImageResponse_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickImageResponse, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_customEvent, doc_QQuickImageResponse_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickImageResponse_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickImageResponse, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_connectNotify, doc_QQuickImageResponse_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickImageResponse_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickImageResponse, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_disconnectNotify, doc_QQuickImageResponse_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickImageResponse_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickImageResponse, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_senderSignalIndex, doc_QQuickImageResponse_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickImageResponse_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickImageResponse *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickImageResponse, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_isSignalConnected, doc_QQuickImageResponse_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_textureFactory, "textureFactory(self) -> QQuickTextureFactory");

extern "C" {static PyObject *meth_QQuickImageResponse_textureFactory(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_textureFactory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QQuickImageResponse *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickImageResponse, &sipCpp))
        {
             ::QQuickTextureFactory*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QQuickImageResponse, sipName_textureFactory);
                return NULL;
            }

            sipRes = sipCpp->textureFactory();

            return sipConvertFromNewType(sipRes,sipType_QQuickTextureFactory,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_textureFactory, doc_QQuickImageResponse_textureFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QQuickImageResponse_errorString(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickImageResponse *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickImageResponse, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::QQuickImageResponse::errorString() : sipCpp->errorString()));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_errorString, doc_QQuickImageResponse_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageResponse_cancel, "cancel(self)");

extern "C" {static PyObject *meth_QQuickImageResponse_cancel(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageResponse_cancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickImageResponse *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickImageResponse, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QQuickImageResponse::cancel() : sipCpp->cancel());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageResponse, sipName_cancel, doc_QQuickImageResponse_cancel);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickImageResponse(void *, const sipTypeDef *);}
static void *cast_QQuickImageResponse(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickImageResponse *sipCpp = reinterpret_cast< ::QQuickImageResponse *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickImageResponse(void *, int);}
static void release_QQuickImageResponse(void *sipCppV, int)
{
     ::QQuickImageResponse *sipCpp = reinterpret_cast< ::QQuickImageResponse *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickImageResponse(sipSimpleWrapper *);}
static void dealloc_QQuickImageResponse(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickImageResponse *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickImageResponse(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickImageResponse(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickImageResponse(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQQuickImageResponse *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQQuickImageResponse();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickImageResponse[] = {{3, 0, 1}};


static PyMethodDef methods_QQuickImageResponse[] = {
    {SIP_MLNAME_CAST(sipName_cancel), meth_QQuickImageResponse_cancel, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageResponse_cancel)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickImageResponse_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickImageResponse_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickImageResponse_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickImageResponse_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QQuickImageResponse_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageResponse_errorString)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickImageResponse_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickImageResponse_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickImageResponse_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickImageResponse_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textureFactory), meth_QQuickImageResponse_textureFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageResponse_textureFactory)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickImageResponse_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QQuickImageResponse, "\1QQuickImageResponse()");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickImageResponse[] = {
    {"finished()", "\1finished(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickImageResponse = {
    & ::QQuickImageResponse::staticMetaObject,
    0,
    signals_QQuickImageResponse,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickImageResponse = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickImageResponse,
        {0},
        &plugin_QQuickImageResponse
    },
    {
        sipNameNr_QQuickImageResponse,
        {0, 0, 1},
        12, methods_QQuickImageResponse,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickImageResponse,
    -1,
    -1,
    supers_QQuickImageResponse,
    0,
    init_type_QQuickImageResponse,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickImageResponse,
    0,
    0,
    0,
    release_QQuickImageResponse,
    cast_QQuickImageResponse,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 40729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 40733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 40736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 40739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 40745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 40748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 40751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickImageProvider : public  ::QQuickImageProvider
{
public:
    sipQQuickImageProvider( ::QQmlImageProviderBase::ImageType, ::QQmlImageProviderBase::Flags);
    sipQQuickImageProvider(const  ::QQuickImageProvider&);
    virtual ~sipQQuickImageProvider();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QQuickTextureFactory* requestTexture(const  ::QString&, ::QSize*,const  ::QSize&);
     ::QPixmap requestPixmap(const  ::QString&, ::QSize*,const  ::QSize&);
     ::QImage requestImage(const  ::QString&, ::QSize*,const  ::QSize&);
     ::QQmlImageProviderBase::ImageType imageType() const;
     ::QQmlImageProviderBase::Flags flags() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickImageProvider(const sipQQuickImageProvider &);
    sipQQuickImageProvider &operator = (const sipQQuickImageProvider &);

    char sipPyMethods[5];
};

sipQQuickImageProvider::sipQQuickImageProvider( ::QQmlImageProviderBase::ImageType a0, ::QQmlImageProviderBase::Flags a1):  ::QQuickImageProvider(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickImageProvider::sipQQuickImageProvider(const  ::QQuickImageProvider& a0):  ::QQuickImageProvider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickImageProvider::~sipQQuickImageProvider()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QQuickTextureFactory* sipQQuickImageProvider::requestTexture(const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_requestTexture);

    if (!sipMeth)
        return  ::QQuickImageProvider::requestTexture(a0,a1,a2);

    extern  ::QQuickTextureFactory* sipVH_QtQuick_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QSize*,const  ::QSize&);

    return sipVH_QtQuick_37(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPixmap sipQQuickImageProvider::requestPixmap(const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_requestPixmap);

    if (!sipMeth)
        return  ::QQuickImageProvider::requestPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_QtQuick_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QSize*,const  ::QSize&);

    return sipVH_QtQuick_36(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QImage sipQQuickImageProvider::requestImage(const  ::QString& a0, ::QSize*a1,const  ::QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_requestImage);

    if (!sipMeth)
        return  ::QQuickImageProvider::requestImage(a0,a1,a2);

    extern  ::QImage sipVH_QtQuick_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QSize*,const  ::QSize&);

    return sipVH_QtQuick_35(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QQmlImageProviderBase::ImageType sipQQuickImageProvider::imageType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_imageType);

    if (!sipMeth)
        return  ::QQuickImageProvider::imageType();

    extern  ::QQmlImageProviderBase::ImageType sipVH_QtQuick_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_34(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QQmlImageProviderBase::Flags sipQQuickImageProvider::flags() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QQuickImageProvider::flags();

    extern  ::QQmlImageProviderBase::Flags sipVH_QtQuick_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_33(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QQuickImageProvider_imageType, "imageType(self) -> QQmlImageProviderBase.ImageType");

extern "C" {static PyObject *meth_QQuickImageProvider_imageType(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageProvider_imageType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickImageProvider, &sipCpp))
        {
             ::QQmlImageProviderBase::ImageType sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickImageProvider::imageType() : sipCpp->imageType());

            return sipConvertFromEnum(sipRes,sipType_QQmlImageProviderBase_ImageType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageProvider, sipName_imageType, doc_QQuickImageProvider_imageType);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageProvider_flags, "flags(self) -> QQmlImageProviderBase.Flags");

extern "C" {static PyObject *meth_QQuickImageProvider_flags(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageProvider_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickImageProvider, &sipCpp))
        {
             ::QQmlImageProviderBase::Flags*sipRes;

            sipRes = new  ::QQmlImageProviderBase::Flags((sipSelfWasArg ? sipCpp-> ::QQuickImageProvider::flags() : sipCpp->flags()));

            return sipConvertFromNewType(sipRes,sipType_QQmlImageProviderBase_Flags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageProvider, sipName_flags, doc_QQuickImageProvider_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageProvider_requestImage, "requestImage(self, str, QSize) -> Tuple[QImage, QSize]");

extern "C" {static PyObject *meth_QQuickImageProvider_requestImage(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageProvider_requestImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSize* a1;
        const  ::QSize* a2;
         ::QQuickImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QQuickImageProvider, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a2))
        {
             ::QImage*sipRes;
            a1 = new  ::QSize();

            sipRes = new  ::QImage((sipSelfWasArg ? sipCpp-> ::QQuickImageProvider::requestImage(*a0,a1,*a2) : sipCpp->requestImage(*a0,a1,*a2)));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QImage,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageProvider, sipName_requestImage, doc_QQuickImageProvider_requestImage);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageProvider_requestPixmap, "requestPixmap(self, str, QSize) -> Tuple[QPixmap, QSize]");

extern "C" {static PyObject *meth_QQuickImageProvider_requestPixmap(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageProvider_requestPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSize* a1;
        const  ::QSize* a2;
         ::QQuickImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QQuickImageProvider, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a2))
        {
             ::QPixmap*sipRes;
            a1 = new  ::QSize();

            sipRes = new  ::QPixmap((sipSelfWasArg ? sipCpp-> ::QQuickImageProvider::requestPixmap(*a0,a1,*a2) : sipCpp->requestPixmap(*a0,a1,*a2)));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageProvider, sipName_requestPixmap, doc_QQuickImageProvider_requestPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickImageProvider_requestTexture, "requestTexture(self, str, QSize) -> Tuple[QQuickTextureFactory, QSize]");

extern "C" {static PyObject *meth_QQuickImageProvider_requestTexture(PyObject *, PyObject *);}
static PyObject *meth_QQuickImageProvider_requestTexture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSize* a1;
        const  ::QSize* a2;
         ::QQuickImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QQuickImageProvider, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a2))
        {
             ::QQuickTextureFactory*sipRes;
            a1 = new  ::QSize();

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickImageProvider::requestTexture(*a0,a1,*a2) : sipCpp->requestTexture(*a0,a1,*a2));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QQuickTextureFactory,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickImageProvider, sipName_requestTexture, doc_QQuickImageProvider_requestTexture);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickImageProvider(void *, const sipTypeDef *);}
static void *cast_QQuickImageProvider(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickImageProvider *sipCpp = reinterpret_cast< ::QQuickImageProvider *>(sipCppV);

    if (targetType == sipType_QQmlImageProviderBase)
        return static_cast< ::QQmlImageProviderBase *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickImageProvider(void *, int);}
static void release_QQuickImageProvider(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQQuickImageProvider *>(sipCppV);
    else
        delete reinterpret_cast< ::QQuickImageProvider *>(sipCppV);
}


extern "C" {static void dealloc_QQuickImageProvider(sipSimpleWrapper *);}
static void dealloc_QQuickImageProvider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickImageProvider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickImageProvider(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickImageProvider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickImageProvider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQQuickImageProvider *sipCpp = 0;

    {
         ::QQmlImageProviderBase::ImageType a0;
         ::QQmlImageProviderBase::Flags a1def = 0;
         ::QQmlImageProviderBase::Flags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|J1", sipType_QQmlImageProviderBase_ImageType, &a0, sipType_QQmlImageProviderBase_Flags, &a1, &a1State))
        {
            sipCpp = new sipQQuickImageProvider(a0,*a1);
            sipReleaseType(a1,sipType_QQmlImageProviderBase_Flags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QQuickImageProvider* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QQuickImageProvider, &a0))
        {
            sipCpp = new sipQQuickImageProvider(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickImageProvider[] = {{3, 2, 1}};


static PyMethodDef methods_QQuickImageProvider[] = {
    {SIP_MLNAME_CAST(sipName_flags), meth_QQuickImageProvider_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageProvider_flags)},
    {SIP_MLNAME_CAST(sipName_imageType), meth_QQuickImageProvider_imageType, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageProvider_imageType)},
    {SIP_MLNAME_CAST(sipName_requestImage), meth_QQuickImageProvider_requestImage, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageProvider_requestImage)},
    {SIP_MLNAME_CAST(sipName_requestPixmap), meth_QQuickImageProvider_requestPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageProvider_requestPixmap)},
    {SIP_MLNAME_CAST(sipName_requestTexture), meth_QQuickImageProvider_requestTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickImageProvider_requestTexture)}
};

PyDoc_STRVAR(doc_QQuickImageProvider, "\1QQuickImageProvider(QQmlImageProviderBase.ImageType, flags: Union[QQmlImageProviderBase.Flags, QQmlImageProviderBase.Flag] = 0)\n"
    "QQuickImageProvider(QQuickImageProvider)");


static pyqt5ClassPluginDef plugin_QQuickImageProvider = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickImageProvider = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickImageProvider,
        {0},
        &plugin_QQuickImageProvider
    },
    {
        sipNameNr_QQuickImageProvider,
        {0, 0, 1},
        5, methods_QQuickImageProvider,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickImageProvider,
    -1,
    -1,
    supers_QQuickImageProvider,
    0,
    init_type_QQuickImageProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickImageProvider,
    0,
    0,
    0,
    release_QQuickImageProvider,
    cast_QQuickImageProvider,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 41196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 41200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 41203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 41206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 41209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 41212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 41224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 41227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 41230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 41233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 41239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 41245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 41251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 41254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 41257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickTextureFactory : public  ::QQuickTextureFactory
{
public:
    sipQQuickTextureFactory();
    virtual ~sipQQuickTextureFactory();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QImage image() const;
    int textureByteCount() const;
     ::QSize textureSize() const;
     ::QSGTexture* createTexture( ::QQuickWindow*) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickTextureFactory(const sipQQuickTextureFactory &);
    sipQQuickTextureFactory &operator = (const sipQQuickTextureFactory &);

    char sipPyMethods[11];
};

sipQQuickTextureFactory::sipQQuickTextureFactory():  ::QQuickTextureFactory(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickTextureFactory::~sipQQuickTextureFactory()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickTextureFactory::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickTextureFactory);

    return  ::QQuickTextureFactory::metaObject();
}

int sipQQuickTextureFactory::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickTextureFactory::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickTextureFactory,_c,_id,_a);

    return _id;
}

void *sipQQuickTextureFactory::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickTextureFactory, _clname, &sipCpp) ? sipCpp :  ::QQuickTextureFactory::qt_metacast(_clname));
}

 ::QImage sipQQuickTextureFactory::image() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_image);

    if (!sipMeth)
        return  ::QQuickTextureFactory::image();

    extern  ::QImage sipVH_QtQuick_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_32(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQQuickTextureFactory::textureByteCount() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QQuickTextureFactory,sipName_textureByteCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtQuick_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_31(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQQuickTextureFactory::textureSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_QQuickTextureFactory,sipName_textureSize);

    if (!sipMeth)
        return  ::QSize();

    extern  ::QSize sipVH_QtQuick_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_30(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGTexture* sipQQuickTextureFactory::createTexture( ::QQuickWindow*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,sipName_QQuickTextureFactory,sipName_createTexture);

    if (!sipMeth)
        return 0;

    extern  ::QSGTexture* sipVH_QtQuick_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickWindow*);

    return sipVH_QtQuick_29(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickTextureFactory::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickTextureFactory::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickTextureFactory::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickTextureFactory::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickTextureFactory::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickTextureFactory::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextureFactory::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickTextureFactory::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextureFactory::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickTextureFactory::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextureFactory::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickTextureFactory::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickTextureFactory::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickTextureFactory::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickTextureFactory::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickTextureFactory::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickTextureFactory::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickTextureFactory::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickTextureFactory::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickTextureFactory::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickTextureFactory::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickTextureFactory::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickTextureFactory::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QQuickTextureFactory_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickTextureFactory_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickTextureFactory, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 41615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_sender, doc_QQuickTextureFactory_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickTextureFactory_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 41675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_receivers, doc_QQuickTextureFactory_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickTextureFactory_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_timerEvent, doc_QQuickTextureFactory_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickTextureFactory_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_childEvent, doc_QQuickTextureFactory_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickTextureFactory_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_customEvent, doc_QQuickTextureFactory_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickTextureFactory_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_connectNotify, doc_QQuickTextureFactory_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickTextureFactory_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_disconnectNotify, doc_QQuickTextureFactory_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickTextureFactory_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickTextureFactory, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_senderSignalIndex, doc_QQuickTextureFactory_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickTextureFactory_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickTextureFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_isSignalConnected, doc_QQuickTextureFactory_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_createTexture, "createTexture(self, QQuickWindow) -> QSGTexture");

extern "C" {static PyObject *meth_QQuickTextureFactory_createTexture(PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_createTexture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QQuickWindow* a0;
        const  ::QQuickTextureFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickTextureFactory, &sipCpp, sipType_QQuickWindow, &a0))
        {
             ::QSGTexture*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QQuickTextureFactory, sipName_createTexture);
                return NULL;
            }

            sipRes = sipCpp->createTexture(a0);

            return sipConvertFromNewType(sipRes,sipType_QSGTexture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_createTexture, doc_QQuickTextureFactory_createTexture);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_textureSize, "textureSize(self) -> QSize");

extern "C" {static PyObject *meth_QQuickTextureFactory_textureSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_textureSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QQuickTextureFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickTextureFactory, &sipCpp))
        {
             ::QSize*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QQuickTextureFactory, sipName_textureSize);
                return NULL;
            }

            sipRes = new  ::QSize(sipCpp->textureSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_textureSize, doc_QQuickTextureFactory_textureSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_textureByteCount, "textureByteCount(self) -> int");

extern "C" {static PyObject *meth_QQuickTextureFactory_textureByteCount(PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_textureByteCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QQuickTextureFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickTextureFactory, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QQuickTextureFactory, sipName_textureByteCount);
                return NULL;
            }

            sipRes = sipCpp->textureByteCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_textureByteCount, doc_QQuickTextureFactory_textureByteCount);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_image, "image(self) -> QImage");

extern "C" {static PyObject *meth_QQuickTextureFactory_image(PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickTextureFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickTextureFactory, &sipCpp))
        {
             ::QImage*sipRes;

            sipRes = new  ::QImage((sipSelfWasArg ? sipCpp-> ::QQuickTextureFactory::image() : sipCpp->image()));

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_image, doc_QQuickTextureFactory_image);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickTextureFactory_textureFactoryForImage, "textureFactoryForImage(QImage) -> QQuickTextureFactory");

extern "C" {static PyObject *meth_QQuickTextureFactory_textureFactoryForImage(PyObject *, PyObject *);}
static PyObject *meth_QQuickTextureFactory_textureFactoryForImage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImage* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QImage, &a0))
        {
             ::QQuickTextureFactory*sipRes;

            sipRes =  ::QQuickTextureFactory::textureFactoryForImage(*a0);

            return sipConvertFromNewType(sipRes,sipType_QQuickTextureFactory,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickTextureFactory, sipName_textureFactoryForImage, doc_QQuickTextureFactory_textureFactoryForImage);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickTextureFactory(void *, const sipTypeDef *);}
static void *cast_QQuickTextureFactory(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickTextureFactory *sipCpp = reinterpret_cast< ::QQuickTextureFactory *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickTextureFactory(void *, int);}
static void release_QQuickTextureFactory(void *sipCppV, int)
{
     ::QQuickTextureFactory *sipCpp = reinterpret_cast< ::QQuickTextureFactory *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickTextureFactory(sipSimpleWrapper *);}
static void dealloc_QQuickTextureFactory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickTextureFactory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickTextureFactory(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickTextureFactory(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickTextureFactory(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQQuickTextureFactory *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQQuickTextureFactory();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickTextureFactory[] = {{3, 0, 1}};


static PyMethodDef methods_QQuickTextureFactory[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickTextureFactory_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickTextureFactory_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createTexture), meth_QQuickTextureFactory_createTexture, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickTextureFactory_createTexture)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickTextureFactory_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickTextureFactory_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_QQuickTextureFactory_image, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickTextureFactory_image)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickTextureFactory_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickTextureFactory_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickTextureFactory_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickTextureFactory_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textureByteCount), meth_QQuickTextureFactory_textureByteCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickTextureFactory_textureByteCount)},
    {SIP_MLNAME_CAST(sipName_textureFactoryForImage), meth_QQuickTextureFactory_textureFactoryForImage, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickTextureFactory_textureFactoryForImage)},
    {SIP_MLNAME_CAST(sipName_textureSize), meth_QQuickTextureFactory_textureSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickTextureFactory_textureSize)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickTextureFactory_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QQuickTextureFactory, "\1QQuickTextureFactory()");


static pyqt5ClassPluginDef plugin_QQuickTextureFactory = {
    & ::QQuickTextureFactory::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickTextureFactory = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickTextureFactory,
        {0},
        &plugin_QQuickTextureFactory
    },
    {
        sipNameNr_QQuickTextureFactory,
        {0, 0, 1},
        14, methods_QQuickTextureFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickTextureFactory,
    -1,
    -1,
    supers_QQuickTextureFactory,
    0,
    init_type_QQuickTextureFactory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickTextureFactory,
    0,
    0,
    0,
    release_QQuickTextureFactory,
    cast_QQuickTextureFactory,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 42206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 42210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 42213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 42216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickFramebufferObject_Renderer : public  ::QQuickFramebufferObject::Renderer
{
public:
    sipQQuickFramebufferObject_Renderer();
    sipQQuickFramebufferObject_Renderer(const  ::QQuickFramebufferObject::Renderer&);
    virtual ~sipQQuickFramebufferObject_Renderer();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_render();
     ::QOpenGLFramebufferObject* sipProtectVirt_createFramebufferObject(bool,const  ::QSize&);
    void sipProtectVirt_synchronize(bool, ::QQuickFramebufferObject*);
     ::QOpenGLFramebufferObject* sipProtect_framebufferObject() const;
    void sipProtect_update();
    void sipProtect_invalidateFramebufferObject();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void synchronize( ::QQuickFramebufferObject*);
     ::QOpenGLFramebufferObject* createFramebufferObject(const  ::QSize&);
    void render();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuickFramebufferObject_Renderer(const sipQQuickFramebufferObject_Renderer &);
    sipQQuickFramebufferObject_Renderer &operator = (const sipQQuickFramebufferObject_Renderer &);

    char sipPyMethods[3];
};

sipQQuickFramebufferObject_Renderer::sipQQuickFramebufferObject_Renderer():  ::QQuickFramebufferObject::Renderer(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickFramebufferObject_Renderer::sipQQuickFramebufferObject_Renderer(const  ::QQuickFramebufferObject::Renderer& a0):  ::QQuickFramebufferObject::Renderer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickFramebufferObject_Renderer::~sipQQuickFramebufferObject_Renderer()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQQuickFramebufferObject_Renderer::synchronize( ::QQuickFramebufferObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_synchronize);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::Renderer::synchronize(a0);
        return;
    }

    extern void sipVH_QtQuick_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickFramebufferObject*);

    sipVH_QtQuick_28(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QOpenGLFramebufferObject* sipQQuickFramebufferObject_Renderer::createFramebufferObject(const  ::QSize& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_createFramebufferObject);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::Renderer::createFramebufferObject(a0);

    extern  ::QOpenGLFramebufferObject* sipVH_QtQuick_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QSize&);

    return sipVH_QtQuick_27(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject_Renderer::render()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_Renderer,sipName_render);

    if (!sipMeth)
        return;

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject_Renderer::sipProtect_render()
{
    render();
}

 ::QOpenGLFramebufferObject* sipQQuickFramebufferObject_Renderer::sipProtectVirt_createFramebufferObject(bool sipSelfWasArg,const  ::QSize& a0)
{
    return (sipSelfWasArg ?  ::QQuickFramebufferObject::Renderer::createFramebufferObject(a0) : createFramebufferObject(a0));
}

void sipQQuickFramebufferObject_Renderer::sipProtectVirt_synchronize(bool sipSelfWasArg, ::QQuickFramebufferObject*a0)
{
    (sipSelfWasArg ?  ::QQuickFramebufferObject::Renderer::synchronize(a0) : synchronize(a0));
}

 ::QOpenGLFramebufferObject* sipQQuickFramebufferObject_Renderer::sipProtect_framebufferObject() const
{
    return  ::QQuickFramebufferObject::Renderer::framebufferObject();
}

void sipQQuickFramebufferObject_Renderer::sipProtect_update()
{
     ::QQuickFramebufferObject::Renderer::update();
}

void sipQQuickFramebufferObject_Renderer::sipProtect_invalidateFramebufferObject()
{
     ::QQuickFramebufferObject::Renderer::invalidateFramebufferObject();
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_Renderer_render, "render(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_Renderer_render(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_Renderer_render(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        sipQQuickFramebufferObject_Renderer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject_Renderer, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_Renderer, sipName_render);
                return NULL;
            }

            sipCpp->sipProtect_render();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Renderer, sipName_render, doc_QQuickFramebufferObject_Renderer_render);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_Renderer_createFramebufferObject, "createFramebufferObject(self, QSize) -> QOpenGLFramebufferObject");

extern "C" {static PyObject *meth_QQuickFramebufferObject_Renderer_createFramebufferObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_Renderer_createFramebufferObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSize* a0;
        sipQQuickFramebufferObject_Renderer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickFramebufferObject_Renderer, &sipCpp, sipType_QSize, &a0))
        {
             ::QOpenGLFramebufferObject*sipRes;

            sipRes = sipCpp->sipProtectVirt_createFramebufferObject(sipSelfWasArg,*a0);

            return sipConvertFromType(sipRes,sipType_QOpenGLFramebufferObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Renderer, sipName_createFramebufferObject, doc_QQuickFramebufferObject_Renderer_createFramebufferObject);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_Renderer_synchronize, "synchronize(self, QQuickFramebufferObject)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_Renderer_synchronize(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_Renderer_synchronize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickFramebufferObject* a0;
        sipQQuickFramebufferObject_Renderer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject_Renderer, &sipCpp, sipType_QQuickFramebufferObject, &a0))
        {
            sipCpp->sipProtectVirt_synchronize(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Renderer, sipName_synchronize, doc_QQuickFramebufferObject_Renderer_synchronize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_Renderer_framebufferObject, "framebufferObject(self) -> QOpenGLFramebufferObject");

extern "C" {static PyObject *meth_QQuickFramebufferObject_Renderer_framebufferObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_Renderer_framebufferObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickFramebufferObject_Renderer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject_Renderer, &sipCpp))
        {
             ::QOpenGLFramebufferObject*sipRes;

            sipRes = sipCpp->sipProtect_framebufferObject();

            return sipConvertFromType(sipRes,sipType_QOpenGLFramebufferObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Renderer, sipName_framebufferObject, doc_QQuickFramebufferObject_Renderer_framebufferObject);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_Renderer_update, "update(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_Renderer_update(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_Renderer_update(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQQuickFramebufferObject_Renderer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject_Renderer, &sipCpp))
        {
            sipCpp->sipProtect_update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Renderer, sipName_update, doc_QQuickFramebufferObject_Renderer_update);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_Renderer_invalidateFramebufferObject, "invalidateFramebufferObject(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_Renderer_invalidateFramebufferObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_Renderer_invalidateFramebufferObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQQuickFramebufferObject_Renderer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject_Renderer, &sipCpp))
        {
            sipCpp->sipProtect_invalidateFramebufferObject();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Renderer, sipName_invalidateFramebufferObject, doc_QQuickFramebufferObject_Renderer_invalidateFramebufferObject);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickFramebufferObject_Renderer(void *, int);}
static void release_QQuickFramebufferObject_Renderer(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQQuickFramebufferObject_Renderer *>(sipCppV);
}


extern "C" {static void dealloc_QQuickFramebufferObject_Renderer(sipSimpleWrapper *);}
static void dealloc_QQuickFramebufferObject_Renderer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickFramebufferObject_Renderer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickFramebufferObject_Renderer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickFramebufferObject_Renderer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickFramebufferObject_Renderer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQQuickFramebufferObject_Renderer *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQQuickFramebufferObject_Renderer();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QQuickFramebufferObject::Renderer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QQuickFramebufferObject_Renderer, &a0))
        {
            sipCpp = new sipQQuickFramebufferObject_Renderer(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QQuickFramebufferObject_Renderer[] = {
    {SIP_MLNAME_CAST(sipName_createFramebufferObject), (PyCFunction)meth_QQuickFramebufferObject_Renderer_createFramebufferObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_Renderer_createFramebufferObject)},
    {SIP_MLNAME_CAST(sipName_framebufferObject), (PyCFunction)meth_QQuickFramebufferObject_Renderer_framebufferObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_Renderer_framebufferObject)},
    {SIP_MLNAME_CAST(sipName_invalidateFramebufferObject), (PyCFunction)meth_QQuickFramebufferObject_Renderer_invalidateFramebufferObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_Renderer_invalidateFramebufferObject)},
    {SIP_MLNAME_CAST(sipName_render), (PyCFunction)meth_QQuickFramebufferObject_Renderer_render, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_Renderer_render)},
    {SIP_MLNAME_CAST(sipName_synchronize), (PyCFunction)meth_QQuickFramebufferObject_Renderer_synchronize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_Renderer_synchronize)},
    {SIP_MLNAME_CAST(sipName_update), (PyCFunction)meth_QQuickFramebufferObject_Renderer_update, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_Renderer_update)}
};

PyDoc_STRVAR(doc_QQuickFramebufferObject_Renderer, "\1QQuickFramebufferObject.Renderer()\n"
    "QQuickFramebufferObject.Renderer(QQuickFramebufferObject.Renderer)");


static pyqt5ClassPluginDef plugin_QQuickFramebufferObject_Renderer = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickFramebufferObject_Renderer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickFramebufferObject__Renderer,
        {0},
        &plugin_QQuickFramebufferObject_Renderer
    },
    {
        sipNameNr_Renderer,
        {3, 255, 0},
        6, methods_QQuickFramebufferObject_Renderer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickFramebufferObject_Renderer,
    -1,
    -1,
    0,
    0,
    init_type_QQuickFramebufferObject_Renderer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickFramebufferObject_Renderer,
    0,
    0,
    0,
    release_QQuickFramebufferObject_Renderer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 42653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 42657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 42660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 42663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 42668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 42671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 42676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 42679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 42682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 42685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 42688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 238 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 714 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 42732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 42735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 42741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 42744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 42750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 42759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 42768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 42780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 42786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 42789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 42792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

sipQQuickFramebufferObject::sipQQuickFramebufferObject( ::QQuickItem*a0):  ::QQuickFramebufferObject(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickFramebufferObject::~sipQQuickFramebufferObject()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickFramebufferObject::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickFramebufferObject);

    return  ::QQuickFramebufferObject::metaObject();
}

int sipQQuickFramebufferObject::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickFramebufferObject::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickFramebufferObject,_c,_id,_a);

    return _id;
}

void *sipQQuickFramebufferObject::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickFramebufferObject, _clname, &sipCpp) ? sipCpp :  ::QQuickFramebufferObject::qt_metacast(_clname));
}

 ::QQuickFramebufferObject::Renderer* sipQQuickFramebufferObject::createRenderer() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QQuickFramebufferObject,sipName_createRenderer);

    if (!sipMeth)
        return 0;

    extern  ::QQuickFramebufferObject::Renderer* sipVH_QtQuick_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_26(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickFramebufferObject::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQQuickFramebufferObject::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_componentComplete);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::componentComplete();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_classBegin);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::classBegin();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQQuickFramebufferObject::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::contains(a0);

    extern bool sipVH_QtQuick_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtQuick_7(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQQuickFramebufferObject::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtQuick_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtQuick_8(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickFramebufferObject::isTextureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_isTextureProvider);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::isTextureProvider();

    extern bool sipVH_QtQuick_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGTextureProvider* sipQQuickFramebufferObject::textureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_textureProvider);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::textureProvider();

    extern  ::QSGTextureProvider* sipVH_QtQuick_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_10(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::itemChange( ::QQuickItem::ItemChange a0,const  ::QQuickItem::ItemChangeData& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::itemChange(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickItem::ItemChange,const  ::QQuickItem::ItemChangeData&);

    sipVH_QtQuick_11(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickFramebufferObject::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtQuick_13(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::mouseUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseUngrabEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::mouseUngrabEvent();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::touchUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_touchUngrabEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::touchUngrabEvent();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtQuick_16(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::touchEvent( ::QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_touchEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::touchEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTouchEvent*);

    sipVH_QtQuick_17(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::hoverEnterEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::hoverMoveEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::hoverLeaveEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtQuick_19(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtQuick_20(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtQuick_21(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::dropEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtQuick_22(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickFramebufferObject::childMouseEventFilter( ::QQuickItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childMouseEventFilter);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::childMouseEventFilter(a0,a1);

    extern bool sipVH_QtQuick_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickItem*, ::QEvent*);

    return sipVH_QtQuick_23(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickFramebufferObject::geometryChanged(const  ::QRectF& a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_geometryChanged);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::geometryChanged(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&,const  ::QRectF&);

    sipVH_QtQuick_24(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QSGNode* sipQQuickFramebufferObject::updatePaintNode( ::QSGNode*a0, ::QQuickItem::UpdatePaintNodeData*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_updatePaintNode);

    if (!sipMeth)
        return  ::QQuickFramebufferObject::updatePaintNode(a0,a1);

    extern  ::QSGNode* sipVH_QtQuick_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSGNode*, ::QQuickItem::UpdatePaintNodeData*);

    return sipVH_QtQuick_25(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickFramebufferObject::releaseResources()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_releaseResources);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::releaseResources();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::updatePolish()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_updatePolish);

    if (!sipMeth)
    {
         ::QQuickFramebufferObject::updatePolish();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QObject* sipQQuickFramebufferObject::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickFramebufferObject::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickFramebufferObject::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickFramebufferObject::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickFramebufferObject::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQQuickFramebufferObject::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QQuickItem::event(a0) : event(a0));
}

bool sipQQuickFramebufferObject::sipProtect_isComponentComplete() const
{
    return  ::QQuickItem::isComponentComplete();
}

void sipQQuickFramebufferObject::sipProtectVirt_itemChange(bool sipSelfWasArg, ::QQuickItem::ItemChange a0,const  ::QQuickItem::ItemChangeData& a1)
{
    (sipSelfWasArg ?  ::QQuickItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQQuickFramebufferObject::sipProtect_updateInputMethod( ::Qt::InputMethodQueries a0)
{
     ::QQuickItem::updateInputMethod(a0);
}

bool sipQQuickFramebufferObject::sipProtect_widthValid() const
{
    return  ::QQuickItem::widthValid();
}

bool sipQQuickFramebufferObject::sipProtect_heightValid() const
{
    return  ::QQuickItem::heightValid();
}

void sipQQuickFramebufferObject::sipProtectVirt_classBegin(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::classBegin() : classBegin());
}

void sipQQuickFramebufferObject::sipProtectVirt_componentComplete(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::componentComplete() : componentComplete());
}

void sipQQuickFramebufferObject::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg, ::QInputMethodEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_mouseUngrabEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseUngrabEvent() : mouseUngrabEvent());
}

void sipQQuickFramebufferObject::sipProtectVirt_touchUngrabEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::touchUngrabEvent() : touchUngrabEvent());
}

void sipQQuickFramebufferObject::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_touchEvent(bool sipSelfWasArg, ::QTouchEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::touchEvent(a0) : touchEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg, ::QDragEnterEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg, ::QDragMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg, ::QDragLeaveEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQQuickFramebufferObject::sipProtectVirt_dropEvent(bool sipSelfWasArg, ::QDropEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dropEvent(a0) : dropEvent(a0));
}

bool sipQQuickFramebufferObject::sipProtectVirt_childMouseEventFilter(bool sipSelfWasArg, ::QQuickItem*a0, ::QEvent*a1)
{
    return (sipSelfWasArg ?  ::QQuickItem::childMouseEventFilter(a0,a1) : childMouseEventFilter(a0,a1));
}

void sipQQuickFramebufferObject::sipProtectVirt_updatePolish(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::updatePolish() : updatePolish());
}

void sipQQuickFramebufferObject::sipProtectVirt_geometryChanged(bool sipSelfWasArg,const  ::QRectF& a0,const  ::QRectF& a1)
{
    (sipSelfWasArg ?  ::QQuickFramebufferObject::geometryChanged(a0,a1) : geometryChanged(a0,a1));
}

 ::QSGNode* sipQQuickFramebufferObject::sipProtectVirt_updatePaintNode(bool sipSelfWasArg, ::QSGNode*a0, ::QQuickItem::UpdatePaintNodeData*a1)
{
    return (sipSelfWasArg ?  ::QQuickFramebufferObject::updatePaintNode(a0,a1) : updatePaintNode(a0,a1));
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickFramebufferObject_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 43771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_sender, doc_QQuickFramebufferObject_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickFramebufferObject_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 43831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_receivers, doc_QQuickFramebufferObject_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_timerEvent, doc_QQuickFramebufferObject_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_childEvent, doc_QQuickFramebufferObject_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_customEvent, doc_QQuickFramebufferObject_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_connectNotify, doc_QQuickFramebufferObject_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_disconnectNotify, doc_QQuickFramebufferObject_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickFramebufferObject_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_senderSignalIndex, doc_QQuickFramebufferObject_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_isSignalConnected, doc_QQuickFramebufferObject_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_event, doc_QQuickFramebufferObject_event);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_isComponentComplete, "isComponentComplete(self) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_isComponentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_isComponentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isComponentComplete();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_isComponentComplete, doc_QQuickFramebufferObject_isComponentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_itemChange, "itemChange(self, QQuickItem.ItemChange, QQuickItem.ItemChangeData)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickItem::ItemChange a0;
        const  ::QQuickItem::ItemChangeData* a1;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ9", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QQuickItem_ItemChange, &a0, sipType_QQuickItem_ItemChangeData, &a1))
        {
            sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_itemChange, doc_QQuickFramebufferObject_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_updateInputMethod, "updateInputMethod(self, queries: Union[Qt.InputMethodQueries, Qt.InputMethodQuery] = Qt.ImQueryInput)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_updateInputMethod(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_updateInputMethod(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodQueries a0def = Qt::ImQueryInput;
         ::Qt::InputMethodQueries* a0 = &a0def;
        int a0State = 0;
        sipQQuickFramebufferObject *sipCpp;

        static const char *sipKwdList[] = {
            sipName_queries,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            sipCpp->sipProtect_updateInputMethod(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_updateInputMethod, doc_QQuickFramebufferObject_updateInputMethod);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_widthValid, "widthValid(self) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_widthValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_widthValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_widthValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_widthValid, doc_QQuickFramebufferObject_widthValid);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_heightValid, "heightValid(self) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_heightValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_heightValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_heightValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_heightValid, doc_QQuickFramebufferObject_heightValid);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_classBegin, "classBegin(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_classBegin(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_classBegin(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            sipCpp->sipProtectVirt_classBegin(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_classBegin, doc_QQuickFramebufferObject_classBegin);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_componentComplete, "componentComplete(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_componentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_componentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            sipCpp->sipProtectVirt_componentComplete(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_componentComplete, doc_QQuickFramebufferObject_componentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_keyPressEvent, doc_QQuickFramebufferObject_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_keyReleaseEvent, doc_QQuickFramebufferObject_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_inputMethodEvent, "inputMethodEvent(self, QInputMethodEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QInputMethodEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_inputMethodEvent, doc_QQuickFramebufferObject_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_focusInEvent, "focusInEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_focusInEvent, doc_QQuickFramebufferObject_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_focusOutEvent, doc_QQuickFramebufferObject_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_mousePressEvent, doc_QQuickFramebufferObject_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_mouseMoveEvent, doc_QQuickFramebufferObject_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_mouseReleaseEvent, doc_QQuickFramebufferObject_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_mouseDoubleClickEvent, doc_QQuickFramebufferObject_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_mouseUngrabEvent, "mouseUngrabEvent(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_mouseUngrabEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_mouseUngrabEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            sipCpp->sipProtectVirt_mouseUngrabEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_mouseUngrabEvent, doc_QQuickFramebufferObject_mouseUngrabEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_touchUngrabEvent, "touchUngrabEvent(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_touchUngrabEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_touchUngrabEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            sipCpp->sipProtectVirt_touchUngrabEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_touchUngrabEvent, doc_QQuickFramebufferObject_touchUngrabEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_wheelEvent, "wheelEvent(self, QWheelEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_wheelEvent, doc_QQuickFramebufferObject_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_touchEvent, "touchEvent(self, QTouchEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_touchEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_touchEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTouchEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QTouchEvent, &a0))
        {
            sipCpp->sipProtectVirt_touchEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_touchEvent, doc_QQuickFramebufferObject_touchEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_hoverEnterEvent, "hoverEnterEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_hoverEnterEvent, doc_QQuickFramebufferObject_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_hoverMoveEvent, "hoverMoveEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_hoverMoveEvent, doc_QQuickFramebufferObject_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_hoverLeaveEvent, "hoverLeaveEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_hoverLeaveEvent, doc_QQuickFramebufferObject_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_dragEnterEvent, "dragEnterEvent(self, QDragEnterEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragEnterEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_dragEnterEvent, doc_QQuickFramebufferObject_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_dragMoveEvent, "dragMoveEvent(self, QDragMoveEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragMoveEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_dragMoveEvent, doc_QQuickFramebufferObject_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_dragLeaveEvent, "dragLeaveEvent(self, QDragLeaveEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragLeaveEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_dragLeaveEvent, doc_QQuickFramebufferObject_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_dropEvent, "dropEvent(self, QDropEvent)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_dropEvent, doc_QQuickFramebufferObject_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_childMouseEventFilter, "childMouseEventFilter(self, QQuickItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_childMouseEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_childMouseEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickItem* a0;
         ::QEvent* a1;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QQuickItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_childMouseEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_childMouseEventFilter, doc_QQuickFramebufferObject_childMouseEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_updatePolish, "updatePolish(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_updatePolish(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_updatePolish(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            sipCpp->sipProtectVirt_updatePolish(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_updatePolish, doc_QQuickFramebufferObject_updatePolish);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_textureFollowsItemSize, "textureFollowsItemSize(self) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_textureFollowsItemSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_textureFollowsItemSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->textureFollowsItemSize();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_textureFollowsItemSize, doc_QQuickFramebufferObject_textureFollowsItemSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_setTextureFollowsItemSize, "setTextureFollowsItemSize(self, bool)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_setTextureFollowsItemSize(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_setTextureFollowsItemSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, &a0))
        {
            sipCpp->setTextureFollowsItemSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_setTextureFollowsItemSize, doc_QQuickFramebufferObject_setTextureFollowsItemSize);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_createRenderer, "createRenderer(self) -> QQuickFramebufferObject.Renderer");

extern "C" {static PyObject *meth_QQuickFramebufferObject_createRenderer(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_createRenderer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
             ::QQuickFramebufferObject::Renderer*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QQuickFramebufferObject, sipName_createRenderer);
                return NULL;
            }

            sipRes = sipCpp->createRenderer();

            return sipConvertFromNewType(sipRes,sipType_QQuickFramebufferObject_Renderer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_createRenderer, doc_QQuickFramebufferObject_createRenderer);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_geometryChanged, "geometryChanged(self, QRectF, QRectF)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_geometryChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_geometryChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QRectF* a0;
        const  ::QRectF* a1;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QRectF, &a0, sipType_QRectF, &a1))
        {
            sipCpp->sipProtectVirt_geometryChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_geometryChanged, doc_QQuickFramebufferObject_geometryChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_updatePaintNode, "updatePaintNode(self, QSGNode, QQuickItem.UpdatePaintNodeData) -> QSGNode");

extern "C" {static PyObject *meth_QQuickFramebufferObject_updatePaintNode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_updatePaintNode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSGNode* a0;
         ::QQuickItem::UpdatePaintNodeData* a1;
        sipQQuickFramebufferObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, sipType_QSGNode, &a0, sipType_QQuickItem_UpdatePaintNodeData, &a1))
        {
             ::QSGNode*sipRes;

            sipRes = sipCpp->sipProtectVirt_updatePaintNode(sipSelfWasArg,a0,a1);

            return sipConvertFromType(sipRes,sipType_QSGNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_updatePaintNode, doc_QQuickFramebufferObject_updatePaintNode);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_isTextureProvider, "isTextureProvider(self) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_isTextureProvider(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_isTextureProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickFramebufferObject::isTextureProvider() : sipCpp->isTextureProvider());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_isTextureProvider, doc_QQuickFramebufferObject_isTextureProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_textureProvider, "textureProvider(self) -> QSGTextureProvider");

extern "C" {static PyObject *meth_QQuickFramebufferObject_textureProvider(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_textureProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
             ::QSGTextureProvider*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickFramebufferObject::textureProvider() : sipCpp->textureProvider());

            return sipConvertFromType(sipRes,sipType_QSGTextureProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_textureProvider, doc_QQuickFramebufferObject_textureProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_releaseResources, "releaseResources(self)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_releaseResources(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_releaseResources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QQuickFramebufferObject::releaseResources() : sipCpp->releaseResources());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_releaseResources, doc_QQuickFramebufferObject_releaseResources);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_mirrorVertically, "mirrorVertically(self) -> bool");

extern "C" {static PyObject *meth_QQuickFramebufferObject_mirrorVertically(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_mirrorVertically(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->mirrorVertically();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_mirrorVertically, doc_QQuickFramebufferObject_mirrorVertically);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickFramebufferObject_setMirrorVertically, "setMirrorVertically(self, bool)");

extern "C" {static PyObject *meth_QQuickFramebufferObject_setMirrorVertically(PyObject *, PyObject *);}
static PyObject *meth_QQuickFramebufferObject_setMirrorVertically(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickFramebufferObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickFramebufferObject, &sipCpp, &a0))
        {
            sipCpp->setMirrorVertically(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickFramebufferObject, sipName_setMirrorVertically, doc_QQuickFramebufferObject_setMirrorVertically);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickFramebufferObject(void *, const sipTypeDef *);}
static void *cast_QQuickFramebufferObject(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickFramebufferObject *sipCpp = reinterpret_cast< ::QQuickFramebufferObject *>(sipCppV);

    if (targetType == sipType_QQuickItem)
        return static_cast< ::QQuickItem *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QQmlParserStatus)
        return static_cast< ::QQmlParserStatus *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickFramebufferObject(void *, int);}
static void release_QQuickFramebufferObject(void *sipCppV, int)
{
     ::QQuickFramebufferObject *sipCpp = reinterpret_cast< ::QQuickFramebufferObject *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickFramebufferObject(sipSimpleWrapper *);}
static void dealloc_QQuickFramebufferObject(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickFramebufferObject *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickFramebufferObject(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickFramebufferObject(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickFramebufferObject(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuickFramebufferObject *sipCpp = 0;

    {
         ::QQuickItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QQuickItem, &a0, sipOwner))
        {
            sipCpp = new sipQQuickFramebufferObject(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickFramebufferObject[] = {{7, 255, 1}};


static PyMethodDef methods_QQuickFramebufferObject[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickFramebufferObject_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childMouseEventFilter), (PyCFunction)meth_QQuickFramebufferObject_childMouseEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_classBegin), (PyCFunction)meth_QQuickFramebufferObject_classBegin, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_componentComplete), (PyCFunction)meth_QQuickFramebufferObject_componentComplete, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickFramebufferObject_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createRenderer), meth_QQuickFramebufferObject_createRenderer, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_createRenderer)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickFramebufferObject_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickFramebufferObject_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QQuickFramebufferObject_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QQuickFramebufferObject_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QQuickFramebufferObject_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QQuickFramebufferObject_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QQuickFramebufferObject_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QQuickFramebufferObject_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QQuickFramebufferObject_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_geometryChanged), (PyCFunction)meth_QQuickFramebufferObject_geometryChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_geometryChanged)},
    {SIP_MLNAME_CAST(sipName_heightValid), (PyCFunction)meth_QQuickFramebufferObject_heightValid, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QQuickFramebufferObject_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QQuickFramebufferObject_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QQuickFramebufferObject_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QQuickFramebufferObject_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isComponentComplete), (PyCFunction)meth_QQuickFramebufferObject_isComponentComplete, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickFramebufferObject_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTextureProvider), meth_QQuickFramebufferObject_isTextureProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_isTextureProvider)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QQuickFramebufferObject_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QQuickFramebufferObject_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QQuickFramebufferObject_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mirrorVertically), meth_QQuickFramebufferObject_mirrorVertically, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_mirrorVertically)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QQuickFramebufferObject_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QQuickFramebufferObject_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QQuickFramebufferObject_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QQuickFramebufferObject_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseUngrabEvent), (PyCFunction)meth_QQuickFramebufferObject_mouseUngrabEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickFramebufferObject_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseResources), meth_QQuickFramebufferObject_releaseResources, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_releaseResources)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickFramebufferObject_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickFramebufferObject_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setMirrorVertically), meth_QQuickFramebufferObject_setMirrorVertically, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_setMirrorVertically)},
    {SIP_MLNAME_CAST(sipName_setTextureFollowsItemSize), meth_QQuickFramebufferObject_setTextureFollowsItemSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_setTextureFollowsItemSize)},
    {SIP_MLNAME_CAST(sipName_textureFollowsItemSize), meth_QQuickFramebufferObject_textureFollowsItemSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_textureFollowsItemSize)},
    {SIP_MLNAME_CAST(sipName_textureProvider), meth_QQuickFramebufferObject_textureProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_textureProvider)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickFramebufferObject_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_touchEvent), (PyCFunction)meth_QQuickFramebufferObject_touchEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_touchUngrabEvent), (PyCFunction)meth_QQuickFramebufferObject_touchUngrabEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateInputMethod), (PyCFunction)meth_QQuickFramebufferObject_updateInputMethod, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updatePaintNode), (PyCFunction)meth_QQuickFramebufferObject_updatePaintNode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickFramebufferObject_updatePaintNode)},
    {SIP_MLNAME_CAST(sipName_updatePolish), (PyCFunction)meth_QQuickFramebufferObject_updatePolish, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QQuickFramebufferObject_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widthValid), (PyCFunction)meth_QQuickFramebufferObject_widthValid, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QQuickFramebufferObject, "\1QQuickFramebufferObject(parent: QQuickItem = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickFramebufferObject[] = {
    {"mirrorVerticallyChanged(bool)", "\1mirrorVerticallyChanged(self, bool)", 0, 0},
    {"textureFollowsItemSizeChanged(bool)", "\1textureFollowsItemSizeChanged(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickFramebufferObject = {
    & ::QQuickFramebufferObject::staticMetaObject,
    0,
    signals_QQuickFramebufferObject,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickFramebufferObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickFramebufferObject,
        {0},
        &plugin_QQuickFramebufferObject
    },
    {
        sipNameNr_QQuickFramebufferObject,
        {0, 0, 1},
        49, methods_QQuickFramebufferObject,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickFramebufferObject,
    -1,
    -1,
    supers_QQuickFramebufferObject,
    0,
    init_type_QQuickFramebufferObject,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickFramebufferObject,
    0,
    0,
    0,
    release_QQuickFramebufferObject,
    cast_QQuickFramebufferObject,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 45418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 45422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 45425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 45428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 45431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 45434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 45439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 45442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 238 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 714 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 45478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 45486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 45489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 45492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 326 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 45498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 45501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 45507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 45513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 45516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 45525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 45528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 45531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 45534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 45537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 45543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 45546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 45549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

sipQQuickItem::sipQQuickItem( ::QQuickItem*a0):  ::QQuickItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickItem::~sipQQuickItem()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQQuickItem::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickItem);

    return  ::QQuickItem::metaObject();
}

int sipQQuickItem::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuickItem::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtQuick_qt_metacall(sipPySelf,sipType_QQuickItem,_c,_id,_a);

    return _id;
}

void *sipQQuickItem::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick_qt_metacast(sipPySelf, sipType_QQuickItem, _clname, &sipCpp) ? sipCpp :  ::QQuickItem::qt_metacast(_clname));
}

void sipQQuickItem::updatePolish()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updatePolish);

    if (!sipMeth)
    {
         ::QQuickItem::updatePolish();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickItem::releaseResources()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_releaseResources);

    if (!sipMeth)
    {
         ::QQuickItem::releaseResources();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSGNode* sipQQuickItem::updatePaintNode( ::QSGNode*a0, ::QQuickItem::UpdatePaintNodeData*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_updatePaintNode);

    if (!sipMeth)
        return  ::QQuickItem::updatePaintNode(a0,a1);

    extern  ::QSGNode* sipVH_QtQuick_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSGNode*, ::QQuickItem::UpdatePaintNodeData*);

    return sipVH_QtQuick_25(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickItem::geometryChanged(const  ::QRectF& a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_geometryChanged);

    if (!sipMeth)
    {
         ::QQuickItem::geometryChanged(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&,const  ::QRectF&);

    sipVH_QtQuick_24(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQQuickItem::childMouseEventFilter( ::QQuickItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childMouseEventFilter);

    if (!sipMeth)
        return  ::QQuickItem::childMouseEventFilter(a0,a1);

    extern bool sipVH_QtQuick_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickItem*, ::QEvent*);

    return sipVH_QtQuick_23(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickItem::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::QQuickItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtQuick_22(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QQuickItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtQuick_21(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QQuickItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtQuick_20(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QQuickItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtQuick_19(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::hoverLeaveEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::QQuickItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::hoverMoveEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::QQuickItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::hoverEnterEvent( ::QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::QQuickItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHoverEvent*);

    sipVH_QtQuick_18(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::touchEvent( ::QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_touchEvent);

    if (!sipMeth)
    {
         ::QQuickItem::touchEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTouchEvent*);

    sipVH_QtQuick_17(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QQuickItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtQuick_16(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::touchUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_touchUngrabEvent);

    if (!sipMeth)
    {
         ::QQuickItem::touchUngrabEvent();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickItem::mouseUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseUngrabEvent);

    if (!sipMeth)
    {
         ::QQuickItem::mouseUngrabEvent();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickItem::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QQuickItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QQuickItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QQuickItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtQuick_15(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QQuickItem::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QQuickItem::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtQuick_14(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QQuickItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtQuick_13(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QQuickItem::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QQuickItem::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtQuick_12(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::itemChange( ::QQuickItem::ItemChange a0,const  ::QQuickItem::ItemChangeData& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
    {
         ::QQuickItem::itemChange(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QQuickItem::ItemChange,const  ::QQuickItem::ItemChangeData&);

    sipVH_QtQuick_11(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QSGTextureProvider* sipQQuickItem::textureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_textureProvider);

    if (!sipMeth)
        return  ::QQuickItem::textureProvider();

    extern  ::QSGTextureProvider* sipVH_QtQuick_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_10(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQQuickItem::isTextureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isTextureProvider);

    if (!sipMeth)
        return  ::QQuickItem::isTextureProvider();

    extern bool sipVH_QtQuick_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_9(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QVariant sipQQuickItem::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QQuickItem::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtQuick_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtQuick_8(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::QQuickItem::contains(a0);

    extern bool sipVH_QtQuick_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtQuick_7(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_classBegin);

    if (!sipMeth)
    {
         ::QQuickItem::classBegin();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuickItem::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_componentComplete);

    if (!sipMeth)
    {
         ::QQuickItem::componentComplete();
        return;
    }

    extern void sipVH_QtQuick_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQQuickItem::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QQuickItem::event(a0);

    extern bool sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuickItem::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuickItem::eventFilter(a0,a1);

    extern bool sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQQuickItem::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuickItem::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuickItem::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuickItem::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuickItem::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuickItem::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuickItem::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQQuickItem::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQQuickItem::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQQuickItem::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQQuickItem::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQQuickItem::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQQuickItem::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQQuickItem::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQQuickItem::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQQuickItem::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQQuickItem::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QQuickItem::event(a0) : event(a0));
}

bool sipQQuickItem::sipProtect_isComponentComplete() const
{
    return  ::QQuickItem::isComponentComplete();
}

void sipQQuickItem::sipProtectVirt_itemChange(bool sipSelfWasArg, ::QQuickItem::ItemChange a0,const  ::QQuickItem::ItemChangeData& a1)
{
    (sipSelfWasArg ?  ::QQuickItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQQuickItem::sipProtect_updateInputMethod( ::Qt::InputMethodQueries a0)
{
     ::QQuickItem::updateInputMethod(a0);
}

bool sipQQuickItem::sipProtect_widthValid() const
{
    return  ::QQuickItem::widthValid();
}

bool sipQQuickItem::sipProtect_heightValid() const
{
    return  ::QQuickItem::heightValid();
}

void sipQQuickItem::sipProtectVirt_classBegin(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::classBegin() : classBegin());
}

void sipQQuickItem::sipProtectVirt_componentComplete(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::componentComplete() : componentComplete());
}

void sipQQuickItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQQuickItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQQuickItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg, ::QInputMethodEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQQuickItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQQuickItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQQuickItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQQuickItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQQuickItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQQuickItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQQuickItem::sipProtectVirt_mouseUngrabEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::mouseUngrabEvent() : mouseUngrabEvent());
}

void sipQQuickItem::sipProtectVirt_touchUngrabEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::touchUngrabEvent() : touchUngrabEvent());
}

void sipQQuickItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQQuickItem::sipProtectVirt_touchEvent(bool sipSelfWasArg, ::QTouchEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::touchEvent(a0) : touchEvent(a0));
}

void sipQQuickItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQQuickItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQQuickItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg, ::QHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQQuickItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg, ::QDragEnterEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQQuickItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg, ::QDragMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQQuickItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg, ::QDragLeaveEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQQuickItem::sipProtectVirt_dropEvent(bool sipSelfWasArg, ::QDropEvent*a0)
{
    (sipSelfWasArg ?  ::QQuickItem::dropEvent(a0) : dropEvent(a0));
}

bool sipQQuickItem::sipProtectVirt_childMouseEventFilter(bool sipSelfWasArg, ::QQuickItem*a0, ::QEvent*a1)
{
    return (sipSelfWasArg ?  ::QQuickItem::childMouseEventFilter(a0,a1) : childMouseEventFilter(a0,a1));
}

void sipQQuickItem::sipProtectVirt_geometryChanged(bool sipSelfWasArg,const  ::QRectF& a0,const  ::QRectF& a1)
{
    (sipSelfWasArg ?  ::QQuickItem::geometryChanged(a0,a1) : geometryChanged(a0,a1));
}

 ::QSGNode* sipQQuickItem::sipProtectVirt_updatePaintNode(bool sipSelfWasArg, ::QSGNode*a0, ::QQuickItem::UpdatePaintNodeData*a1)
{
    return (sipSelfWasArg ?  ::QQuickItem::updatePaintNode(a0,a1) : updatePaintNode(a0,a1));
}

void sipQQuickItem::sipProtectVirt_releaseResources(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::releaseResources() : releaseResources());
}

void sipQQuickItem::sipProtectVirt_updatePolish(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QQuickItem::updatePolish() : updatePolish());
}


PyDoc_STRVAR(doc_QQuickItem_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QQuickItem_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 46518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_sender, doc_QQuickItem_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QQuickItem_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 46578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_receivers, doc_QQuickItem_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QQuickItem_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_timerEvent, doc_QQuickItem_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QQuickItem_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_childEvent, doc_QQuickItem_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QQuickItem_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_customEvent, doc_QQuickItem_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickItem_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_connectNotify, doc_QQuickItem_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QQuickItem_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_disconnectNotify, doc_QQuickItem_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QQuickItem_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_senderSignalIndex, doc_QQuickItem_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QQuickItem_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_isSignalConnected, doc_QQuickItem_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_window, "window(self) -> QQuickWindow");

extern "C" {static PyObject *meth_QQuickItem_window(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_window(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QQuickWindow*sipRes;

            sipRes = sipCpp->window();

            return sipConvertFromType(sipRes,sipType_QQuickWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_window, doc_QQuickItem_window);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_parentItem, "parentItem(self) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickItem_parentItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_parentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->parentItem();

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_parentItem, doc_QQuickItem_parentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setParentItem, "setParentItem(self, QQuickItem)");

extern "C" {static PyObject *meth_QQuickItem_setParentItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setParentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem* a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0))
        {
            sipCpp->setParentItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setParentItem, doc_QQuickItem_setParentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_stackBefore, "stackBefore(self, QQuickItem)");

extern "C" {static PyObject *meth_QQuickItem_stackBefore(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_stackBefore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem* a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0))
        {
            sipCpp->stackBefore(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_stackBefore, doc_QQuickItem_stackBefore);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_stackAfter, "stackAfter(self, QQuickItem)");

extern "C" {static PyObject *meth_QQuickItem_stackAfter(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_stackAfter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem* a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0))
        {
            sipCpp->stackAfter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_stackAfter, doc_QQuickItem_stackAfter);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_childrenRect, "childrenRect(self) -> QRectF");

extern "C" {static PyObject *meth_QQuickItem_childrenRect(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_childrenRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->childrenRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_childrenRect, doc_QQuickItem_childrenRect);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_childItems, "childItems(self) -> object");

extern "C" {static PyObject *meth_QQuickItem_childItems(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_childItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            QList< ::QQuickItem*>*sipRes;

            sipRes = new QList< ::QQuickItem*>(sipCpp->childItems());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_childItems, doc_QQuickItem_childItems);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_clip, "clip(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_clip(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_clip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->clip();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_clip, doc_QQuickItem_clip);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setClip, "setClip(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setClip(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setClip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setClip(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setClip, doc_QQuickItem_setClip);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_state, "state(self) -> str");

extern "C" {static PyObject *meth_QQuickItem_state(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->state());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_state, doc_QQuickItem_state);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setState, "setState(self, str)");

extern "C" {static PyObject *meth_QQuickItem_setState(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setState(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setState, doc_QQuickItem_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_baselineOffset, "baselineOffset(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_baselineOffset(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_baselineOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->baselineOffset();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_baselineOffset, doc_QQuickItem_baselineOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setBaselineOffset, "setBaselineOffset(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setBaselineOffset(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setBaselineOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setBaselineOffset(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setBaselineOffset, doc_QQuickItem_setBaselineOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_x, "x(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_x(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->x();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_x, doc_QQuickItem_x);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_y, "y(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_y(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->y();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_y, doc_QQuickItem_y);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setX, "setX(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setX(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setX(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setX, doc_QQuickItem_setX);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setY, "setY(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setY(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setY(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setY, doc_QQuickItem_setY);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_width, "width(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_width(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->width();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_width, doc_QQuickItem_width);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setWidth, "setWidth(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setWidth(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setWidth, doc_QQuickItem_setWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_resetWidth, "resetWidth(self)");

extern "C" {static PyObject *meth_QQuickItem_resetWidth(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_resetWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->resetWidth();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_resetWidth, doc_QQuickItem_resetWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setImplicitWidth, "setImplicitWidth(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setImplicitWidth(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setImplicitWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setImplicitWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setImplicitWidth, doc_QQuickItem_setImplicitWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_implicitWidth, "implicitWidth(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_implicitWidth(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_implicitWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->implicitWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_implicitWidth, doc_QQuickItem_implicitWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_height, "height(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_height(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->height();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_height, doc_QQuickItem_height);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setHeight, "setHeight(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setHeight(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setHeight, doc_QQuickItem_setHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_resetHeight, "resetHeight(self)");

extern "C" {static PyObject *meth_QQuickItem_resetHeight(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_resetHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->resetHeight();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_resetHeight, doc_QQuickItem_resetHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setImplicitHeight, "setImplicitHeight(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setImplicitHeight(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setImplicitHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setImplicitHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setImplicitHeight, doc_QQuickItem_setImplicitHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_implicitHeight, "implicitHeight(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_implicitHeight(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_implicitHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->implicitHeight();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_implicitHeight, doc_QQuickItem_implicitHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_transformOrigin, "transformOrigin(self) -> QQuickItem.TransformOrigin");

extern "C" {static PyObject *meth_QQuickItem_transformOrigin(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_transformOrigin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QQuickItem::TransformOrigin sipRes;

            sipRes = sipCpp->transformOrigin();

            return sipConvertFromEnum(sipRes,sipType_QQuickItem_TransformOrigin);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_transformOrigin, doc_QQuickItem_transformOrigin);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setTransformOrigin, "setTransformOrigin(self, QQuickItem.TransformOrigin)");

extern "C" {static PyObject *meth_QQuickItem_setTransformOrigin(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setTransformOrigin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem::TransformOrigin a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem_TransformOrigin, &a0))
        {
            sipCpp->setTransformOrigin(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setTransformOrigin, doc_QQuickItem_setTransformOrigin);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_z, "z(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_z(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_z(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->z();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_z, doc_QQuickItem_z);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setZ, "setZ(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setZ(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setZ(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setZ(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setZ, doc_QQuickItem_setZ);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_rotation, "rotation(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_rotation(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_rotation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->rotation();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_rotation, doc_QQuickItem_rotation);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setRotation, "setRotation(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setRotation(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setRotation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setRotation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setRotation, doc_QQuickItem_setRotation);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_scale, "scale(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_scale(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_scale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->scale();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_scale, doc_QQuickItem_scale);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setScale, "setScale(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setScale(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setScale(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setScale, doc_QQuickItem_setScale);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_opacity, "opacity(self) -> float");

extern "C" {static PyObject *meth_QQuickItem_opacity(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_opacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->opacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_opacity, doc_QQuickItem_opacity);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setOpacity, "setOpacity(self, float)");

extern "C" {static PyObject *meth_QQuickItem_setOpacity(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setOpacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setOpacity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setOpacity, doc_QQuickItem_setOpacity);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_isVisible, "isVisible(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_isVisible, doc_QQuickItem_isVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setVisible, "setVisible(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setVisible, doc_QQuickItem_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_isEnabled, "isEnabled(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_isEnabled, doc_QQuickItem_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setEnabled, "setEnabled(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setEnabled, doc_QQuickItem_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_smooth, "smooth(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_smooth(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_smooth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->smooth();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_smooth, doc_QQuickItem_smooth);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setSmooth, "setSmooth(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setSmooth(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setSmooth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setSmooth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setSmooth, doc_QQuickItem_setSmooth);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_antialiasing, "antialiasing(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_antialiasing(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_antialiasing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->antialiasing();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_antialiasing, doc_QQuickItem_antialiasing);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setAntialiasing, "setAntialiasing(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setAntialiasing(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setAntialiasing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setAntialiasing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setAntialiasing, doc_QQuickItem_setAntialiasing);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_flags, "flags(self) -> QQuickItem.Flags");

extern "C" {static PyObject *meth_QQuickItem_flags(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QQuickItem::Flags*sipRes;

            sipRes = new  ::QQuickItem::Flags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_QQuickItem_Flags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_flags, doc_QQuickItem_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setFlag, "setFlag(self, QQuickItem.Flag, enabled: bool = True)");

extern "C" {static PyObject *meth_QQuickItem_setFlag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setFlag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem::Flag a0;
        bool a1 = 1;
         ::QQuickItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem_Flag, &a0, &a1))
        {
            sipCpp->setFlag(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setFlag, doc_QQuickItem_setFlag);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setFlags, "setFlags(self, Union[QQuickItem.Flags, QQuickItem.Flag])");

extern "C" {static PyObject *meth_QQuickItem_setFlags(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem::Flags* a0;
        int a0State = 0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem_Flags, &a0, &a0State))
        {
            sipCpp->setFlags(*a0);
            sipReleaseType(a0,sipType_QQuickItem_Flags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setFlags, doc_QQuickItem_setFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_hasActiveFocus, "hasActiveFocus(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_hasActiveFocus(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_hasActiveFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasActiveFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_hasActiveFocus, doc_QQuickItem_hasActiveFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_hasFocus, "hasFocus(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_hasFocus(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_hasFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_hasFocus, doc_QQuickItem_hasFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setFocus, "setFocus(self, bool)\n"
    "setFocus(self, bool, Qt.FocusReason)");

extern "C" {static PyObject *meth_QQuickItem_setFocus(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        bool a0;
         ::Qt::FocusReason a1;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BbE", &sipSelf, sipType_QQuickItem, &sipCpp, &a0, sipType_Qt_FocusReason, &a1))
        {
            sipCpp->setFocus(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setFocus, doc_QQuickItem_setFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_isFocusScope, "isFocusScope(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_isFocusScope(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_isFocusScope(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFocusScope();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_isFocusScope, doc_QQuickItem_isFocusScope);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_scopedFocusItem, "scopedFocusItem(self) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickItem_scopedFocusItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_scopedFocusItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->scopedFocusItem();

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_scopedFocusItem, doc_QQuickItem_scopedFocusItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_acceptedMouseButtons, "acceptedMouseButtons(self) -> Qt.MouseButtons");

extern "C" {static PyObject *meth_QQuickItem_acceptedMouseButtons(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_acceptedMouseButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::Qt::MouseButtons*sipRes;

            sipRes = new  ::Qt::MouseButtons(sipCpp->acceptedMouseButtons());

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_acceptedMouseButtons, doc_QQuickItem_acceptedMouseButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setAcceptedMouseButtons, "setAcceptedMouseButtons(self, Union[Qt.MouseButtons, Qt.MouseButton])");

extern "C" {static PyObject *meth_QQuickItem_setAcceptedMouseButtons(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setAcceptedMouseButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseButtons* a0;
        int a0State = 0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_Qt_MouseButtons, &a0, &a0State))
        {
            sipCpp->setAcceptedMouseButtons(*a0);
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setAcceptedMouseButtons, doc_QQuickItem_setAcceptedMouseButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_acceptHoverEvents, "acceptHoverEvents(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_acceptHoverEvents(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_acceptHoverEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->acceptHoverEvents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_acceptHoverEvents, doc_QQuickItem_acceptHoverEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setAcceptHoverEvents, "setAcceptHoverEvents(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setAcceptHoverEvents(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setAcceptHoverEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setAcceptHoverEvents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setAcceptHoverEvents, doc_QQuickItem_setAcceptHoverEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_cursor, "cursor(self) -> QCursor");

extern "C" {static PyObject *meth_QQuickItem_cursor(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_cursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QCursor*sipRes;

            sipRes = new  ::QCursor(sipCpp->cursor());

            return sipConvertFromNewType(sipRes,sipType_QCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_cursor, doc_QQuickItem_cursor);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setCursor, "setCursor(self, Union[QCursor, Qt.CursorShape])");

extern "C" {static PyObject *meth_QQuickItem_setCursor(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCursor* a0;
        int a0State = 0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QCursor, &a0, &a0State))
        {
            sipCpp->setCursor(*a0);
            sipReleaseType(const_cast< ::QCursor *>(a0),sipType_QCursor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setCursor, doc_QQuickItem_setCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_unsetCursor, "unsetCursor(self)");

extern "C" {static PyObject *meth_QQuickItem_unsetCursor(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_unsetCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->unsetCursor();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_unsetCursor, doc_QQuickItem_unsetCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_grabMouse, "grabMouse(self)");

extern "C" {static PyObject *meth_QQuickItem_grabMouse(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_grabMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->grabMouse();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_grabMouse, doc_QQuickItem_grabMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_ungrabMouse, "ungrabMouse(self)");

extern "C" {static PyObject *meth_QQuickItem_ungrabMouse(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_ungrabMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->ungrabMouse();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_ungrabMouse, doc_QQuickItem_ungrabMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_keepMouseGrab, "keepMouseGrab(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_keepMouseGrab(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_keepMouseGrab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->keepMouseGrab();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_keepMouseGrab, doc_QQuickItem_keepMouseGrab);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setKeepMouseGrab, "setKeepMouseGrab(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setKeepMouseGrab(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setKeepMouseGrab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setKeepMouseGrab(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setKeepMouseGrab, doc_QQuickItem_setKeepMouseGrab);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_filtersChildMouseEvents, "filtersChildMouseEvents(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_filtersChildMouseEvents(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_filtersChildMouseEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->filtersChildMouseEvents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_filtersChildMouseEvents, doc_QQuickItem_filtersChildMouseEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setFiltersChildMouseEvents, "setFiltersChildMouseEvents(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setFiltersChildMouseEvents(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setFiltersChildMouseEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setFiltersChildMouseEvents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setFiltersChildMouseEvents, doc_QQuickItem_setFiltersChildMouseEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_grabTouchPoints, "grabTouchPoints(self, Iterable[int])");

extern "C" {static PyObject *meth_QQuickItem_grabTouchPoints(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_grabTouchPoints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVector<int>* a0;
        int a0State = 0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QVector_1800,&a0, &a0State))
        {
            sipCpp->grabTouchPoints(*a0);
            sipReleaseType(const_cast< ::QVector<int> *>(a0),sipType_QVector_1800,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_grabTouchPoints, doc_QQuickItem_grabTouchPoints);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_ungrabTouchPoints, "ungrabTouchPoints(self)");

extern "C" {static PyObject *meth_QQuickItem_ungrabTouchPoints(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_ungrabTouchPoints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->ungrabTouchPoints();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_ungrabTouchPoints, doc_QQuickItem_ungrabTouchPoints);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_keepTouchGrab, "keepTouchGrab(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_keepTouchGrab(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_keepTouchGrab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->keepTouchGrab();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_keepTouchGrab, doc_QQuickItem_keepTouchGrab);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setKeepTouchGrab, "setKeepTouchGrab(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setKeepTouchGrab(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setKeepTouchGrab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setKeepTouchGrab(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setKeepTouchGrab, doc_QQuickItem_setKeepTouchGrab);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_contains, "contains(self, Union[QPointF, QPoint]) -> bool");

extern "C" {static PyObject *meth_QQuickItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_contains, doc_QQuickItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapToItem, "mapToItem(self, QQuickItem, Union[QPointF, QPoint]) -> QPointF");

extern "C" {static PyObject *meth_QQuickItem_mapToItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapToItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem* a0;
        const  ::QPointF* a1;
        int a1State = 0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0, sipType_QPointF, &a1, &a1State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->mapToItem(a0,*a1));
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapToItem, doc_QQuickItem_mapToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapToScene, "mapToScene(self, Union[QPointF, QPoint]) -> QPointF");

extern "C" {static PyObject *meth_QQuickItem_mapToScene(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapToScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->mapToScene(*a0));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapToScene, doc_QQuickItem_mapToScene);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapRectToItem, "mapRectToItem(self, QQuickItem, QRectF) -> QRectF");

extern "C" {static PyObject *meth_QQuickItem_mapRectToItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapRectToItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem* a0;
        const  ::QRectF* a1;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0, sipType_QRectF, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->mapRectToItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapRectToItem, doc_QQuickItem_mapRectToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapRectToScene, "mapRectToScene(self, QRectF) -> QRectF");

extern "C" {static PyObject *meth_QQuickItem_mapRectToScene(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapRectToScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QRectF, &a0))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->mapRectToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapRectToScene, doc_QQuickItem_mapRectToScene);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapFromItem, "mapFromItem(self, QQuickItem, Union[QPointF, QPoint]) -> QPointF");

extern "C" {static PyObject *meth_QQuickItem_mapFromItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapFromItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem* a0;
        const  ::QPointF* a1;
        int a1State = 0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0, sipType_QPointF, &a1, &a1State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->mapFromItem(a0,*a1));
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapFromItem, doc_QQuickItem_mapFromItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapFromScene, "mapFromScene(self, Union[QPointF, QPoint]) -> QPointF");

extern "C" {static PyObject *meth_QQuickItem_mapFromScene(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapFromScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->mapFromScene(*a0));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapFromScene, doc_QQuickItem_mapFromScene);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapRectFromItem, "mapRectFromItem(self, QQuickItem, QRectF) -> QRectF");

extern "C" {static PyObject *meth_QQuickItem_mapRectFromItem(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapRectFromItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem* a0;
        const  ::QRectF* a1;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0, sipType_QRectF, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->mapRectFromItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapRectFromItem, doc_QQuickItem_mapRectFromItem);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapRectFromScene, "mapRectFromScene(self, QRectF) -> QRectF");

extern "C" {static PyObject *meth_QQuickItem_mapRectFromScene(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapRectFromScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QRectF, &a0))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->mapRectFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapRectFromScene, doc_QQuickItem_mapRectFromScene);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_polish, "polish(self)");

extern "C" {static PyObject *meth_QQuickItem_polish(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_polish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->polish();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_polish, doc_QQuickItem_polish);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_forceActiveFocus, "forceActiveFocus(self)\n"
    "forceActiveFocus(self, Qt.FocusReason)");

extern "C" {static PyObject *meth_QQuickItem_forceActiveFocus(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_forceActiveFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->forceActiveFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::Qt::FocusReason a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_Qt_FocusReason, &a0))
        {
            sipCpp->forceActiveFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_forceActiveFocus, doc_QQuickItem_forceActiveFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_childAt, "childAt(self, float, float) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickItem_childAt(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_childAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QQuickItem, &sipCpp, &a0, &a1))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->childAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_childAt, doc_QQuickItem_childAt);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_inputMethodQuery, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

extern "C" {static PyObject *meth_QQuickItem_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::Qt::InputMethodQuery a0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QQuickItem::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_inputMethodQuery, doc_QQuickItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_isTextureProvider, "isTextureProvider(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_isTextureProvider(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_isTextureProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickItem::isTextureProvider() : sipCpp->isTextureProvider());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_isTextureProvider, doc_QQuickItem_isTextureProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_textureProvider, "textureProvider(self) -> QSGTextureProvider");

extern "C" {static PyObject *meth_QQuickItem_textureProvider(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_textureProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
             ::QSGTextureProvider*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QQuickItem::textureProvider() : sipCpp->textureProvider());

            return sipConvertFromType(sipRes,sipType_QSGTextureProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_textureProvider, doc_QQuickItem_textureProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_update, "update(self)");

extern "C" {static PyObject *meth_QQuickItem_update(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->update();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_update, doc_QQuickItem_update);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickItem_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_event, doc_QQuickItem_event);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_isComponentComplete, "isComponentComplete(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_isComponentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_isComponentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isComponentComplete();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_isComponentComplete, doc_QQuickItem_isComponentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_itemChange, "itemChange(self, QQuickItem.ItemChange, QQuickItem.ItemChangeData)");

extern "C" {static PyObject *meth_QQuickItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickItem::ItemChange a0;
        const  ::QQuickItem::ItemChangeData* a1;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem_ItemChange, &a0, sipType_QQuickItem_ItemChangeData, &a1))
        {
            sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_itemChange, doc_QQuickItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_updateInputMethod, "updateInputMethod(self, queries: Union[Qt.InputMethodQueries, Qt.InputMethodQuery] = Qt.ImQueryInput)");

extern "C" {static PyObject *meth_QQuickItem_updateInputMethod(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_updateInputMethod(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodQueries a0def = Qt::ImQueryInput;
         ::Qt::InputMethodQueries* a0 = &a0def;
        int a0State = 0;
        sipQQuickItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_queries,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            sipCpp->sipProtect_updateInputMethod(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_updateInputMethod, doc_QQuickItem_updateInputMethod);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_widthValid, "widthValid(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_widthValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_widthValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_widthValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_widthValid, doc_QQuickItem_widthValid);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_heightValid, "heightValid(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_heightValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_heightValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_heightValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_heightValid, doc_QQuickItem_heightValid);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_classBegin, "classBegin(self)");

extern "C" {static PyObject *meth_QQuickItem_classBegin(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_classBegin(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_classBegin(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_classBegin, doc_QQuickItem_classBegin);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_componentComplete, "componentComplete(self)");

extern "C" {static PyObject *meth_QQuickItem_componentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_componentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_componentComplete(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_componentComplete, doc_QQuickItem_componentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_keyPressEvent, doc_QQuickItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QQuickItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_keyReleaseEvent, doc_QQuickItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_inputMethodEvent, "inputMethodEvent(self, QInputMethodEvent)");

extern "C" {static PyObject *meth_QQuickItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QInputMethodEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_inputMethodEvent, doc_QQuickItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_focusInEvent, "focusInEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_focusInEvent, doc_QQuickItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QQuickItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_focusOutEvent, doc_QQuickItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mousePressEvent, doc_QQuickItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mouseMoveEvent, doc_QQuickItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mouseReleaseEvent, doc_QQuickItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QQuickItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mouseDoubleClickEvent, doc_QQuickItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mouseUngrabEvent, "mouseUngrabEvent(self)");

extern "C" {static PyObject *meth_QQuickItem_mouseUngrabEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mouseUngrabEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_mouseUngrabEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mouseUngrabEvent, doc_QQuickItem_mouseUngrabEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_touchUngrabEvent, "touchUngrabEvent(self)");

extern "C" {static PyObject *meth_QQuickItem_touchUngrabEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_touchUngrabEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_touchUngrabEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_touchUngrabEvent, doc_QQuickItem_touchUngrabEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_wheelEvent, "wheelEvent(self, QWheelEvent)");

extern "C" {static PyObject *meth_QQuickItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_wheelEvent, doc_QQuickItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_touchEvent, "touchEvent(self, QTouchEvent)");

extern "C" {static PyObject *meth_QQuickItem_touchEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_touchEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTouchEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QTouchEvent, &a0))
        {
            sipCpp->sipProtectVirt_touchEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_touchEvent, doc_QQuickItem_touchEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_hoverEnterEvent, "hoverEnterEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_hoverEnterEvent, doc_QQuickItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_hoverMoveEvent, "hoverMoveEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_hoverMoveEvent, doc_QQuickItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_hoverLeaveEvent, "hoverLeaveEvent(self, QHoverEvent)");

extern "C" {static PyObject *meth_QQuickItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHoverEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_hoverLeaveEvent, doc_QQuickItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_dragEnterEvent, "dragEnterEvent(self, QDragEnterEvent)");

extern "C" {static PyObject *meth_QQuickItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragEnterEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_dragEnterEvent, doc_QQuickItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_dragMoveEvent, "dragMoveEvent(self, QDragMoveEvent)");

extern "C" {static PyObject *meth_QQuickItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragMoveEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_dragMoveEvent, doc_QQuickItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_dragLeaveEvent, "dragLeaveEvent(self, QDragLeaveEvent)");

extern "C" {static PyObject *meth_QQuickItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragLeaveEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_dragLeaveEvent, doc_QQuickItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_dropEvent, "dropEvent(self, QDropEvent)");

extern "C" {static PyObject *meth_QQuickItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_dropEvent, doc_QQuickItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_childMouseEventFilter, "childMouseEventFilter(self, QQuickItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QQuickItem_childMouseEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_childMouseEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QQuickItem* a0;
         ::QEvent* a1;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_childMouseEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_childMouseEventFilter, doc_QQuickItem_childMouseEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_geometryChanged, "geometryChanged(self, QRectF, QRectF)");

extern "C" {static PyObject *meth_QQuickItem_geometryChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_geometryChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QRectF* a0;
        const  ::QRectF* a1;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QRectF, &a0, sipType_QRectF, &a1))
        {
            sipCpp->sipProtectVirt_geometryChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_geometryChanged, doc_QQuickItem_geometryChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_updatePaintNode, "updatePaintNode(self, QSGNode, QQuickItem.UpdatePaintNodeData) -> QSGNode");

extern "C" {static PyObject *meth_QQuickItem_updatePaintNode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_updatePaintNode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QSGNode* a0;
         ::QQuickItem::UpdatePaintNodeData* a1;
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QSGNode, &a0, sipType_QQuickItem_UpdatePaintNodeData, &a1))
        {
             ::QSGNode*sipRes;

            sipRes = sipCpp->sipProtectVirt_updatePaintNode(sipSelfWasArg,a0,a1);

            return sipConvertFromType(sipRes,sipType_QSGNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_updatePaintNode, doc_QQuickItem_updatePaintNode);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_releaseResources, "releaseResources(self)");

extern "C" {static PyObject *meth_QQuickItem_releaseResources(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_releaseResources(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_releaseResources(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_releaseResources, doc_QQuickItem_releaseResources);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_updatePolish, "updatePolish(self)");

extern "C" {static PyObject *meth_QQuickItem_updatePolish(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_updatePolish(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQQuickItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->sipProtectVirt_updatePolish(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_updatePolish, doc_QQuickItem_updatePolish);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_activeFocusOnTab, "activeFocusOnTab(self) -> bool");

extern "C" {static PyObject *meth_QQuickItem_activeFocusOnTab(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_activeFocusOnTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->activeFocusOnTab();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_activeFocusOnTab, doc_QQuickItem_activeFocusOnTab);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_setActiveFocusOnTab, "setActiveFocusOnTab(self, bool)");

extern "C" {static PyObject *meth_QQuickItem_setActiveFocusOnTab(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_setActiveFocusOnTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
            sipCpp->setActiveFocusOnTab(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_setActiveFocusOnTab, doc_QQuickItem_setActiveFocusOnTab);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_nextItemInFocusChain, "nextItemInFocusChain(self, forward: bool = True) -> QQuickItem");

extern "C" {static PyObject *meth_QQuickItem_nextItemInFocusChain(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_nextItemInFocusChain(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::QQuickItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_forward,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|b", &sipSelf, sipType_QQuickItem, &sipCpp, &a0))
        {
             ::QQuickItem*sipRes;

            sipRes = sipCpp->nextItemInFocusChain(a0);

            return sipConvertFromType(sipRes,sipType_QQuickItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_nextItemInFocusChain, doc_QQuickItem_nextItemInFocusChain);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_resetAntialiasing, "resetAntialiasing(self)");

extern "C" {static PyObject *meth_QQuickItem_resetAntialiasing(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_resetAntialiasing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuickItem, &sipCpp))
        {
            sipCpp->resetAntialiasing();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_resetAntialiasing, doc_QQuickItem_resetAntialiasing);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_grabToImage, "grabToImage(self, targetSize: QSize = QSize()) -> QQuickItemGrabResult");

extern "C" {static PyObject *meth_QQuickItem_grabToImage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_grabToImage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize& a0def = QSize();
        const  ::QSize* a0 = &a0def;
         ::QQuickItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_targetSize,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QSize, &a0))
        {
             ::QQuickItemGrabResult*sipRes = 0;

#line 279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtQuick/qquickitem.sip"
        QSharedPointer<QQuickItemGrabResult> *grab;
        
        Py_BEGIN_ALLOW_THREADS
        // This will leak but there seems to be no way to detach the object.
        grab = new QSharedPointer<QQuickItemGrabResult>(sipCpp->grabToImage(*a0));
        Py_END_ALLOW_THREADS
        
        sipRes = grab->data();
#line 50386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtQuick/sipQtQuickpart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QQuickItemGrabResult,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_grabToImage, doc_QQuickItem_grabToImage);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_isAncestorOf, "isAncestorOf(self, QQuickItem) -> bool");

extern "C" {static PyObject *meth_QQuickItem_isAncestorOf(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_isAncestorOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QQuickItem* a0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QQuickItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isAncestorOf(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_isAncestorOf, doc_QQuickItem_isAncestorOf);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapToGlobal, "mapToGlobal(self, Union[QPointF, QPoint]) -> QPointF");

extern "C" {static PyObject *meth_QQuickItem_mapToGlobal(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapToGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->mapToGlobal(*a0));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapToGlobal, doc_QQuickItem_mapToGlobal);

    return NULL;
}


PyDoc_STRVAR(doc_QQuickItem_mapFromGlobal, "mapFromGlobal(self, Union[QPointF, QPoint]) -> QPointF");

extern "C" {static PyObject *meth_QQuickItem_mapFromGlobal(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_mapFromGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QQuickItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuickItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->mapFromGlobal(*a0));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQuickItem, sipName_mapFromGlobal, doc_QQuickItem_mapFromGlobal);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuickItem(void *, const sipTypeDef *);}
static void *cast_QQuickItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuickItem *sipCpp = reinterpret_cast< ::QQuickItem *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QQmlParserStatus)
        return static_cast< ::QQmlParserStatus *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuickItem(void *, int);}
static void release_QQuickItem(void *sipCppV, int)
{
     ::QQuickItem *sipCpp = reinterpret_cast< ::QQuickItem *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QQuickItem(sipSimpleWrapper *);}
static void dealloc_QQuickItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuickItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuickItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuickItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuickItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuickItem *sipCpp = 0;

    {
         ::QQuickItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QQuickItem, &a0, sipOwner))
        {
            sipCpp = new sipQQuickItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickItem[] = {{3, 0, 0}, {7, 2, 1}};


static PyMethodDef methods_QQuickItem[] = {
    {SIP_MLNAME_CAST(sipName_acceptHoverEvents), meth_QQuickItem_acceptHoverEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_acceptHoverEvents)},
    {SIP_MLNAME_CAST(sipName_acceptedMouseButtons), meth_QQuickItem_acceptedMouseButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_acceptedMouseButtons)},
    {SIP_MLNAME_CAST(sipName_activeFocusOnTab), meth_QQuickItem_activeFocusOnTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_activeFocusOnTab)},
    {SIP_MLNAME_CAST(sipName_antialiasing), meth_QQuickItem_antialiasing, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_antialiasing)},
    {SIP_MLNAME_CAST(sipName_baselineOffset), meth_QQuickItem_baselineOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_baselineOffset)},
    {SIP_MLNAME_CAST(sipName_childAt), meth_QQuickItem_childAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_childAt)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QQuickItem_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childItems), meth_QQuickItem_childItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_childItems)},
    {SIP_MLNAME_CAST(sipName_childMouseEventFilter), (PyCFunction)meth_QQuickItem_childMouseEventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_childMouseEventFilter)},
    {SIP_MLNAME_CAST(sipName_childrenRect), meth_QQuickItem_childrenRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_childrenRect)},
    {SIP_MLNAME_CAST(sipName_classBegin), (PyCFunction)meth_QQuickItem_classBegin, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_classBegin)},
    {SIP_MLNAME_CAST(sipName_clip), meth_QQuickItem_clip, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_clip)},
    {SIP_MLNAME_CAST(sipName_componentComplete), (PyCFunction)meth_QQuickItem_componentComplete, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_componentComplete)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QQuickItem_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_QQuickItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_contains)},
    {SIP_MLNAME_CAST(sipName_cursor), meth_QQuickItem_cursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_cursor)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QQuickItem_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QQuickItem_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QQuickItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QQuickItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QQuickItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QQuickItem_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_dropEvent)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QQuickItem_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_event)},
    {SIP_MLNAME_CAST(sipName_filtersChildMouseEvents), meth_QQuickItem_filtersChildMouseEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_filtersChildMouseEvents)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QQuickItem_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_flags)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QQuickItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QQuickItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_forceActiveFocus), meth_QQuickItem_forceActiveFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_forceActiveFocus)},
    {SIP_MLNAME_CAST(sipName_geometryChanged), (PyCFunction)meth_QQuickItem_geometryChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_geometryChanged)},
    {SIP_MLNAME_CAST(sipName_grabMouse), meth_QQuickItem_grabMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_grabMouse)},
    {SIP_MLNAME_CAST(sipName_grabToImage), (PyCFunction)meth_QQuickItem_grabToImage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_grabToImage)},
    {SIP_MLNAME_CAST(sipName_grabTouchPoints), meth_QQuickItem_grabTouchPoints, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_grabTouchPoints)},
    {SIP_MLNAME_CAST(sipName_hasActiveFocus), meth_QQuickItem_hasActiveFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_hasActiveFocus)},
    {SIP_MLNAME_CAST(sipName_hasFocus), meth_QQuickItem_hasFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_hasFocus)},
    {SIP_MLNAME_CAST(sipName_height), meth_QQuickItem_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_height)},
    {SIP_MLNAME_CAST(sipName_heightValid), (PyCFunction)meth_QQuickItem_heightValid, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_heightValid)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QQuickItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_hoverEnterEvent)},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QQuickItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_hoverLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QQuickItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_hoverMoveEvent)},
    {SIP_MLNAME_CAST(sipName_implicitHeight), meth_QQuickItem_implicitHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_implicitHeight)},
    {SIP_MLNAME_CAST(sipName_implicitWidth), meth_QQuickItem_implicitWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_implicitWidth)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QQuickItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QQuickItem_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_isAncestorOf), meth_QQuickItem_isAncestorOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_isAncestorOf)},
    {SIP_MLNAME_CAST(sipName_isComponentComplete), (PyCFunction)meth_QQuickItem_isComponentComplete, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_isComponentComplete)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QQuickItem_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isFocusScope), meth_QQuickItem_isFocusScope, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_isFocusScope)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QQuickItem_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTextureProvider), meth_QQuickItem_isTextureProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_isTextureProvider)},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_QQuickItem_isVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_isVisible)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QQuickItem_itemChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_itemChange)},
    {SIP_MLNAME_CAST(sipName_keepMouseGrab), meth_QQuickItem_keepMouseGrab, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_keepMouseGrab)},
    {SIP_MLNAME_CAST(sipName_keepTouchGrab), meth_QQuickItem_keepTouchGrab, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_keepTouchGrab)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QQuickItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QQuickItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mapFromGlobal), meth_QQuickItem_mapFromGlobal, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapFromGlobal)},
    {SIP_MLNAME_CAST(sipName_mapFromItem), meth_QQuickItem_mapFromItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapFromItem)},
    {SIP_MLNAME_CAST(sipName_mapFromScene), meth_QQuickItem_mapFromScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapFromScene)},
    {SIP_MLNAME_CAST(sipName_mapRectFromItem), meth_QQuickItem_mapRectFromItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapRectFromItem)},
    {SIP_MLNAME_CAST(sipName_mapRectFromScene), meth_QQuickItem_mapRectFromScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapRectFromScene)},
    {SIP_MLNAME_CAST(sipName_mapRectToItem), meth_QQuickItem_mapRectToItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapRectToItem)},
    {SIP_MLNAME_CAST(sipName_mapRectToScene), meth_QQuickItem_mapRectToScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapRectToScene)},
    {SIP_MLNAME_CAST(sipName_mapToGlobal), meth_QQuickItem_mapToGlobal, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapToGlobal)},
    {SIP_MLNAME_CAST(sipName_mapToItem), meth_QQuickItem_mapToItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapToItem)},
    {SIP_MLNAME_CAST(sipName_mapToScene), meth_QQuickItem_mapToScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_mapToScene)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QQuickItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QQuickItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QQuickItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QQuickItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mouseUngrabEvent), (PyCFunction)meth_QQuickItem_mouseUngrabEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_mouseUngrabEvent)},
    {SIP_MLNAME_CAST(sipName_nextItemInFocusChain), (PyCFunction)meth_QQuickItem_nextItemInFocusChain, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_nextItemInFocusChain)},
    {SIP_MLNAME_CAST(sipName_opacity), meth_QQuickItem_opacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_opacity)},
    {SIP_MLNAME_CAST(sipName_parentItem), meth_QQuickItem_parentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_parentItem)},
    {SIP_MLNAME_CAST(sipName_polish), meth_QQuickItem_polish, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_polish)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QQuickItem_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseResources), (PyCFunction)meth_QQuickItem_releaseResources, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_releaseResources)},
    {SIP_MLNAME_CAST(sipName_resetAntialiasing), meth_QQuickItem_resetAntialiasing, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_resetAntialiasing)},
    {SIP_MLNAME_CAST(sipName_resetHeight), meth_QQuickItem_resetHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_resetHeight)},
    {SIP_MLNAME_CAST(sipName_resetWidth), meth_QQuickItem_resetWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_resetWidth)},
    {SIP_MLNAME_CAST(sipName_rotation), meth_QQuickItem_rotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_rotation)},
    {SIP_MLNAME_CAST(sipName_scale), meth_QQuickItem_scale, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_scale)},
    {SIP_MLNAME_CAST(sipName_scopedFocusItem), meth_QQuickItem_scopedFocusItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_scopedFocusItem)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QQuickItem_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QQuickItem_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptHoverEvents), meth_QQuickItem_setAcceptHoverEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setAcceptHoverEvents)},
    {SIP_MLNAME_CAST(sipName_setAcceptedMouseButtons), meth_QQuickItem_setAcceptedMouseButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setAcceptedMouseButtons)},
    {SIP_MLNAME_CAST(sipName_setActiveFocusOnTab), meth_QQuickItem_setActiveFocusOnTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setActiveFocusOnTab)},
    {SIP_MLNAME_CAST(sipName_setAntialiasing), meth_QQuickItem_setAntialiasing, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setAntialiasing)},
    {SIP_MLNAME_CAST(sipName_setBaselineOffset), meth_QQuickItem_setBaselineOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setBaselineOffset)},
    {SIP_MLNAME_CAST(sipName_setClip), meth_QQuickItem_setClip, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setClip)},
    {SIP_MLNAME_CAST(sipName_setCursor), meth_QQuickItem_setCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setCursor)},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QQuickItem_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setEnabled)},
    {SIP_MLNAME_CAST(sipName_setFiltersChildMouseEvents), meth_QQuickItem_setFiltersChildMouseEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setFiltersChildMouseEvents)},
    {SIP_MLNAME_CAST(sipName_setFlag), (PyCFunction)meth_QQuickItem_setFlag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_setFlag)},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_QQuickItem_setFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setFlags)},
    {SIP_MLNAME_CAST(sipName_setFocus), meth_QQuickItem_setFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setFocus)},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_QQuickItem_setHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setHeight)},
    {SIP_MLNAME_CAST(sipName_setImplicitHeight), meth_QQuickItem_setImplicitHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setImplicitHeight)},
    {SIP_MLNAME_CAST(sipName_setImplicitWidth), meth_QQuickItem_setImplicitWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setImplicitWidth)},
    {SIP_MLNAME_CAST(sipName_setKeepMouseGrab), meth_QQuickItem_setKeepMouseGrab, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setKeepMouseGrab)},
    {SIP_MLNAME_CAST(sipName_setKeepTouchGrab), meth_QQuickItem_setKeepTouchGrab, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setKeepTouchGrab)},
    {SIP_MLNAME_CAST(sipName_setOpacity), meth_QQuickItem_setOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setOpacity)},
    {SIP_MLNAME_CAST(sipName_setParentItem), meth_QQuickItem_setParentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setParentItem)},
    {SIP_MLNAME_CAST(sipName_setRotation), meth_QQuickItem_setRotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setRotation)},
    {SIP_MLNAME_CAST(sipName_setScale), meth_QQuickItem_setScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setScale)},
    {SIP_MLNAME_CAST(sipName_setSmooth), meth_QQuickItem_setSmooth, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setSmooth)},
    {SIP_MLNAME_CAST(sipName_setState), meth_QQuickItem_setState, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setState)},
    {SIP_MLNAME_CAST(sipName_setTransformOrigin), meth_QQuickItem_setTransformOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setTransformOrigin)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QQuickItem_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setVisible)},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_QQuickItem_setWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setWidth)},
    {SIP_MLNAME_CAST(sipName_setX), meth_QQuickItem_setX, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setX)},
    {SIP_MLNAME_CAST(sipName_setY), meth_QQuickItem_setY, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setY)},
    {SIP_MLNAME_CAST(sipName_setZ), meth_QQuickItem_setZ, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_setZ)},
    {SIP_MLNAME_CAST(sipName_smooth), meth_QQuickItem_smooth, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_smooth)},
    {SIP_MLNAME_CAST(sipName_stackAfter), meth_QQuickItem_stackAfter, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_stackAfter)},
    {SIP_MLNAME_CAST(sipName_stackBefore), meth_QQuickItem_stackBefore, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_stackBefore)},
    {SIP_MLNAME_CAST(sipName_state), meth_QQuickItem_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_state)},
    {SIP_MLNAME_CAST(sipName_textureProvider), meth_QQuickItem_textureProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_textureProvider)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QQuickItem_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_touchEvent), (PyCFunction)meth_QQuickItem_touchEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_touchEvent)},
    {SIP_MLNAME_CAST(sipName_touchUngrabEvent), (PyCFunction)meth_QQuickItem_touchUngrabEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_touchUngrabEvent)},
    {SIP_MLNAME_CAST(sipName_transformOrigin), meth_QQuickItem_transformOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_transformOrigin)},
    {SIP_MLNAME_CAST(sipName_ungrabMouse), meth_QQuickItem_ungrabMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_ungrabMouse)},
    {SIP_MLNAME_CAST(sipName_ungrabTouchPoints), meth_QQuickItem_ungrabTouchPoints, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_ungrabTouchPoints)},
    {SIP_MLNAME_CAST(sipName_unsetCursor), meth_QQuickItem_unsetCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_unsetCursor)},
    {SIP_MLNAME_CAST(sipName_update), meth_QQuickItem_update, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_update)},
    {SIP_MLNAME_CAST(sipName_updateInputMethod), (PyCFunction)meth_QQuickItem_updateInputMethod, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_updateInputMethod)},
    {SIP_MLNAME_CAST(sipName_updatePaintNode), (PyCFunction)meth_QQuickItem_updatePaintNode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_updatePaintNode)},
    {SIP_MLNAME_CAST(sipName_updatePolish), (PyCFunction)meth_QQuickItem_updatePolish, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_updatePolish)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QQuickItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_width), meth_QQuickItem_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_width)},
    {SIP_MLNAME_CAST(sipName_widthValid), (PyCFunction)meth_QQuickItem_widthValid, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QQuickItem_widthValid)},
    {SIP_MLNAME_CAST(sipName_window), meth_QQuickItem_window, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_window)},
    {SIP_MLNAME_CAST(sipName_x), meth_QQuickItem_x, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_x)},
    {SIP_MLNAME_CAST(sipName_y), meth_QQuickItem_y, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_y)},
    {SIP_MLNAME_CAST(sipName_z), meth_QQuickItem_z, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickItem_z)}
};

static sipEnumMemberDef enummembers_QQuickItem[] = {
    {sipName_Bottom, static_cast<int>( ::QQuickItem::Bottom), 12},
    {sipName_BottomLeft, static_cast<int>( ::QQuickItem::BottomLeft), 12},
    {sipName_BottomRight, static_cast<int>( ::QQuickItem::BottomRight), 12},
    {sipName_Center, static_cast<int>( ::QQuickItem::Center), 12},
    {sipName_ItemAcceptsDrops, static_cast<int>( ::QQuickItem::ItemAcceptsDrops), 8},
    {sipName_ItemAcceptsInputMethod, static_cast<int>( ::QQuickItem::ItemAcceptsInputMethod), 8},
    {sipName_ItemActiveFocusHasChanged, static_cast<int>( ::QQuickItem::ItemActiveFocusHasChanged), 10},
    {sipName_ItemAntialiasingHasChanged, static_cast<int>( ::QQuickItem::ItemAntialiasingHasChanged), 10},
    {sipName_ItemChildAddedChange, static_cast<int>( ::QQuickItem::ItemChildAddedChange), 10},
    {sipName_ItemChildRemovedChange, static_cast<int>( ::QQuickItem::ItemChildRemovedChange), 10},
    {sipName_ItemClipsChildrenToShape, static_cast<int>( ::QQuickItem::ItemClipsChildrenToShape), 8},
    {sipName_ItemDevicePixelRatioHasChanged, static_cast<int>( ::QQuickItem::ItemDevicePixelRatioHasChanged), 10},
    {sipName_ItemHasContents, static_cast<int>( ::QQuickItem::ItemHasContents), 8},
    {sipName_ItemIsFocusScope, static_cast<int>( ::QQuickItem::ItemIsFocusScope), 8},
    {sipName_ItemOpacityHasChanged, static_cast<int>( ::QQuickItem::ItemOpacityHasChanged), 10},
    {sipName_ItemParentHasChanged, static_cast<int>( ::QQuickItem::ItemParentHasChanged), 10},
    {sipName_ItemRotationHasChanged, static_cast<int>( ::QQuickItem::ItemRotationHasChanged), 10},
    {sipName_ItemSceneChange, static_cast<int>( ::QQuickItem::ItemSceneChange), 10},
    {sipName_ItemVisibleHasChanged, static_cast<int>( ::QQuickItem::ItemVisibleHasChanged), 10},
    {sipName_Left, static_cast<int>( ::QQuickItem::Left), 12},
    {sipName_Right, static_cast<int>( ::QQuickItem::Right), 12},
    {sipName_Top, static_cast<int>( ::QQuickItem::Top), 12},
    {sipName_TopLeft, static_cast<int>( ::QQuickItem::TopLeft), 12},
    {sipName_TopRight, static_cast<int>( ::QQuickItem::TopRight), 12},
};

PyDoc_STRVAR(doc_QQuickItem, "\1QQuickItem(parent: QQuickItem = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickItem[] = {
    {"windowChanged(QQuickWindow*)", "\1windowChanged(self, QQuickWindow)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QQuickItem = {
    & ::QQuickItem::staticMetaObject,
    0,
    signals_QQuickItem,
    0
};


sipClassTypeDef sipTypeDef_QtQuick_QQuickItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem,
        {0},
        &plugin_QQuickItem
    },
    {
        sipNameNr_QQuickItem,
        {0, 0, 1},
        136, methods_QQuickItem,
        24, enummembers_QQuickItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickItem,
    -1,
    -1,
    supers_QQuickItem,
    0,
    init_type_QQuickItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickItem,
    0,
    0,
    0,
    release_QQuickItem,
    cast_QQuickItem,
    0,
    0,
    0,
    0,
    0,
    0
};
