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

#include "sipAPIQtQuick.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 35 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 38 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 41 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 44 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 47 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 37 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 52 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 55 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 58 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 61 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 66 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 69 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 72 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 75 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 78 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 81 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 84 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 87 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 232 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 90 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 63 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 110 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 113 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 116 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 122 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 35 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 136 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 145 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 151 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 55 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 156 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 171 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 37 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 176 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 179 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 182 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 185 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 188 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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', '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', '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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', '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', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', ':', ':', 'T', 'e', 'x', 't', 'u', 'r', 'e', 'd', 'P', 'o', 'i', 'n', 't', '2', 'D', 0,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'C', 'o', 'r', 'e', '.', 'p', 'y', 'q', 't', 'W', 'r', 'a', 'p', 'p', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 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,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'M', 'i', 'p', 'm', 'a', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 0,
    'M', 'i', 'r', 'r', 'o', 'r', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'l', 'y', 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', '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,
    '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,
    '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,
    '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', '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,
    'M', 'i', 'r', 'r', 'o', 'r', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'l', 'y', 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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    'i', 's', 'A', 't', 'l', 'a', 's', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'O', 'w', 'n', 's', 'T', 'e', 'x', 't', 'u', 'r', '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    '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,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 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', '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,
    '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,
    'o', 'w', 'n', 's', 'T', 'e', 'x', 't', 'u', 'r', 'e', 0,
    'N', 'o', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 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,
    '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,
    't', 'e', 'x', 't', 'u', 'r', 'e', 'S', 'i', 'z', 'e', 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,
    '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,
    '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,
    '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,
    '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,
    '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,
    's', 'e', 't', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'g', 'e', 'n', 'M', 'i', 'p', 'M', 'a', 'p', 's', 0,
    's', 'e', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    '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,
    'f', 'i', 'l', 't', 'e', 'r', 'i', 'n', 'g', 0,
    'm', 'a', 'r', 'k', 'D', 'i', 'r', 't', 'y', 0,
    'l', 'a', 's', 't', 'C', 'h', 'i', 'l', 'd', 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,
    'm', 'a', 't', 'e', 'r', 'i', 'a', 'l', 0,
    'B', 'l', 'e', 'n', 'd', 'i', 'n', 'g', 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,
    '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,
    's', 'e', 't', 'F', 'l', 'a', 'g', 's', 0,
    't', 'a', 'b', 'A', 'r', 'r', 'a', 'y', 0,
    't', 'a', 'b', 'S', 't', 'o', 'p', 's', 0,
    '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,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 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,
    '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,
    '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,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 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,
    '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,
    's', 'o', 'u', 'r', 'c', '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', '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,
    'f', 'o', 'r', 'm', 'a', 't', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    'p', 'a', 'r', 'e', 'n', 't', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    '_', '_', 'o', 'r', '_', '_', 0,
    '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,
    '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,
    'N', 'o', 'n', 'e', 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,
    't', 'y', 'p', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    'b', 'a', 's', 'e', 0,
    's', 'i', 'z', '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 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 25 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 801 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

QSGMaterialShader* sipVH_QtQuick_0(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_1(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;
}

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

QSGTexture* sipVH_QtQuick_3(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;
}

QSGTexture* sipVH_QtQuick_4(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;
}

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

const char* sipVH_QtQuick_6(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, "AA", sipResKey, &sipRes);

    return sipRes;
}

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

#line 109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
        char **result = 0;
        PyObject *names = sipCallMethod(&sipIsErr, sipMethod, "");
        
        if (names)
        {
            if (PyList_Check(names))
            {
                // Note that the converted value will leak.  This shouldn't matter
                // because the data should be static anyway.
                result = new char *[PyList_GET_SIZE(names) + 1];
                result[PyList_GET_SIZE(names)] = 0;
        
                for (SIP_SSIZE_T i = 0; i < PyList_GET_SIZE(names); ++i)
                {
                    char *name;
                    PyObject *el = PyList_GET_ITEM(names, i);
                    
        #if PY_MAJOR_VERSION >= 3
                    PyObject *name_obj = PyUnicode_AsASCIIString(el);
        
                    name = (name_obj ? PyBytes_AS_STRING(name_obj) : 0);
        #else
                    name = PyString_AsString(el);
        #endif
        
                    if (!name)
                    {
                        result[i] = 0;
                        sipBadCatcherResult(sipMethod);
                        sipIsErr = 1;
                        break;
                    }
        
                    char *name_copy = new char[strlen(name) + 1];
                    strcpy(name_copy, name);
                    result[i] = name_copy;
        
        #if PY_MAJOR_VERSION >= 3
                    Py_DECREF(name_obj);
        #endif
                }
        
                if (!sipIsErr)
                    sipRes = result;
            }
            else
            {
                sipBadCatcherResult(sipMethod);
                sipIsErr = 1;
            }
            
            Py_DECREF(names);
        }
#line 932 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

    Py_DECREF(sipMethod);

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

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_QtQuick_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QSGMaterialShader::RenderState& a0,QSGMaterial*a1,QSGMaterial*a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NDD",new QSGMaterialShader::RenderState(a0),sipType_QSGMaterialShader_RenderState,NULL,a1,sipType_QSGMaterial,NULL,a2,sipType_QSGMaterial,NULL);

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

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

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

QWindow* sipVH_QtQuick_10(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;
}

QSGTextureProvider* sipVH_QtQuick_11(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;
}

QSGNode* sipVH_QtQuick_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QSGNode*a0,QQuickItem::UpdatePaintNodeData*a1)
{
    QSGNode* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DD",a0,sipType_QSGNode,NULL,a1,sipType_QQuickItem_UpdatePaintNodeData,NULL);

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

    return sipRes;
}

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

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

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

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

bool sipVH_QtQuick_15(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_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDropEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QDropEvent,NULL);

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

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

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

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

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

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

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

void sipVH_QtQuick_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QHoverEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QHoverEvent,NULL);

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

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

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

void sipVH_QtQuick_22(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QQuickItem::ItemChange a0,const QQuickItem::ItemChangeData& a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FN",a0,sipType_QQuickItem_ItemChange,new QQuickItem::ItemChangeData(a1),sipType_QQuickItem_ItemChangeData,NULL);

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

QVariant sipVH_QtQuick_23(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_24(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;
}

QQuickTextureFactory* sipVH_QtQuick_25(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_26(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_27(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;
}

QImage sipVH_QtQuick_28(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;
}

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

QQuickFramebufferObject::Renderer* sipVH_QtQuick_30(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;
}

void sipVH_QtQuick_31(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QQuickFramebufferObject*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QQuickFramebufferObject,NULL);

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

QOpenGLFramebufferObject* sipVH_QtQuick_32(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;
}


/* 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/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QSGTextureProvider, &sipType_QSGTextureProvider, -1, 1},
        {sipName_QSGTexture, &sipType_QSGTexture, 10, 2},
    #if QT_VERSION >= 0x050400
        {sipName_QQuickRenderControl, &sipType_QQuickRenderControl, -1, 3},
    #else
        {0, 0, -1, 3},
    #endif
        {sipName_QQuickItem, &sipType_QQuickItem, 11, 4},
        {sipName_QQuickTextureFactory, &sipType_QQuickTextureFactory, -1, 5},
    #if QT_VERSION >= 0x050400
        {sipName_QSGAbstractRenderer, &sipType_QSGAbstractRenderer, -1, 6},
    #else
        {0, 0, -1, 6},
    #endif
    #if QT_VERSION >= 0x050400
        {sipName_QQuickItemGrabResult, &sipType_QQuickItemGrabResult, -1, 7},
    #else
        {0, 0, -1, 7},
    #endif
    #if QT_VERSION >= 0x050400
        {sipName_QSGEngine, &sipType_QSGEngine, -1, 8},
    #else
        {0, 0, -1, 8},
    #endif
        {sipName_QQuickWindow, &sipType_QQuickWindow, 13, 9},
    #if QT_VERSION >= 0x050100
        {sipName_QQuickTextDocument, &sipType_QQuickTextDocument, -1, -1},
    #else
        {0, 0, -1, -1},
    #endif
        {sipName_QSGDynamicTexture, &sipType_QSGDynamicTexture, -1, -1},
    #if QT_VERSION >= 0x050200
        {sipName_QQuickFramebufferObject, &sipType_QQuickFramebufferObject, -1, 12},
    #else
        {0, 0, -1, 12},
    #endif
        {sipName_QQuickPaintedItem, &sipType_QQuickPaintedItem, -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 1229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 1268 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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_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_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__Filtering, {0}}, sipNameNr_Filtering, 65, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGTexture__WrapMode, {0}}, sipNameNr_WrapMode, 65, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGSimpleTextureNode__TextureCoordinatesTransformFlag, {0}}, sipNameNr_TextureCoordinatesTransformFlag, 62, slots_QSGSimpleTextureNode_TextureCoordinatesTransformFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGNode__DirtyStateBit, {0}}, sipNameNr_DirtyStateBit, 53, slots_QSGNode_DirtyStateBit},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGNode__Flag, {0}}, sipNameNr_Flag, 53, slots_QSGNode_Flag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGNode__NodeType, {0}}, sipNameNr_NodeType, 53, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGMaterial__Flag, {0}}, sipNameNr_Flag, 45, slots_QSGMaterial_Flag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGMaterialShader__RenderState__DirtyState, {0}}, sipNameNr_DirtyState, 49, slots_QSGMaterialShader_RenderState_DirtyState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGGeometry__DataPattern, {0}}, sipNameNr_DataPattern, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGEngine__CreateTextureOption, {0}}, sipNameNr_CreateTextureOption, 33, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSGAbstractRenderer__ClearModeBit, {0}}, sipNameNr_ClearModeBit, 27, slots_QSGAbstractRenderer_ClearModeBit},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickWindow__RenderStage, {0}}, sipNameNr_RenderStage, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickWindow__SceneGraphError, {0}}, sipNameNr_SceneGraphError, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickWindow__CreateTextureOption, {0}}, sipNameNr_CreateTextureOption, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickView__Status, {0}}, sipNameNr_Status, 19, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickView__ResizeMode, {0}}, sipNameNr_ResizeMode, 19, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickPaintedItem__PerformanceHint, {0}}, sipNameNr_PerformanceHint, 12, slots_QQuickPaintedItem_PerformanceHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickPaintedItem__RenderTarget, {0}}, sipNameNr_RenderTarget, 12, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickItem__TransformOrigin, {0}}, sipNameNr_TransformOrigin, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickItem__ItemChange, {0}}, sipNameNr_ItemChange, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QQuickItem__Flag, {0}}, sipNameNr_Flag, 4, slots_QQuickItem_Flag},
};


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &sipTypeDef_QtQuick_QList_0101QQuickItem.mtd_base,
    &sipTypeDef_QtQuick_QQuickFramebufferObject.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickFramebufferObject_Renderer.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickImageProvider.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickItem.super.ctd_base,
    &enumTypes[20].etd_base,
    &sipTypeDef_QtQuick_QQuickItem_Flags.super.ctd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtQuick_QQuickItem_ItemChangeData.super.ctd_base,
    &enumTypes[18].etd_base,
    &sipTypeDef_QtQuick_QQuickItem_UpdatePaintNodeData.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickItemGrabResult.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickPaintedItem.super.ctd_base,
    &enumTypes[16].etd_base,
    &sipTypeDef_QtQuick_QQuickPaintedItem_PerformanceHints.super.ctd_base,
    &enumTypes[17].etd_base,
    &sipTypeDef_QtQuick_QQuickRenderControl.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickTextDocument.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickTextureFactory.super.ctd_base,
    &sipTypeDef_QtQuick_QQuickView.super.ctd_base,
    &enumTypes[15].etd_base,
    &enumTypes[14].etd_base,
    &sipTypeDef_QtQuick_QQuickWindow.super.ctd_base,
    &enumTypes[13].etd_base,
    &sipTypeDef_QtQuick_QQuickWindow_CreateTextureOptions.super.ctd_base,
    &enumTypes[11].etd_base,
    &enumTypes[12].etd_base,
    &sipTypeDef_QtQuick_QSGAbstractRenderer.super.ctd_base,
    &sipTypeDef_QtQuick_QSGAbstractRenderer_ClearMode.super.ctd_base,
    &enumTypes[10].etd_base,
    &sipTypeDef_QtQuick_QSGBasicGeometryNode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGClipNode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGDynamicTexture.super.ctd_base,
    &sipTypeDef_QtQuick_QSGEngine.super.ctd_base,
    &enumTypes[9].etd_base,
    &sipTypeDef_QtQuick_QSGEngine_CreateTextureOptions.super.ctd_base,
    &sipTypeDef_QtQuick_QSGFlatColorMaterial.super.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry.super.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry_Attribute.super.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry_AttributeSet.super.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry_ColoredPoint2D.super.ctd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtQuick_QSGGeometry_Point2D.super.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometry_TexturedPoint2D.super.ctd_base,
    &sipTypeDef_QtQuick_QSGGeometryNode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterial.super.ctd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtQuick_QSGMaterial_Flags.super.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterialShader.super.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterialShader_RenderState.super.ctd_base,
    &enumTypes[7].etd_base,
    &sipTypeDef_QtQuick_QSGMaterialShader_RenderState_DirtyStates.super.ctd_base,
    &sipTypeDef_QtQuick_QSGMaterialType.super.ctd_base,
    &sipTypeDef_QtQuick_QSGNode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGNode_DirtyState.super.ctd_base,
    &enumTypes[3].etd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtQuick_QSGNode_Flags.super.ctd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtQuick_QSGOpacityNode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGOpaqueTextureMaterial.super.ctd_base,
    &sipTypeDef_QtQuick_QSGSimpleRectNode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGSimpleTextureNode.super.ctd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtQuick_QSGSimpleTextureNode_TextureCoordinatesTransformMode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGTexture.super.ctd_base,
    &enumTypes[0].etd_base,
    &enumTypes[1].etd_base,
    &sipTypeDef_QtQuick_QSGTextureMaterial.super.ctd_base,
    &sipTypeDef_QtQuick_QSGTextureProvider.super.ctd_base,
    &sipTypeDef_QtQuick_QSGTransformNode.super.ctd_base,
    &sipTypeDef_QtQuick_QSGVertexColorMaterial.super.ctd_base,
};


/*
 * This defines the virtual handlers that this module implements and can be
 * used by other modules.
 */
static sipVirtHandlerFunc virtHandlersTable[] = {
    (sipVirtHandlerFunc)sipVH_QtQuick_0,
    (sipVirtHandlerFunc)sipVH_QtQuick_1,
    (sipVirtHandlerFunc)sipVH_QtQuick_2,
    (sipVirtHandlerFunc)sipVH_QtQuick_3,
    (sipVirtHandlerFunc)sipVH_QtQuick_4,
    (sipVirtHandlerFunc)sipVH_QtQuick_5,
    (sipVirtHandlerFunc)sipVH_QtQuick_6,
    (sipVirtHandlerFunc)sipVH_QtQuick_7,
    (sipVirtHandlerFunc)sipVH_QtQuick_8,
    (sipVirtHandlerFunc)sipVH_QtQuick_9,
    (sipVirtHandlerFunc)sipVH_QtQuick_10,
    (sipVirtHandlerFunc)sipVH_QtQuick_11,
    (sipVirtHandlerFunc)sipVH_QtQuick_12,
    (sipVirtHandlerFunc)sipVH_QtQuick_13,
    (sipVirtHandlerFunc)sipVH_QtQuick_14,
    (sipVirtHandlerFunc)sipVH_QtQuick_15,
    (sipVirtHandlerFunc)sipVH_QtQuick_16,
    (sipVirtHandlerFunc)sipVH_QtQuick_17,
    (sipVirtHandlerFunc)sipVH_QtQuick_18,
    (sipVirtHandlerFunc)sipVH_QtQuick_19,
    (sipVirtHandlerFunc)sipVH_QtQuick_20,
    (sipVirtHandlerFunc)sipVH_QtQuick_21,
    (sipVirtHandlerFunc)sipVH_QtQuick_22,
    (sipVirtHandlerFunc)sipVH_QtQuick_23,
    (sipVirtHandlerFunc)sipVH_QtQuick_24,
    (sipVirtHandlerFunc)sipVH_QtQuick_25,
    (sipVirtHandlerFunc)sipVH_QtQuick_26,
    (sipVirtHandlerFunc)sipVH_QtQuick_27,
    (sipVirtHandlerFunc)sipVH_QtQuick_28,
    (sipVirtHandlerFunc)sipVH_QtQuick_29,
    (sipVirtHandlerFunc)sipVH_QtQuick_30,
    (sipVirtHandlerFunc)sipVH_QtQuick_31,
    (sipVirtHandlerFunc)sipVH_QtQuick_32,
};


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


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


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtQuick = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtQuick,
    0,
    -1,
    sipStrings_QtQuick,
    importsTable,
    NULL,
    72,
    typesTable,
    NULL,
    0,
    NULL,
    0,
    NULL,
    virtHandlersTable,
    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;
const sipExportedModuleDef *sipModuleAPI_QtQuick_QtCore;
const sipExportedModuleDef *sipModuleAPI_QtQuick_QtNetwork;
const sipExportedModuleDef *sipModuleAPI_QtQuick_QtQml;
const sipExportedModuleDef *sipModuleAPI_QtQuick_QtGui;

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

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_QtQuick_QtCore = sipModuleAPI_QtQuick.em_imports[0].im_module;
    sipModuleAPI_QtQuick_QtNetwork = sipModuleAPI_QtQuick.em_imports[1].im_module;
    sipModuleAPI_QtQuick_QtQml = sipModuleAPI_QtQuick.em_imports[2].im_module;
    sipModuleAPI_QtQuick_QtGui = sipModuleAPI_QtQuick.em_imports[3].im_module;
#line 236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
qpyquick_post_init();
#line 1897 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1904 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 1908 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 175 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

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

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 2015 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 148 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 2049 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtQuick_QList_0101QQuickItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3209,
        {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/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgvertexcolormaterial.sip"
#include <qsgvertexcolormaterial.h>
#line 2080 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 2084 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 2087 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 2090 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 2093 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    QSGMaterialShader* createShader() const;
    QSGMaterialType* type() 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()
{
    sipCommonDtor(sipPySelf);
}

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

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

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

    extern QSGMaterialShader* sipVH_QtQuick_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_0(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    extern QSGMaterialType* sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_1(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QSGMaterial*);

    return sipVH_QtQuick_2(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QSGVertexColorMaterial.compare(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 || sipIsDerived((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, "QSGVertexColorMaterial.type() -> 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 || sipIsDerived((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, "QSGVertexColorMaterial.createShader() -> 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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSGVertexColorMaterial(void *, const sipTypeDef *);}
static void *cast_QSGVertexColorMaterial(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGVertexColorMaterial)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGMaterial)->ctd_cast((QSGMaterial *)(QSGVertexColorMaterial *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGVertexColorMaterial(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{45, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGVertexColorMaterial = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGVertexColorMaterial,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 2409 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 2413 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 2416 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2419 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2422 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2425 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2428 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2431 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2443 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2446 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2449 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2452 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2455 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 2458 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSGTexture* texture() const;

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

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

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

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return 0;

    extern QSGTexture* sipVH_QtQuick_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_3(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QSGTextureProvider.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 2765 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGTextureProvider.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 2824 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGTextureProvider.timerEvent(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 || sipIsDerived((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, "QSGTextureProvider.childEvent(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 || sipIsDerived((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, "QSGTextureProvider.customEvent(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 || sipIsDerived((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, "QSGTextureProvider.connectNotify(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 || sipIsDerived((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, "QSGTextureProvider.disconnectNotify(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 || sipIsDerived((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, "QSGTextureProvider.senderSignalIndex() -> 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, "QSGTextureProvider.isSignalConnected(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, "QSGTextureProvider.texture() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGTextureProvider(void *, const sipTypeDef *);}
static void *cast_QSGTextureProvider(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGTextureProvider)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSGTextureProvider *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGTextureProvider(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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


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

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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGTextureProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGTextureProvider,
        {0}
    },
    {
        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
},
    &QSGTextureProvider::staticMetaObject,
    0,
    signals_QSGTextureProvider,
    0
};

#line 49 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexturematerial.sip"
#include <qsgtexturematerial.h>
#line 3220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 3230 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3233 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(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_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QSGMaterial*);

    return sipVH_QtQuick_2(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_0(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_1(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGTextureMaterial_type, "QSGTextureMaterial.type() -> 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 || sipIsDerived((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, "QSGTextureMaterial.createShader() -> 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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSGTextureMaterial(void *, const sipTypeDef *);}
static void *cast_QSGTextureMaterial(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGTextureMaterial)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGOpaqueTextureMaterial)->ctd_cast((QSGOpaqueTextureMaterial *)(QSGTextureMaterial *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGTextureMaterial(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{60, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGTextureMaterial = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGTextureMaterial,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexturematerial.sip"
#include <qsgtexturematerial.h>
#line 3505 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 3509 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3512 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3515 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3518 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 3521 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    int compare(const QSGMaterial*) const;
    QSGMaterialShader* createShader() const;
    QSGMaterialType* type() 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()
{
    sipCommonDtor(sipPySelf);
}

int sipQSGOpaqueTextureMaterial::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 QSGOpaqueTextureMaterial::compare(a0);

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

    return sipVH_QtQuick_2(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_0(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    extern QSGMaterialType* sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_1(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGOpaqueTextureMaterial_type, "QSGOpaqueTextureMaterial.type() -> 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 || sipIsDerived((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, "QSGOpaqueTextureMaterial.createShader() -> 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 || sipIsDerived((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, "QSGOpaqueTextureMaterial.compare(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 || sipIsDerived((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, "QSGOpaqueTextureMaterial.setTexture(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, "QSGOpaqueTextureMaterial.texture() -> 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, "QSGOpaqueTextureMaterial.setMipmapFiltering(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, "QSGOpaqueTextureMaterial.mipmapFiltering() -> 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, "QSGOpaqueTextureMaterial.setFiltering(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, "QSGOpaqueTextureMaterial.filtering() -> 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, "QSGOpaqueTextureMaterial.setHorizontalWrapMode(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, "QSGOpaqueTextureMaterial.horizontalWrapMode() -> 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, "QSGOpaqueTextureMaterial.setVerticalWrapMode(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, "QSGOpaqueTextureMaterial.verticalWrapMode() -> 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;
}


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

    if (targetType == sipType_QSGOpaqueTextureMaterial)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGMaterial)->ctd_cast((QSGMaterial *)(QSGOpaqueTextureMaterial *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGOpaqueTextureMaterial(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{45, 255, 1}};


static PyMethodDef methods_QSGOpaqueTextureMaterial[] = {
    {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_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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGOpaqueTextureMaterial = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGOpaqueTextureMaterial,
        {0}
    },
    {
        sipNameNr_QSGOpaqueTextureMaterial,
        {0, 0, 1},
        13, 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
},
    0,
    0,
    0,
    0
};

#line 69 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 4100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 4107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 4110 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 4113 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4116 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4119 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4122 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4125 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4128 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4131 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4134 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4137 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4140 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4143 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4146 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4149 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 4155 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4158 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void bind();
    QSGTexture* removedFromAtlas() const;
    bool isAtlasTexture() const;
    QRectF normalizedTextureSubRect() const;
    bool hasMipmaps() const;
    bool hasAlphaChannel() const;
    QSize textureSize() const;
    int textureId() const;
    bool updateTexture();

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

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

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

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    extern QSGTexture* sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_4(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    extern QRectF sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_5(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return QSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QSGDynamicTexture.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 4590 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGDynamicTexture.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 4649 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGDynamicTexture.timerEvent(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 || sipIsDerived((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, "QSGDynamicTexture.childEvent(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 || sipIsDerived((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, "QSGDynamicTexture.customEvent(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 || sipIsDerived((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, "QSGDynamicTexture.connectNotify(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 || sipIsDerived((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, "QSGDynamicTexture.disconnectNotify(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 || sipIsDerived((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, "QSGDynamicTexture.senderSignalIndex() -> 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, "QSGDynamicTexture.isSignalConnected(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, "QSGDynamicTexture.updateTexture() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGDynamicTexture(void *, const sipTypeDef *);}
static void *cast_QSGDynamicTexture(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGDynamicTexture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGTexture)->ctd_cast((QSGTexture *)(QSGDynamicTexture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGDynamicTexture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{65, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGDynamicTexture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGDynamicTexture,
        {0}
    },
    {
        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
},
    &QSGDynamicTexture::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 5038 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5042 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5045 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 5048 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5051 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5054 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5057 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5060 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5063 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5066 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5069 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5072 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5075 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5078 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5081 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5084 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5087 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 5090 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5093 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void bind();
    QSGTexture* removedFromAtlas() const;
    bool isAtlasTexture() const;
    QRectF normalizedTextureSubRect() const;
    bool hasMipmaps() const;
    bool hasAlphaChannel() const;
    QSize textureSize() const;
    int textureId() const;

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

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

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    extern QSGTexture* sipVH_QtQuick_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_4(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    extern QRectF sipVH_QtQuick_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_5(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return QSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QSGTexture.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 5509 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGTexture.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 5568 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGTexture.timerEvent(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 || sipIsDerived((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, "QSGTexture.childEvent(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 || sipIsDerived((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, "QSGTexture.customEvent(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 || sipIsDerived((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, "QSGTexture.connectNotify(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 || sipIsDerived((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, "QSGTexture.disconnectNotify(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 || sipIsDerived((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, "QSGTexture.senderSignalIndex() -> 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, "QSGTexture.isSignalConnected(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, "QSGTexture.textureId() -> 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, "QSGTexture.textureSize() -> 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, "QSGTexture.hasAlphaChannel() -> 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, "QSGTexture.hasMipmaps() -> 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, "QSGTexture.normalizedTextureSubRect() -> 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 || sipIsDerived((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, "QSGTexture.isAtlasTexture() -> 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 || sipIsDerived((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, "QSGTexture.removedFromAtlas() -> 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 || sipIsDerived((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, "QSGTexture.bind()");

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, "QSGTexture.updateBindOptions(bool force=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, "QSGTexture.setMipmapFiltering(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, "QSGTexture.mipmapFiltering() -> 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, "QSGTexture.setFiltering(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, "QSGTexture.filtering() -> 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, "QSGTexture.setHorizontalWrapMode(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, "QSGTexture.horizontalWrapMode() -> 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, "QSGTexture.setVerticalWrapMode(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, "QSGTexture.verticalWrapMode() -> 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, "QSGTexture.convertToNormalizedSourceRect(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;
}


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

    if (targetType == sipType_QSGTexture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSGTexture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGTexture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 0, 1}};


static PyMethodDef methods_QSGTexture[] = {
    {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_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_ClampToEdge, static_cast<int>(QSGTexture::ClampToEdge), 67},
    {sipName_Linear, static_cast<int>(QSGTexture::Linear), 66},
    {sipName_Nearest, static_cast<int>(QSGTexture::Nearest), 66},
    {sipName_None, static_cast<int>(QSGTexture::None), 66},
    {sipName_Repeat, static_cast<int>(QSGTexture::Repeat), 67},
};

PyDoc_STRVAR(doc_QSGTexture, "\1QSGTexture()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGTexture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGTexture,
        {0}
    },
    {
        sipNameNr_QSGTexture,
        {0, 0, 1},
        27, methods_QSGTexture,
        5, 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
},
    &QSGTexture::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 6476 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 6480 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int() != 0);
#line 6498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int() != a0->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int());
#line 6528 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int() == a0->operator QSGSimpleTextureNode::TextureCoordinatesTransformMode::Int());
#line 6564 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
            QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSGSimpleTextureNode::TextureCoordinatesTransformMode(*a0 ^ a1);
#line 6667 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State, &a1))
        {
            QSGSimpleTextureNode::TextureCoordinatesTransformMode*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGSimpleTextureNode::TextureCoordinatesTransformMode(*a0 | a1);
#line 6717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            sipCpp->QSGSimpleTextureNode::TextureCoordinatesTransformMode::operator^=(*a0);
            sipReleaseType(a0,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QSGSimpleTextureNode::TextureCoordinatesTransformMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode, &a0, &a0State))
        {
            sipCpp->QSGSimpleTextureNode::TextureCoordinatesTransformMode::operator|=(*a0);
            sipReleaseType(a0,sipType_QSGSimpleTextureNode_TextureCoordinatesTransformMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 6994 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGSimpleTextureNode_TextureCoordinatesTransformMode[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___and__, and_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___xor__, xor_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___or__, or_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___int__, int_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ixor__, ixor_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___ior__, ior_slot},
    {(void *)slot_QSGSimpleTextureNode_TextureCoordinatesTransformMode___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGSimpleTextureNode_TextureCoordinatesTransformMode, "\1QSGSimpleTextureNode.TextureCoordinatesTransformMode(QSGSimpleTextureNode.TextureCoordinatesTransformMode)\n"
    "QSGSimpleTextureNode.TextureCoordinatesTransformMode(int)\n"
    "QSGSimpleTextureNode.TextureCoordinatesTransformMode()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGSimpleTextureNode_TextureCoordinatesTransformMode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGSimpleTextureNode__TextureCoordinatesTransformMode,
        {0}
    },
    {
        sipNameNr_TextureCoordinatesTransformMode,
        {62, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    convertTo_QSGSimpleTextureNode_TextureCoordinatesTransformMode,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 7076 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgsimpletexturenode.sip"
#include <qsgsimpletexturenode.h>
#line 7080 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 7083 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7086 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 7089 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 7092 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7098 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void preprocess();
    bool isSubtreeBlocked() const;

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

void sipQSGSimpleTextureNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSGSimpleTextureNode::preprocess();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSGSimpleTextureNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSGSimpleTextureNode::isSubtreeBlocked();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGSimpleTextureNode_setRect, "QSGSimpleTextureNode.setRect(QRectF)\n"
    "QSGSimpleTextureNode.setRect(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, "QSGSimpleTextureNode.rect() -> 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, "QSGSimpleTextureNode.setTexture(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, "QSGSimpleTextureNode.texture() -> 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, "QSGSimpleTextureNode.setFiltering(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, "QSGSimpleTextureNode.filtering() -> 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, "QSGSimpleTextureNode.setTextureCoordinatesTransform(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, "QSGSimpleTextureNode.textureCoordinatesTransform() -> 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, "QSGSimpleTextureNode.setOwnsTexture(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, "QSGSimpleTextureNode.ownsTexture() -> 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;
}


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

    if (targetType == sipType_QSGSimpleTextureNode)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGGeometryNode)->ctd_cast((QSGGeometryNode *)(QSGSimpleTextureNode *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGSimpleTextureNode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{44, 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_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_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), 63},
    {sipName_MirrorVertically, static_cast<int>(QSGSimpleTextureNode::MirrorVertically), 63},
    {sipName_NoTransform, static_cast<int>(QSGSimpleTextureNode::NoTransform), 63},
};

PyDoc_STRVAR(doc_QSGSimpleTextureNode, "\1QSGSimpleTextureNode()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGSimpleTextureNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGSimpleTextureNode,
        {0}
    },
    {
        sipNameNr_QSGSimpleTextureNode,
        {0, 0, 1},
        10, 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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgsimplerectnode.sip"
#include <qsgsimplerectnode.h>
#line 7604 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 7611 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 7614 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 7617 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7620 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7623 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7626 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void preprocess();
    bool isSubtreeBlocked() const;

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

void sipQSGSimpleRectNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSGSimpleRectNode::preprocess();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSGSimpleRectNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSGSimpleRectNode::isSubtreeBlocked();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGSimpleRectNode_setRect, "QSGSimpleRectNode.setRect(QRectF)\n"
    "QSGSimpleRectNode.setRect(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, "QSGSimpleRectNode.rect() -> 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, "QSGSimpleRectNode.setColor(QColor)");

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, "QSGSimpleRectNode.color() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGSimpleRectNode(void *, const sipTypeDef *);}
static void *cast_QSGSimpleRectNode(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGSimpleRectNode)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGGeometryNode)->ctd_cast((QSGGeometryNode *)(QSGSimpleRectNode *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGSimpleRectNode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{44, 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, QColor)\n"
    "QSGSimpleRectNode()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGSimpleRectNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGSimpleRectNode,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 336 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7978 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7982 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7985 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 7988 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void preprocess();
    bool isSubtreeBlocked() const;

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

void sipQSGOpacityNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSGOpacityNode::preprocess();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSGOpacityNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSGOpacityNode::isSubtreeBlocked();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGOpacityNode_setOpacity, "QSGOpacityNode.setOpacity(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, "QSGOpacityNode.opacity() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGOpacityNode(void *, const sipTypeDef *);}
static void *cast_QSGOpacityNode(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGOpacityNode)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGNode)->ctd_cast((QSGNode *)(QSGOpacityNode *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGOpacityNode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{53, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGOpacityNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGOpacityNode,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 323 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 8246 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void preprocess();
    bool isSubtreeBlocked() const;

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

void sipQSGTransformNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSGTransformNode::preprocess();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSGTransformNode::isSubtreeBlocked() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QSGTransformNode::isSubtreeBlocked();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGTransformNode_setMatrix, "QSGTransformNode.setMatrix(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, "QSGTransformNode.matrix() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGTransformNode(void *, const sipTypeDef *);}
static void *cast_QSGTransformNode(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGTransformNode)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGNode)->ctd_cast((QSGNode *)(QSGTransformNode *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGTransformNode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{53, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGTransformNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGTransformNode,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8509 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 8516 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8522 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(sipPySelf);
}

void sipQSGClipNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSGClipNode::preprocess();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGClipNode_setIsRectangular, "QSGClipNode.setIsRectangular(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, "QSGClipNode.isRectangular() -> 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, "QSGClipNode.setClipRect(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, "QSGClipNode.clipRect() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGClipNode(void *, const sipTypeDef *);}
static void *cast_QSGClipNode(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGClipNode)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGBasicGeometryNode)->ctd_cast((QSGBasicGeometryNode *)(QSGClipNode *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGClipNode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{30, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGClipNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGClipNode,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8835 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 8839 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 8842 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8845 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8848 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 8851 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(sipPySelf);
}

void sipQSGGeometryNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSGGeometryNode::preprocess();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGGeometryNode_setMaterial, "QSGGeometryNode.setMaterial(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 287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        sipCpp->setMaterial(a0);
        
        if (sipCpp->flags() & QSGNode::OwnsMaterial)
            sipTransferTo(a0Wrapper, sipSelf);
#line 8941 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometryNode.material() -> 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, "QSGGeometryNode.setOpaqueMaterial(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 296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        sipCpp->setOpaqueMaterial(a0);
        
        if (sipCpp->flags() & QSGNode::OwnsOpaqueMaterial)
            sipTransferTo(a0Wrapper, sipSelf);
#line 9001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometryNode.opaqueMaterial() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGGeometryNode(void *, const sipTypeDef *);}
static void *cast_QSGGeometryNode(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGGeometryNode)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGBasicGeometryNode)->ctd_cast((QSGBasicGeometryNode *)(QSGGeometryNode *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGGeometryNode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{30, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGGeometryNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometryNode,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9173 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 9177 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9183 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9186 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGBasicGeometryNode_setGeometry, "QSGBasicGeometryNode.setGeometry(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 267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        sipCpp->setGeometry(a0);
        
        if (sipCpp->flags() & QSGNode::OwnsGeometry)
            sipTransferTo(a0Wrapper, sipSelf);
#line 9208 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGBasicGeometryNode.geometry() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QSGBasicGeometryNode(void *, const sipTypeDef *);}
static void *cast_QSGBasicGeometryNode(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGBasicGeometryNode)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGNode)->ctd_cast((QSGNode *)(QSGBasicGeometryNode *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QSGBasicGeometryNode(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSGBasicGeometryNode[] = {{53, 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)}
};


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGBasicGeometryNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGBasicGeometryNode,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9349 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9353 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::DirtyState::Int() != 0);
#line 9371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::DirtyState::Int() != a0->operator QSGNode::DirtyState::Int());
#line 9401 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::DirtyState::Int() == a0->operator QSGNode::DirtyState::Int());
#line 9437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_DirtyState___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGNode::DirtyState* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_DirtyState, &a0, &a0State, &a1))
        {
            QSGNode::DirtyState*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSGNode::DirtyState(*a0 ^ a1);
#line 9540 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_DirtyState___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGNode::DirtyState* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_DirtyState, &a0, &a0State, &a1))
        {
            QSGNode::DirtyState*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGNode::DirtyState(*a0 | a1);
#line 9590 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QSGNode::DirtyState* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_DirtyState, &a0, &a0State))
        {
            sipCpp->QSGNode::DirtyState::operator^=(*a0);
            sipReleaseType(a0,sipType_QSGNode_DirtyState,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QSGNode::DirtyState* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_DirtyState, &a0, &a0State))
        {
            sipCpp->QSGNode::DirtyState::operator|=(*a0);
            sipReleaseType(a0,sipType_QSGNode_DirtyState,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 9867 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGNode_DirtyState[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QSGNode_DirtyState___and__, and_slot},
    {(void *)slot_QSGNode_DirtyState___xor__, xor_slot},
    {(void *)slot_QSGNode_DirtyState___or__, or_slot},
    {(void *)slot_QSGNode_DirtyState___int__, int_slot},
    {(void *)slot_QSGNode_DirtyState___ixor__, ixor_slot},
    {(void *)slot_QSGNode_DirtyState___ior__, ior_slot},
    {(void *)slot_QSGNode_DirtyState___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGNode_DirtyState, "\1QSGNode.DirtyState(QSGNode.DirtyState)\n"
    "QSGNode.DirtyState(int)\n"
    "QSGNode.DirtyState()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGNode_DirtyState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGNode__DirtyState,
        {0}
    },
    {
        sipNameNr_DirtyState,
        {53, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGNode_DirtyState,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGNode_DirtyState,
    convertTo_QSGNode_DirtyState,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9949 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 9953 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::Flags::Int() != 0);
#line 9971 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::Flags::Int() != a0->operator QSGNode::Flags::Int());
#line 10001 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGNode::Flags::Int() == a0->operator QSGNode::Flags::Int());
#line 10037 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_Flags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGNode::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_Flags, &a0, &a0State, &a1))
        {
            QSGNode::Flags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSGNode::Flags(*a0 ^ a1);
#line 10140 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGNode_Flags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGNode::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGNode_Flags, &a0, &a0State, &a1))
        {
            QSGNode::Flags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGNode::Flags(*a0 | a1);
#line 10190 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QSGNode::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_Flags, &a0, &a0State))
        {
            sipCpp->QSGNode::Flags::operator^=(*a0);
            sipReleaseType(a0,sipType_QSGNode_Flags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QSGNode::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGNode_Flags, &a0, &a0State))
        {
            sipCpp->QSGNode::Flags::operator|=(*a0);
            sipReleaseType(a0,sipType_QSGNode_Flags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 10467 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGNode_Flags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QSGNode_Flags___and__, and_slot},
    {(void *)slot_QSGNode_Flags___xor__, xor_slot},
    {(void *)slot_QSGNode_Flags___or__, or_slot},
    {(void *)slot_QSGNode_Flags___int__, int_slot},
    {(void *)slot_QSGNode_Flags___ixor__, ixor_slot},
    {(void *)slot_QSGNode_Flags___ior__, ior_slot},
    {(void *)slot_QSGNode_Flags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGNode_Flags, "\1QSGNode.Flags(QSGNode.Flags)\n"
    "QSGNode.Flags(int)\n"
    "QSGNode.Flags()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGNode_Flags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGNode__Flags,
        {0}
    },
    {
        sipNameNr_Flags,
        {53, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGNode_Flags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGNode_Flags,
    convertTo_QSGNode_Flags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 10549 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 10553 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 10556 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 10651 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(sipPySelf);
}

void sipQSGNode::preprocess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QSGNode::preprocess();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGNode_parent, "QSGNode.parent() -> 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, "QSGNode.removeChildNode(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, "QSGNode.removeAllChildNodes()");

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, "QSGNode.prependChildNode(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 196 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        sipCpp->prependChildNode(a0);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 10821 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGNode.appendChildNode(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 204 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        sipCpp->appendChildNode(a0);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 10854 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGNode.insertChildNodeBefore(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 212 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        sipCpp->insertChildNodeBefore(a0, a1);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 10888 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGNode.insertChildNodeAfter(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 220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        sipCpp->insertChildNodeAfter(a0, a1);
        
        if (a0->flags() & QSGNode::OwnedByParent)
            sipTransferTo(a0Wrapper, sipSelf);
#line 10922 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGNode.childCount() -> 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, "QSGNode.childAtIndex(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, "QSGNode.firstChild() -> 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, "QSGNode.lastChild() -> 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, "QSGNode.nextSibling() -> 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, "QSGNode.previousSibling() -> 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, "QSGNode.type() -> 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, "QSGNode.markDirty(QSGNode.DirtyState)");

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, "QSGNode.isSubtreeBlocked() -> 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 || sipIsDerived((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, "QSGNode.flags() -> 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, "QSGNode.setFlag(QSGNode.Flag, bool enabled=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 238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        QSGNode::Flags old_flags = sipCpp->flags();
        
        sipCpp->setFlag(a0, a1);
        
        sipError = qsgnode_handle_flags(sipCpp, sipSelf, old_flags);
#line 11237 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGNode.setFlags(QSGNode.Flags, bool enabled=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))
        {
            sipErrorState sipError = sipErrorNone;

#line 247 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
        QSGNode::Flags old_flags = sipCpp->flags();
        
        sipCpp->setFlags(*a0, a1);
        
        sipError = qsgnode_handle_flags(sipCpp, sipSelf, old_flags);
#line 11287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            sipReleaseType(a0,sipType_QSGNode_Flags,a0State);

            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_setFlags, doc_QSGNode_setFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QSGNode_preprocess, "QSGNode.preprocess()");

extern "C" {static PyObject *meth_QSGNode_preprocess(PyObject *, PyObject *);}
static PyObject *meth_QSGNode_preprocess(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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 11352 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGNode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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), 58},
    {sipName_ClipNodeType, static_cast<int>(QSGNode::ClipNodeType), 58},
    {sipName_DirtyGeometry, static_cast<int>(QSGNode::DirtyGeometry), 55},
    {sipName_DirtyMaterial, static_cast<int>(QSGNode::DirtyMaterial), 55},
    {sipName_DirtyMatrix, static_cast<int>(QSGNode::DirtyMatrix), 55},
    {sipName_DirtyNodeAdded, static_cast<int>(QSGNode::DirtyNodeAdded), 55},
    {sipName_DirtyNodeRemoved, static_cast<int>(QSGNode::DirtyNodeRemoved), 55},
    {sipName_DirtyOpacity, static_cast<int>(QSGNode::DirtyOpacity), 55},
    {sipName_GeometryNodeType, static_cast<int>(QSGNode::GeometryNodeType), 58},
    {sipName_OpacityNodeType, static_cast<int>(QSGNode::OpacityNodeType), 58},
    {sipName_OwnedByParent, static_cast<int>(QSGNode::OwnedByParent), 56},
    {sipName_OwnsGeometry, static_cast<int>(QSGNode::OwnsGeometry), 56},
    {sipName_OwnsMaterial, static_cast<int>(QSGNode::OwnsMaterial), 56},
    {sipName_OwnsOpaqueMaterial, static_cast<int>(QSGNode::OwnsOpaqueMaterial), 56},
    {sipName_TransformNodeType, static_cast<int>(QSGNode::TransformNodeType), 58},
    {sipName_UsePreprocess, static_cast<int>(QSGNode::UsePreprocess), 56},
};

PyDoc_STRVAR(doc_QSGNode, "\1QSGNode()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGNode,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QSGNode,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 11526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 11530 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterial::Flags::Int() != 0);
#line 11548 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterial::Flags::Int() != a0->operator QSGMaterial::Flags::Int());
#line 11578 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterial::Flags::Int() == a0->operator QSGMaterial::Flags::Int());
#line 11614 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterial_Flags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGMaterial::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterial_Flags, &a0, &a0State, &a1))
        {
            QSGMaterial::Flags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSGMaterial::Flags(*a0 ^ a1);
#line 11717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterial_Flags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGMaterial::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGMaterial_Flags, &a0, &a0State, &a1))
        {
            QSGMaterial::Flags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGMaterial::Flags(*a0 | a1);
#line 11767 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QSGMaterial::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterial_Flags, &a0, &a0State))
        {
            sipCpp->QSGMaterial::Flags::operator^=(*a0);
            sipReleaseType(a0,sipType_QSGMaterial_Flags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QSGMaterial::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterial_Flags, &a0, &a0State))
        {
            sipCpp->QSGMaterial::Flags::operator|=(*a0);
            sipReleaseType(a0,sipType_QSGMaterial_Flags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 12044 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGMaterial_Flags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QSGMaterial_Flags___and__, and_slot},
    {(void *)slot_QSGMaterial_Flags___xor__, xor_slot},
    {(void *)slot_QSGMaterial_Flags___or__, or_slot},
    {(void *)slot_QSGMaterial_Flags___int__, int_slot},
    {(void *)slot_QSGMaterial_Flags___ixor__, ixor_slot},
    {(void *)slot_QSGMaterial_Flags___ior__, ior_slot},
    {(void *)slot_QSGMaterial_Flags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGMaterial_Flags, "\1QSGMaterial.Flags(QSGMaterial.Flags)\n"
    "QSGMaterial.Flags(int)\n"
    "QSGMaterial.Flags()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGMaterial_Flags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterial__Flags,
        {0}
    },
    {
        sipNameNr_Flags,
        {45, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterial_Flags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGMaterial_Flags,
    convertTo_QSGMaterial_Flags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 12126 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"



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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGMaterialType = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialType,
        {0}
    },
    {
        sipNameNr_QSGMaterialType,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialType,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGMaterialType,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 37 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 12271 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 37 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 12277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterialShader::RenderState::DirtyStates::Int() != 0);
#line 12295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterialShader::RenderState::DirtyStates::Int() != a0->operator QSGMaterialShader::RenderState::DirtyStates::Int());
#line 12325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGMaterialShader::RenderState::DirtyStates::Int() == a0->operator QSGMaterialShader::RenderState::DirtyStates::Int());
#line 12361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

            return sipConvertFromNewType(sipRes,sipType_QSGMaterialShader_RenderState_DirtyStates,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 = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSGMaterialShader::RenderState::DirtyStates(*a0 ^ a1);
#line 12464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGMaterialShader_RenderState_DirtyStates___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

            return sipConvertFromNewType(sipRes,sipType_QSGMaterialShader_RenderState_DirtyStates,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 = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGMaterialShader::RenderState::DirtyStates(*a0 | a1);
#line 12514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State))
        {
            sipCpp->QSGMaterialShader::RenderState::DirtyStates::operator^=(*a0);
            sipReleaseType(a0,sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QSGMaterialShader::RenderState::DirtyStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGMaterialShader_RenderState_DirtyStates, &a0, &a0State))
        {
            sipCpp->QSGMaterialShader::RenderState::DirtyStates::operator|=(*a0);
            sipReleaseType(a0,sipType_QSGMaterialShader_RenderState_DirtyStates,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QSGMaterialShader::RenderState::DirtyStates();

            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 124 "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 12791 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGMaterialShader_RenderState_DirtyStates[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___and__, and_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___xor__, xor_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___or__, or_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___int__, int_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___ixor__, ixor_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___ior__, ior_slot},
    {(void *)slot_QSGMaterialShader_RenderState_DirtyStates___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_DirtyStates, "\1QSGMaterialShader.RenderState.DirtyStates(QSGMaterialShader.RenderState.DirtyStates)\n"
    "QSGMaterialShader.RenderState.DirtyStates(int)\n"
    "QSGMaterialShader.RenderState.DirtyStates()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGMaterialShader_RenderState_DirtyStates = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialShader__RenderState__DirtyStates,
        {0}
    },
    {
        sipNameNr_DirtyStates,
        {49, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialShader_RenderState_DirtyStates,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGMaterialShader_RenderState_DirtyStates,
    convertTo_QSGMaterialShader_RenderState_DirtyStates,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 37 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 12875 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 12879 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 50 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 12882 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 12885 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 37 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 12890 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGMaterialShader_RenderState_dirtyStates, "QSGMaterialShader.RenderState.dirtyStates() -> 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, "QSGMaterialShader.RenderState.isMatrixDirty() -> 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, "QSGMaterialShader.RenderState.isOpacityDirty() -> 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, "QSGMaterialShader.RenderState.opacity() -> 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, "QSGMaterialShader.RenderState.combinedMatrix() -> 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, "QSGMaterialShader.RenderState.modelViewMatrix() -> 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, "QSGMaterialShader.RenderState.viewportRect() -> 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, "QSGMaterialShader.RenderState.deviceRect() -> 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, "QSGMaterialShader.RenderState.determinant() -> 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, "QSGMaterialShader.RenderState.context() -> 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, "QSGMaterialShader.RenderState.projectionMatrix() -> 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, "QSGMaterialShader.RenderState.devicePixelRatio() -> 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;
}


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

    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 (sipIsPyOwned(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_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_DirtyMatrix, static_cast<int>(QSGMaterialShader::RenderState::DirtyMatrix), 50},
    {sipName_DirtyOpacity, static_cast<int>(QSGMaterialShader::RenderState::DirtyOpacity), 50},
};

PyDoc_STRVAR(doc_QSGMaterialShader_RenderState, "\1QSGMaterialShader.RenderState()\n"
    "QSGMaterialShader.RenderState(QSGMaterialShader.RenderState)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGMaterialShader_RenderState = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialShader__RenderState,
        {0}
    },
    {
        sipNameNr_RenderState,
        {48, 255, 0},
        12, methods_QSGMaterialShader_RenderState,
        2, enummembers_QSGMaterialShader_RenderState,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialShader_RenderState,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGMaterialShader_RenderState,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 13377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 32 "sip/QtGui/qopenglshaderprogram.sip"
#include <qopenglshaderprogram.h>
#line 13381 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13384 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13387 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 80 "sip/QtGui/qopenglshaderprogram.sip"
#include <qopenglshaderprogram.h>
#line 13390 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 37 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 13395 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 13398 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(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_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtQuick_6(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtQuick_6(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtQuick_7(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QSGMaterialShader::RenderState&,QSGMaterial*,QSGMaterial*);

    sipVH_QtQuick_8(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QSGMaterialShader.activate()");

extern "C" {static PyObject *meth_QSGMaterialShader_activate(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_activate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QSGMaterialShader.deactivate()");

extern "C" {static PyObject *meth_QSGMaterialShader_deactivate(PyObject *, PyObject *);}
static PyObject *meth_QSGMaterialShader_deactivate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QSGMaterialShader.updateState(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 || sipIsDerived((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, "QSGMaterialShader.attributeNames() -> list-of-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 73 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
        const char * const *names = sipCpp->attributeNames();
        
        SIP_SSIZE_T nr_names = 0;
        
        if (names)
            while (names[nr_names])
                ++nr_names;
            
        sipRes = PyList_New(nr_names);
            
        if (!sipRes)
            sipIsErr = 1;
        else
            for (SIP_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_SET_ITEM(sipRes, i, el);
            }
#line 13758 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGMaterialShader.program() -> 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, "QSGMaterialShader.compile()");

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 || sipIsDerived((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, "QSGMaterialShader.initialize()");

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 || sipIsDerived((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, "QSGMaterialShader.vertexShader() -> 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 || sipIsDerived((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 PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* 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, "QSGMaterialShader.fragmentShader() -> 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 || sipIsDerived((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 PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* 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, "QSGMaterialShader.setShaderSourceFile(QOpenGLShader.ShaderType, 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, "QSGMaterialShader.setShaderSourceFiles(QOpenGLShader.ShaderType, list-of-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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSGMaterialShader *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGMaterialShader(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGMaterialShader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterialShader,
        {0}
    },
    {
        sipNameNr_QSGMaterialShader,
        {0, 0, 1},
        11, methods_QSGMaterialShader,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGMaterialShader,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    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,
    cast_QSGMaterialShader,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 14118 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"



PyDoc_STRVAR(doc_QSGGeometry_ColoredPoint2D_set, "QSGGeometry.ColoredPoint2D.set(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;
}


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

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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGGeometry_ColoredPoint2D = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__ColoredPoint2D,
        {0}
    },
    {
        sipNameNr_ColoredPoint2D,
        {37, 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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGGeometry_ColoredPoint2D,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 14499 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"



PyDoc_STRVAR(doc_QSGGeometry_TexturedPoint2D_set, "QSGGeometry.TexturedPoint2D.set(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;
}


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

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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGGeometry_TexturedPoint2D = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__TexturedPoint2D,
        {0}
    },
    {
        sipNameNr_TexturedPoint2D,
        {37, 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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGGeometry_TexturedPoint2D,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 14802 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"



PyDoc_STRVAR(doc_QSGGeometry_Point2D_set, "QSGGeometry.Point2D.set(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;
}


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

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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGGeometry_Point2D = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__Point2D,
        {0}
    },
    {
        sipNameNr_Point2D,
        {37, 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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGGeometry_Point2D,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#include <QVector>
#line 15044 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 55 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 15050 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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

    return NULL;
}


/* 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 (sipIsPyOwned(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 74 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 (SIP_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 " SIP_SSIZE_T_FORMAT " has type '%s' but 'QSGGeometry.Attribute' is expected",
                                i, Py_TYPE(itm)->tp_name);
            
                        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 " SIP_SSIZE_T_FORMAT " 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_AS_STRING(bytes));
            
                            sipSelf->user = bytes;
                        }
                    }
                }
            }
#line 15236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 215 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
            sipPy = sipConvertToTypedArray((void *)sipCpp->attributes,
                    sipType_QSGGeometry_Attribute, "iiiI", sizeof (QSGGeometry::Attribute),
                    sipCpp->count, SIP_READ_ONLY);
#line 15267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
            sipErr = 1;
            PyErr_SetString(PyExc_ValueError, "array is read-only");
#line 15281 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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(sequence-of-QSGGeometry.Attribute, int stride=0)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGGeometry_AttributeSet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__AttributeSet,
        {0}
    },
    {
        sipNameNr_AttributeSet,
        {37, 255, 0},
        0, 0,
        0, 0,
        3, variables_QSGGeometry_AttributeSet,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry_AttributeSet,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGGeometry_AttributeSet,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 55 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 15412 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"



PyDoc_STRVAR(doc_QSGGeometry_Attribute_create, "QSGGeometry.Attribute.create(int, int, int, bool isPosition=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;
}


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

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


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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGGeometry_Attribute = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry__Attribute,
        {0}
    },
    {
        sipNameNr_Attribute,
        {37, 255, 0},
        1, methods_QSGGeometry_Attribute,
        0, 0,
        4, variables_QSGGeometry_Attribute,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry_Attribute,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGGeometry_Attribute,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 15720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
#include <qsggeometry.h>
#include <QVector>
#line 15727 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 15730 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QSGGeometry_defaultAttributes_Point2D, "QSGGeometry.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, "QSGGeometry.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, "QSGGeometry.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, "QSGGeometry.setDrawingMode(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, "QSGGeometry.drawingMode() -> 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, "QSGGeometry.allocate(int, int indexCount=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, "QSGGeometry.vertexCount() -> 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, "QSGGeometry.vertexData() -> 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, "QSGGeometry.indexType() -> 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, "QSGGeometry.indexCount() -> 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, "QSGGeometry.indexData() -> 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, "QSGGeometry.attributeCount() -> 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, "QSGGeometry.attributes() -> read-only-array-of-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 292 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray((void *)sipCpp->attributes(),
                sipType_QSGGeometry_Attribute, "iiiI", sizeof (QSGGeometry::Attribute),
                sipCpp->attributeCount(), SIP_READ_ONLY);
#line 16104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometry.sizeOfVertex() -> 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, "QSGGeometry.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, "QSGGeometry.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, "QSGGeometry.setIndexDataPattern(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, "QSGGeometry.indexDataPattern() -> 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, "QSGGeometry.setVertexDataPattern(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, "QSGGeometry.vertexDataPattern() -> 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, "QSGGeometry.markIndexDataDirty()");

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, "QSGGeometry.markVertexDataDirty()");

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, "QSGGeometry.lineWidth() -> 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, "QSGGeometry.setLineWidth(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, "QSGGeometry.indexDataAsUInt() -> array-of-unsigned-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 310 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToArray(sipCpp->indexDataAsUInt(), "I",
                sipCpp->indexCount(), 0);
#line 16430 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometry.indexDataAsUShort() -> array-of-unsigned-short");

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 316 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToArray(sipCpp->indexDataAsUShort(), "H",
                sipCpp->indexCount(), 0);
#line 16460 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometry.vertexDataAsPoint2D() -> array-of-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 322 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsPoint2D(),
                sipType_QSGGeometry_Point2D, "ff", sizeof (QSGGeometry::Point2D),
                sipCpp->vertexCount(), 0);
#line 16491 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometry.vertexDataAsTexturedPoint2D() -> array-of-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 329 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsTexturedPoint2D(),
                sipType_QSGGeometry_TexturedPoint2D, "ffff",
                sizeof (QSGGeometry::TexturedPoint2D), sipCpp->vertexCount(), 0);
#line 16522 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometry.vertexDataAsColoredPoint2D() -> array-of-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 336 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsggeometry.sip"
        sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsColoredPoint2D(),
                sipType_QSGGeometry_ColoredPoint2D, "ffbbbb",
                sizeof (QSGGeometry::ColoredPoint2D), sipCpp->vertexCount(), 0);
#line 16553 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGGeometry.sizeOfIndex() -> 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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSGGeometry *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGGeometry(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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_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), 41},
    {sipName_DynamicPattern, static_cast<int>(QSGGeometry::DynamicPattern), 41},
    {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_StaticPattern, static_cast<int>(QSGGeometry::StaticPattern), 41},
    {sipName_StreamPattern, static_cast<int>(QSGGeometry::StreamPattern), 41},
};

PyDoc_STRVAR(doc_QSGGeometry, "\1QSGGeometry(QSGGeometry.AttributeSet, int, int indexCount=0, int indexType=GL_UNSIGNED_SHORT)\n"
    "QSGGeometry(QSGGeometry)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGGeometry = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGGeometry,
        {0}
    },
    {
        sipNameNr_QSGGeometry,
        {0, 0, 1},
        30, methods_QSGGeometry,
        15, enummembers_QSGGeometry,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGGeometry,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QSGGeometry,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgflatcolormaterial.sip"
#include <qsgflatcolormaterial.h>
#line 16788 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16792 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 16795 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16798 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16801 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 16804 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    int compare(const QSGMaterial*) const;
    QSGMaterialShader* createShader() const;
    QSGMaterialType* type() 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()
{
    sipCommonDtor(sipPySelf);
}

int sipQSGFlatColorMaterial::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 QSGFlatColorMaterial::compare(a0);

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

    return sipVH_QtQuick_2(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_0(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    extern QSGMaterialType* sipVH_QtQuick_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_1(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGFlatColorMaterial_type, "QSGFlatColorMaterial.type() -> 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 || sipIsDerived((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, "QSGFlatColorMaterial.createShader() -> 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 || sipIsDerived((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, "QSGFlatColorMaterial.setColor(QColor)");

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, "QSGFlatColorMaterial.color() -> 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, "QSGFlatColorMaterial.compare(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QSGFlatColorMaterial(void *, const sipTypeDef *);}
static void *cast_QSGFlatColorMaterial(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGFlatColorMaterial)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSGMaterial)->ctd_cast((QSGMaterial *)(QSGFlatColorMaterial *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGFlatColorMaterial(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{45, 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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGFlatColorMaterial = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGFlatColorMaterial,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17165 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17168 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 195 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgmaterial.sip"
#include <qsgmaterial.h>
#line 17171 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(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_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QSGMaterial*);

    return sipVH_QtQuick_2(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_0(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_1(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSGMaterial_type, "QSGMaterial.type() -> 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, "QSGMaterial.createShader() -> 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, "QSGMaterial.compare(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 || sipIsDerived((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, "QSGMaterial.flags() -> 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, "QSGMaterial.setFlag(QSGMaterial.Flags, bool enabled=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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSGMaterial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGMaterial(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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), 46},
    {sipName_CustomCompileStep, static_cast<int>(QSGMaterial::CustomCompileStep), 46},
    {sipName_RequiresDeterminant, static_cast<int>(QSGMaterial::RequiresDeterminant), 46},
    {sipName_RequiresFullMatrix, static_cast<int>(QSGMaterial::RequiresFullMatrix), 46},
    {sipName_RequiresFullMatrixExceptTranslate, static_cast<int>(QSGMaterial::RequiresFullMatrixExceptTranslate), 46},
};

PyDoc_STRVAR(doc_QSGMaterial, "\1QSGMaterial()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGMaterial = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGMaterial,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -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,
    cast_QSGMaterial,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 17545 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 17549 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGEngine::CreateTextureOptions::Int() != 0);
#line 17567 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGEngine::CreateTextureOptions::Int() != a0->operator QSGEngine::CreateTextureOptions::Int());
#line 17597 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGEngine::CreateTextureOptions::Int() == a0->operator QSGEngine::CreateTextureOptions::Int());
#line 17633 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        QSGEngine::CreateTextureOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, sipType_QSGEngine_CreateTextureOptions, &a1, &a1State))
        {
            QSGEngine::CreateTextureOptions*sipRes;

            sipRes = new QSGEngine::CreateTextureOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);
            sipReleaseType(a1,sipType_QSGEngine_CreateTextureOptions,a1State);

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

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, &a1))
        {
            QSGEngine::CreateTextureOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSGEngine::CreateTextureOptions(*a0 ^ a1);
#line 17736 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGEngine_CreateTextureOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        QSGEngine::CreateTextureOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, sipType_QSGEngine_CreateTextureOptions, &a1, &a1State))
        {
            QSGEngine::CreateTextureOptions*sipRes;

            sipRes = new QSGEngine::CreateTextureOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);
            sipReleaseType(a1,sipType_QSGEngine_CreateTextureOptions,a1State);

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

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, &a1))
        {
            QSGEngine::CreateTextureOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGEngine::CreateTextureOptions(*a0 | a1);
#line 17786 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State))
        {
            sipCpp->QSGEngine::CreateTextureOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State))
        {
            sipCpp->QSGEngine::CreateTextureOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 18063 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGEngine_CreateTextureOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___and__, and_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___xor__, xor_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___or__, or_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___int__, int_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___ixor__, ixor_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___ior__, ior_slot},
    {(void *)slot_QSGEngine_CreateTextureOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGEngine_CreateTextureOptions, "\1QSGEngine.CreateTextureOptions(QSGEngine.CreateTextureOptions)\n"
    "QSGEngine.CreateTextureOptions(int)\n"
    "QSGEngine.CreateTextureOptions()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGEngine_CreateTextureOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGEngine__CreateTextureOptions,
        {0}
    },
    {
        sipNameNr_CreateTextureOptions,
        {33, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGEngine_CreateTextureOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGEngine_CreateTextureOptions,
    convertTo_QSGEngine_CreateTextureOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 18145 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18149 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 18152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 18155 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgengine.sip"
#include <qsgengine.h>
#line 18158 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 18161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 18164 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 50 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 18167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 18170 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18173 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18176 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18179 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18182 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18185 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 18188 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18191 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 18194 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18197 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 18200 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18203 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18206 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 18209 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18212 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSGEngine::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QSGEngine);
}

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

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QSGEngine.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 18500 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGEngine.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 18559 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QSGEngine.timerEvent(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 || sipIsDerived((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, "QSGEngine.childEvent(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 || sipIsDerived((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, "QSGEngine.customEvent(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 || sipIsDerived((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, "QSGEngine.connectNotify(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 || sipIsDerived((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, "QSGEngine.disconnectNotify(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 || sipIsDerived((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, "QSGEngine.senderSignalIndex() -> 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, "QSGEngine.isSignalConnected(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, "QSGEngine.initialize(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, "QSGEngine.invalidate()");

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, "QSGEngine.createRenderer() -> 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, "QSGEngine.createTextureFromImage(QImage, QSGEngine.CreateTextureOptions options=(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, "QSGEngine.createTextureFromId(int, QSize, QSGEngine.CreateTextureOptions options=(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;
}


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

    if (targetType == sipType_QSGEngine)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSGEngine *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QSGEngine(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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_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_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), 34},
    {sipName_TextureHasAlphaChannel, static_cast<int>(QSGEngine::TextureHasAlphaChannel), 34},
    {sipName_TextureOwnsGLTexture, static_cast<int>(QSGEngine::TextureOwnsGLTexture), 34},
};

PyDoc_STRVAR(doc_QSGEngine, "\1QSGEngine(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGEngine,
        {0}
    },
    {
        sipNameNr_QSGEngine,
        {0, 0, 1},
        14, methods_QSGEngine,
        3, 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
},
    &QSGEngine::staticMetaObject,
    0,
    0,
    0
};

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 19086 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 19090 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGAbstractRenderer::ClearMode::Int() != 0);
#line 19108 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGAbstractRenderer::ClearMode::Int() != a0->operator QSGAbstractRenderer::ClearMode::Int());
#line 19138 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSGAbstractRenderer::ClearMode::Int() == a0->operator QSGAbstractRenderer::ClearMode::Int());
#line 19174 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State, &a1))
        {
            QSGAbstractRenderer::ClearMode*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSGAbstractRenderer::ClearMode(*a0 ^ a1);
#line 19277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QSGAbstractRenderer_ClearMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State, &a1))
        {
            QSGAbstractRenderer::ClearMode*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGAbstractRenderer::ClearMode(*a0 | a1);
#line 19327 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State))
        {
            sipCpp->QSGAbstractRenderer::ClearMode::operator^=(*a0);
            sipReleaseType(a0,sipType_QSGAbstractRenderer_ClearMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QSGAbstractRenderer::ClearMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSGAbstractRenderer_ClearMode, &a0, &a0State))
        {
            sipCpp->QSGAbstractRenderer::ClearMode::operator|=(*a0);
            sipReleaseType(a0,sipType_QSGAbstractRenderer_ClearMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 19604 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSGAbstractRenderer_ClearMode[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___and__, and_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___xor__, xor_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___or__, or_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___int__, int_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___ixor__, ixor_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___ior__, ior_slot},
    {(void *)slot_QSGAbstractRenderer_ClearMode___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSGAbstractRenderer_ClearMode, "\1QSGAbstractRenderer.ClearMode(QSGAbstractRenderer.ClearMode)\n"
    "QSGAbstractRenderer.ClearMode(int)\n"
    "QSGAbstractRenderer.ClearMode()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGAbstractRenderer_ClearMode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGAbstractRenderer__ClearMode,
        {0}
    },
    {
        sipNameNr_ClearMode,
        {27, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSGAbstractRenderer_ClearMode,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QSGAbstractRenderer_ClearMode,
    convertTo_QSGAbstractRenderer_ClearMode,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 19686 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 34 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgabstractrenderer.sip"
#include <qsgabstractrenderer.h>
#line 19690 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 19693 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 19696 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 19699 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 19702 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 19705 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 19708 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19711 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 19720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19723 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19726 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 19729 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19732 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 19735 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19738 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 19741 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19744 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19747 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 19750 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19753 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QSGAbstractRenderer_setDeviceRect, "QSGAbstractRenderer.setDeviceRect(QRect)\n"
    "QSGAbstractRenderer.setDeviceRect(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, "QSGAbstractRenderer.deviceRect() -> 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, "QSGAbstractRenderer.setViewportRect(QRect)\n"
    "QSGAbstractRenderer.setViewportRect(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, "QSGAbstractRenderer.viewportRect() -> 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, "QSGAbstractRenderer.setProjectionMatrixToRect(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, "QSGAbstractRenderer.setProjectionMatrix(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, "QSGAbstractRenderer.projectionMatrix() -> 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, "QSGAbstractRenderer.setClearColor(QColor)");

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, "QSGAbstractRenderer.clearColor() -> 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, "QSGAbstractRenderer.setClearMode(QSGAbstractRenderer.ClearMode)");

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, "QSGAbstractRenderer.clearMode() -> 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, "QSGAbstractRenderer.renderScene(int fboId=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 superclass hierarchy. */
extern "C" {static void *cast_QSGAbstractRenderer(void *, const sipTypeDef *);}
static void *cast_QSGAbstractRenderer(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSGAbstractRenderer)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSGAbstractRenderer *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QSGAbstractRenderer(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSGAbstractRenderer[] = {{162, 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), 29},
    {sipName_ClearDepthBuffer, static_cast<int>(QSGAbstractRenderer::ClearDepthBuffer), 29},
    {sipName_ClearStencilBuffer, static_cast<int>(QSGAbstractRenderer::ClearStencilBuffer), 29},
};


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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QSGAbstractRenderer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSGAbstractRenderer,
        {0}
    },
    {
        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
},
    &QSGAbstractRenderer::staticMetaObject,
    0,
    signals_QSGAbstractRenderer,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 20251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 20255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickWindow::CreateTextureOptions::Int() != 0);
#line 20273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickWindow::CreateTextureOptions::Int() != a0->operator QQuickWindow::CreateTextureOptions::Int());
#line 20303 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickWindow::CreateTextureOptions::Int() == a0->operator QQuickWindow::CreateTextureOptions::Int());
#line 20339 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;
        QQuickWindow::CreateTextureOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State, sipType_QQuickWindow_CreateTextureOptions, &a1, &a1State))
        {
            QQuickWindow::CreateTextureOptions*sipRes;

            sipRes = new QQuickWindow::CreateTextureOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QQuickWindow_CreateTextureOptions,a0State);
            sipReleaseType(a1,sipType_QQuickWindow_CreateTextureOptions,a1State);

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

    {
        QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State, &a1))
        {
            QQuickWindow::CreateTextureOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QQuickWindow::CreateTextureOptions(*a0 ^ a1);
#line 20442 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QQuickWindow_CreateTextureOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;
        QQuickWindow::CreateTextureOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State, sipType_QQuickWindow_CreateTextureOptions, &a1, &a1State))
        {
            QQuickWindow::CreateTextureOptions*sipRes;

            sipRes = new QQuickWindow::CreateTextureOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QQuickWindow_CreateTextureOptions,a0State);
            sipReleaseType(a1,sipType_QQuickWindow_CreateTextureOptions,a1State);

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

    {
        QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State, &a1))
        {
            QQuickWindow::CreateTextureOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QQuickWindow::CreateTextureOptions(*a0 | a1);
#line 20492 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State))
        {
            sipCpp->QQuickWindow::CreateTextureOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QQuickWindow_CreateTextureOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QQuickWindow::CreateTextureOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickWindow_CreateTextureOptions, &a0, &a0State))
        {
            sipCpp->QQuickWindow::CreateTextureOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QQuickWindow_CreateTextureOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 20769 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QQuickWindow_CreateTextureOptions[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___and__, and_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___xor__, xor_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___or__, or_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___int__, int_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___ixor__, ixor_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___ior__, ior_slot},
    {(void *)slot_QQuickWindow_CreateTextureOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QQuickWindow_CreateTextureOptions, "\1QQuickWindow.CreateTextureOptions(QQuickWindow.CreateTextureOptions)\n"
    "QQuickWindow.CreateTextureOptions(int)\n"
    "QQuickWindow.CreateTextureOptions()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickWindow_CreateTextureOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickWindow__CreateTextureOptions,
        {0}
    },
    {
        sipNameNr_CreateTextureOptions,
        {22, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickWindow_CreateTextureOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QQuickWindow_CreateTextureOptions,
    convertTo_QQuickWindow_CreateTextureOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickview.sip"
#include <qquickview.h>
#line 20851 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 20855 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 60 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 20858 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 20861 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20864 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20867 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20870 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20873 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 20876 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 20879 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlerror.sip"
#include <qqmlerror.h>
#line 20882 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 20885 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtQml/qqmlcontext.sip"
#include <qqmlcontext.h>
#line 20888 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 20891 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 20894 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20897 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 50 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 20900 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20903 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20906 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20909 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20912 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20915 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 743 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20918 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 20921 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 20924 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 20927 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 20930 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 69 "sip/QtQml/qqmlincubator.sip"
#include <qqmlincubator.h>
#line 20933 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 20936 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 20939 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 20942 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 20945 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20948 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 686 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20951 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20954 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20957 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 20960 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 20963 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20966 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 20969 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20972 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 20975 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20978 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 20981 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurface.sip"
#include <qsurface.h>
#line 20984 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 20987 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20990 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20993 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 20996 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20999 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 21002 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 21005 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21008 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21011 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 21014 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21017 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void tabletEvent(QTabletEvent*);
    void touchEvent(QTouchEvent*);
    void moveEvent(QMoveEvent*);
    QSize size() const;
    QSurfaceFormat format() const;
    QSurface::SurfaceType surfaceType() const;
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    bool event(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void exposeEvent(QExposeEvent*);
    QObject* focusObject() const;
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void timerEvent(QTimerEvent*);
    void resizeEvent(QResizeEvent*);

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

const QMetaObject *sipQQuickView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickView);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickView::touchEvent(QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickView::touchEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTouchEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQQuickView::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickView::size();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSurfaceFormat sipQQuickView::format() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickView::format();

    typedef QSurfaceFormat (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_13)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[13]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSurface::SurfaceType sipQQuickView::surfaceType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickView::surfaceType();

    typedef QSurface::SurfaceType (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_14)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[14]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickView::exposeEvent(QExposeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickView::exposeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QExposeEvent*);

    ((sipVH_QtGui_10)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[10]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQQuickView::focusObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickView::focusObject();

    typedef QObject* (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_11)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QQuickView.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 21787 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickView.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 21846 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickView.childEvent(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 || sipIsDerived((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, "QQuickView.customEvent(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 || sipIsDerived((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, "QQuickView.connectNotify(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 || sipIsDerived((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, "QQuickView.disconnectNotify(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 || sipIsDerived((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, "QQuickView.senderSignalIndex() -> 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, "QQuickView.isSignalConnected(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, "QQuickView.moveEvent(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 || sipIsDerived((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, "QQuickView.touchEvent(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 || sipIsDerived((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, "QQuickView.tabletEvent(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 || sipIsDerived((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, "QQuickView.exposeEvent(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 || sipIsDerived((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, "QQuickView.showEvent(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 || sipIsDerived((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, "QQuickView.hideEvent(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 || sipIsDerived((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, "QQuickView.focusInEvent(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 || sipIsDerived((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, "QQuickView.focusOutEvent(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 || sipIsDerived((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, "QQuickView.event(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 || sipIsDerived((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, "QQuickView.mouseDoubleClickEvent(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 || sipIsDerived((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, "QQuickView.wheelEvent(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 || sipIsDerived((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, "QQuickView.source() -> 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, "QQuickView.engine() -> 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, "QQuickView.rootContext() -> 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, "QQuickView.rootObject() -> 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, "QQuickView.resizeMode() -> 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, "QQuickView.setResizeMode(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, "QQuickView.status() -> 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, "QQuickView.errors() -> list-of-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, "QQuickView.initialSize() -> 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, "QQuickView.setSource(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, "QQuickView.resizeEvent(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 || sipIsDerived((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, "QQuickView.timerEvent(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 || sipIsDerived((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, "QQuickView.keyPressEvent(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 || sipIsDerived((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, "QQuickView.keyReleaseEvent(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 || sipIsDerived((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, "QQuickView.mousePressEvent(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 || sipIsDerived((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, "QQuickView.mouseReleaseEvent(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 || sipIsDerived((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, "QQuickView.mouseMoveEvent(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QQuickView(void *, const sipTypeDef *);}
static void *cast_QQuickView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QQuickView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QQuickWindow)->ctd_cast((QQuickWindow *)(QQuickView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


extern "C" {static void dealloc_QQuickView(sipSimpleWrapper *);}
static void dealloc_QQuickView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQQuickView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{22, 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), 21},
    {sipName_Loading, static_cast<int>(QQuickView::Loading), 21},
    {sipName_Null, static_cast<int>(QQuickView::Null), 21},
    {sipName_Ready, static_cast<int>(QQuickView::Ready), 21},
    {sipName_SizeRootObjectToView, static_cast<int>(QQuickView::SizeRootObjectToView), 20},
    {sipName_SizeViewToRootObject, static_cast<int>(QQuickView::SizeViewToRootObject), 20},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickView[] = {
    {"statusChanged(QQuickView::Status)", "\1QQuickView.statusChanged[QQuickView.Status]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QQuickView, "\1QQuickView(QWindow parent=None)\n"
    "QQuickView(QQmlEngine, QWindow)\n"
    "QQuickView(QUrl, QWindow parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickView,
        {0}
    },
    {
        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
},
    &QQuickView::staticMetaObject,
    0,
    signals_QQuickView,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 23033 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 23037 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 23040 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23043 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 50 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 23046 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23049 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23052 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23055 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23058 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23061 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23064 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23067 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23070 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 743 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23073 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 23076 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 23079 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 23082 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 23085 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 23088 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 69 "sip/QtQml/qqmlincubator.sip"
#include <qqmlincubator.h>
#line 23091 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 23094 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 23097 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 23103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 23106 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 686 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23112 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23115 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23118 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 23121 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 23124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 23127 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 23130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 23133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 23136 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 23142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qsurface.sip"
#include <qsurface.h>
#line 23145 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 23148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23151 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23154 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23160 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23163 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 23169 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23172 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 23178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23181 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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*);
    void tabletEvent(QTabletEvent*);
    void touchEvent(QTouchEvent*);
    void moveEvent(QMoveEvent*);
    QSize size() const;
    QSurfaceFormat format() const;
    QSurface::SurfaceType surfaceType() const;
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QResizeEvent*);
    void exposeEvent(QExposeEvent*);
    QObject* focusObject() const;

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

const QMetaObject *sipQQuickWindow::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickWindow);
}

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::touchEvent(QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickWindow::touchEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTouchEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQQuickWindow::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickWindow::size();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSurfaceFormat sipQQuickWindow::format() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickWindow::format();

    typedef QSurfaceFormat (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_13)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[13]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSurface::SurfaceType sipQQuickWindow::surfaceType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickWindow::surfaceType();

    typedef QSurface::SurfaceType (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_14)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[14]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickWindow::exposeEvent(QExposeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickWindow::exposeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QExposeEvent*);

    ((sipVH_QtGui_10)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[10]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQQuickWindow::focusObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickWindow::focusObject();

    typedef QObject* (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_11)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QQuickWindow.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 23939 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickWindow.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 23998 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickWindow.timerEvent(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 || sipIsDerived((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, "QQuickWindow.childEvent(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 || sipIsDerived((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, "QQuickWindow.customEvent(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 || sipIsDerived((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, "QQuickWindow.connectNotify(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 || sipIsDerived((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, "QQuickWindow.disconnectNotify(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 || sipIsDerived((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, "QQuickWindow.senderSignalIndex() -> 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, "QQuickWindow.isSignalConnected(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, "QQuickWindow.moveEvent(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 || sipIsDerived((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, "QQuickWindow.touchEvent(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 || sipIsDerived((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, "QQuickWindow.tabletEvent(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 || sipIsDerived((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, "QQuickWindow.contentItem() -> 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, "QQuickWindow.activeFocusItem() -> 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, "QQuickWindow.focusObject() -> 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 || sipIsDerived((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, "QQuickWindow.mouseGrabberItem() -> 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, "QQuickWindow.sendEvent(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, "QQuickWindow.grabWindow() -> 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;

            sipRes = new QImage(sipCpp->grabWindow());

            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, "QQuickWindow.setRenderTarget(QOpenGLFramebufferObject)\n"
    "QQuickWindow.setRenderTarget(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, "QQuickWindow.renderTarget() -> 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, "QQuickWindow.renderTargetId() -> 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, "QQuickWindow.renderTargetSize() -> 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, "QQuickWindow.incubationController() -> 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, "QQuickWindow.createTextureFromImage(QImage) -> QSGTexture\n"
    "QQuickWindow.createTextureFromImage(QImage, QQuickWindow.CreateTextureOptions) -> 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, "QQuickWindow.createTextureFromId(int, QSize, QQuickWindow.CreateTextureOptions options=(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, "QQuickWindow.setClearBeforeRendering(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, "QQuickWindow.clearBeforeRendering() -> 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, "QQuickWindow.setColor(QColor)");

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, "QQuickWindow.color() -> 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, "QQuickWindow.setPersistentOpenGLContext(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, "QQuickWindow.isPersistentOpenGLContext() -> 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, "QQuickWindow.setPersistentSceneGraph(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, "QQuickWindow.isPersistentSceneGraph() -> 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, "QQuickWindow.openglContext() -> 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, "QQuickWindow.update()");

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, "QQuickWindow.releaseResources()");

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, "QQuickWindow.exposeEvent(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 || sipIsDerived((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, "QQuickWindow.resizeEvent(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 || sipIsDerived((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, "QQuickWindow.showEvent(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 || sipIsDerived((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, "QQuickWindow.hideEvent(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 || sipIsDerived((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, "QQuickWindow.focusInEvent(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 || sipIsDerived((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, "QQuickWindow.focusOutEvent(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 || sipIsDerived((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, "QQuickWindow.event(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 || sipIsDerived((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, "QQuickWindow.keyPressEvent(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 || sipIsDerived((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, "QQuickWindow.keyReleaseEvent(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 || sipIsDerived((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, "QQuickWindow.mousePressEvent(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 || sipIsDerived((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, "QQuickWindow.mouseReleaseEvent(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 || sipIsDerived((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, "QQuickWindow.mouseDoubleClickEvent(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 || sipIsDerived((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, "QQuickWindow.mouseMoveEvent(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 || sipIsDerived((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, "QQuickWindow.wheelEvent(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 || sipIsDerived((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, "QQuickWindow.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, "QQuickWindow.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, "QQuickWindow.resetOpenGLState()");

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, "QQuickWindow.scheduleRenderJob(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))
        {
            sipCpp->scheduleRenderJob(a0,a1);

            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, "QQuickWindow.effectiveDevicePixelRatio() -> 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;
}


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

    if (targetType == sipType_QQuickWindow)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWindow)->ctd_cast((QWindow *)(QQuickWindow *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


extern "C" {static void dealloc_QQuickWindow(sipSimpleWrapper *);}
static void dealloc_QQuickWindow(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQQuickWindow *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickWindow(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{362, 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_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_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_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_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_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), 25},
    {sipName_AfterSwapStage, static_cast<int>(QQuickWindow::AfterSwapStage), 25},
    {sipName_AfterSynchronizingStage, static_cast<int>(QQuickWindow::AfterSynchronizingStage), 25},
    {sipName_BeforeRenderingStage, static_cast<int>(QQuickWindow::BeforeRenderingStage), 25},
    {sipName_BeforeSynchronizingStage, static_cast<int>(QQuickWindow::BeforeSynchronizingStage), 25},
    {sipName_ContextNotAvailable, static_cast<int>(QQuickWindow::ContextNotAvailable), 26},
    {sipName_TextureCanUseAtlas, static_cast<int>(QQuickWindow::TextureCanUseAtlas), 23},
    {sipName_TextureHasAlphaChannel, static_cast<int>(QQuickWindow::TextureHasAlphaChannel), 23},
    {sipName_TextureHasMipmaps, static_cast<int>(QQuickWindow::TextureHasMipmaps), 23},
    {sipName_TextureOwnsGLTexture, static_cast<int>(QQuickWindow::TextureOwnsGLTexture), 23},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickWindow[] = {
    {"sceneGraphError(QQuickWindow::SceneGraphError,QString)", "\1QQuickWindow.sceneGraphError[QQuickWindow.SceneGraphError, str]", 0, 0},
    {"sceneGraphAboutToStop()", "\1QQuickWindow.sceneGraphAboutToStop", 0, 0},
    {"afterAnimating()", "\1QQuickWindow.afterAnimating", 0, 0},
    {"afterSynchronizing()", "\1QQuickWindow.afterSynchronizing", 0, 0},
    {"openglContextCreated(QOpenGLContext*)", "\1QQuickWindow.openglContextCreated[QOpenGLContext]", 0, 0},
    {"activeFocusItemChanged()", "\1QQuickWindow.activeFocusItemChanged", 0, 0},
    {"colorChanged(QColor)", "\1QQuickWindow.colorChanged[QColor]", 0, 0},
    {"afterRendering()", "\1QQuickWindow.afterRendering", 0, 0},
    {"beforeRendering()", "\1QQuickWindow.beforeRendering", 0, 0},
    {"beforeSynchronizing()", "\1QQuickWindow.beforeSynchronizing", 0, 0},
    {"sceneGraphInvalidated()", "\1QQuickWindow.sceneGraphInvalidated", 0, 0},
    {"sceneGraphInitialized()", "\1QQuickWindow.sceneGraphInitialized", 0, 0},
    {"frameSwapped()", "\1QQuickWindow.frameSwapped", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QQuickWindow, "\1QQuickWindow(QWindow parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickWindow = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickWindow,
        {0}
    },
    {
        sipNameNr_QQuickWindow,
        {0, 0, 1},
        55, methods_QQuickWindow,
        10, 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
},
    &QQuickWindow::staticMetaObject,
    0,
    signals_QQuickWindow,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquicktextdocument.sip"
#include <qquicktextdocument.h>
#line 25742 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 25746 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 25749 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 25752 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25755 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25758 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25761 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 25764 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 25767 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25770 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25773 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25776 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25779 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25782 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 25785 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25788 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25791 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 25794 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25797 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQQuickTextDocument::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickTextDocument);
}

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

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QQuickTextDocument.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 26085 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickTextDocument.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 26144 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickTextDocument.timerEvent(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 || sipIsDerived((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, "QQuickTextDocument.childEvent(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 || sipIsDerived((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, "QQuickTextDocument.customEvent(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 || sipIsDerived((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, "QQuickTextDocument.connectNotify(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 || sipIsDerived((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, "QQuickTextDocument.disconnectNotify(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 || sipIsDerived((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, "QQuickTextDocument.senderSignalIndex() -> 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, "QQuickTextDocument.isSignalConnected(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, "QQuickTextDocument.textDocument() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QQuickTextDocument(void *, const sipTypeDef *);}
static void *cast_QQuickTextDocument(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QQuickTextDocument)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QQuickTextDocument *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickTextDocument(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickTextDocument = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickTextDocument,
        {0}
    },
    {
        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
},
    &QQuickTextDocument::staticMetaObject,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickrendercontrol.sip"
#include <qquickrendercontrol.h>
#line 26528 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 26532 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 26535 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 26538 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 26541 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 26544 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 50 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 26547 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 26550 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26553 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26556 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26559 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 26562 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26565 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 26568 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26571 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 26574 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26577 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 26580 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26583 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26586 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 26589 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26592 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QWindow* renderWindow(QPoint*);

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

const QMetaObject *sipQQuickRenderControl::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickRenderControl);
}

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

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QWindow* sipQQuickRenderControl::renderWindow(QPoint*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickRenderControl::renderWindow(a0);

    extern QWindow* sipVH_QtQuick_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPoint*);

    return sipVH_QtQuick_10(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QQuickRenderControl.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 26896 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickRenderControl.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 26955 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickRenderControl.timerEvent(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 || sipIsDerived((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, "QQuickRenderControl.childEvent(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 || sipIsDerived((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, "QQuickRenderControl.customEvent(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 || sipIsDerived((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, "QQuickRenderControl.connectNotify(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 || sipIsDerived((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, "QQuickRenderControl.disconnectNotify(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 || sipIsDerived((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, "QQuickRenderControl.senderSignalIndex() -> 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, "QQuickRenderControl.isSignalConnected(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, "QQuickRenderControl.initialize(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, "QQuickRenderControl.invalidate()");

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, "QQuickRenderControl.polishItems()");

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, "QQuickRenderControl.render()");

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, "QQuickRenderControl.sync() -> 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, "QQuickRenderControl.grab() -> 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, "QQuickRenderControl.renderWindowFor(QQuickWindow, QPoint offset=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, "QQuickRenderControl.renderWindow(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 || sipIsDerived((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;
}


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

    if (targetType == sipType_QQuickRenderControl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QQuickRenderControl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickRenderControl(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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_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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickRenderControl[] = {
    {"sceneChanged()", "\1QQuickRenderControl.sceneChanged", 0, 0},
    {"renderRequested()", "\1QQuickRenderControl.renderRequested", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QQuickRenderControl, "\1QQuickRenderControl(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickRenderControl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickRenderControl,
        {0}
    },
    {
        sipNameNr_QQuickRenderControl,
        {0, 0, 1},
        17, 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
},
    &QQuickRenderControl::staticMetaObject,
    0,
    signals_QQuickRenderControl,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 27552 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 27556 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickPaintedItem::PerformanceHints::Int() != 0);
#line 27574 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickPaintedItem::PerformanceHints::Int() != a0->operator QQuickPaintedItem::PerformanceHints::Int());
#line 27604 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickPaintedItem::PerformanceHints::Int() == a0->operator QQuickPaintedItem::PerformanceHints::Int());
#line 27640 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State, &a1))
        {
            QQuickPaintedItem::PerformanceHints*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QQuickPaintedItem::PerformanceHints(*a0 ^ a1);
#line 27743 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QQuickPaintedItem_PerformanceHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State, &a1))
        {
            QQuickPaintedItem::PerformanceHints*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QQuickPaintedItem::PerformanceHints(*a0 | a1);
#line 27793 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State))
        {
            sipCpp->QQuickPaintedItem::PerformanceHints::operator^=(*a0);
            sipReleaseType(a0,sipType_QQuickPaintedItem_PerformanceHints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QQuickPaintedItem::PerformanceHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickPaintedItem_PerformanceHints, &a0, &a0State))
        {
            sipCpp->QQuickPaintedItem::PerformanceHints::operator|=(*a0);
            sipReleaseType(a0,sipType_QQuickPaintedItem_PerformanceHints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 28070 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QQuickPaintedItem_PerformanceHints[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___and__, and_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___xor__, xor_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___or__, or_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___int__, int_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___ixor__, ixor_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___ior__, ior_slot},
    {(void *)slot_QQuickPaintedItem_PerformanceHints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QQuickPaintedItem_PerformanceHints, "\1QQuickPaintedItem.PerformanceHints(QQuickPaintedItem.PerformanceHints)\n"
    "QQuickPaintedItem.PerformanceHints(int)\n"
    "QQuickPaintedItem.PerformanceHints()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickPaintedItem_PerformanceHints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickPaintedItem__PerformanceHints,
        {0}
    },
    {
        sipNameNr_PerformanceHints,
        {12, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickPaintedItem_PerformanceHints,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QQuickPaintedItem_PerformanceHints,
    convertTo_QQuickPaintedItem_PerformanceHints,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 28152 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 28156 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 28159 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 28162 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 28167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 28170 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 28173 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 28176 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 28179 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickpainteditem.sip"
#include <qquickpainteditem.h>
#line 28182 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 28185 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 28188 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 28191 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28194 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28197 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28200 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28203 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28206 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 232 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28209 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 686 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28212 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28215 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28230 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 63 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 28235 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 28238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 28244 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 28247 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 28250 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28253 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 28256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 28259 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 28262 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 28265 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28268 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28271 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 28274 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 28277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 28280 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 28283 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 28286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28289 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 28292 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 28295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 28298 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

sipQQuickPaintedItem::sipQQuickPaintedItem(QQuickItem*a0): QQuickPaintedItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickPaintedItem::~sipQQuickPaintedItem()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQQuickPaintedItem::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickPaintedItem);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQQuickPaintedItem::updatePolish()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::updatePolish();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::geometryChanged(const QRectF& a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::geometryChanged(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&,const QRectF&);

    sipVH_QtQuick_14(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQQuickPaintedItem::childMouseEventFilter(QQuickItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickPaintedItem::childMouseEventFilter(a0,a1);

    extern bool sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QQuickItem*,QEvent*);

    return sipVH_QtQuick_15(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_QtQuick_16(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_17(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_18(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],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, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::hoverLeaveEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::hoverMoveEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::hoverEnterEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::touchEvent(QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::touchEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTouchEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::touchUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::touchUngrabEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::mouseUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::mouseUngrabEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_21(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::componentComplete();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::classBegin();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickPaintedItem::itemChange(QQuickItem::ItemChange a0,const QQuickItem::ItemChangeData& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::itemChange(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QQuickItem::ItemChange,const QQuickItem::ItemChangeData&);

    sipVH_QtQuick_22(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtQuick_23(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQQuickPaintedItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickPaintedItem::contains(a0);

    extern bool sipVH_QtQuick_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtQuick_24(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickPaintedItem::releaseResources()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickPaintedItem::releaseResources();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSGTextureProvider* sipQQuickPaintedItem::textureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickPaintedItem::textureProvider();

    extern QSGTextureProvider* sipVH_QtQuick_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_11(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQQuickPaintedItem::isTextureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickPaintedItem::isTextureProvider();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSGNode* sipQQuickPaintedItem::updatePaintNode(QSGNode*a0,QQuickItem::UpdatePaintNodeData*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickPaintedItem::updatePaintNode(a0,a1);

    extern QSGNode* sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSGNode*,QQuickItem::UpdatePaintNodeData*);

    return sipVH_QtQuick_12(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQQuickPaintedItem::paint(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,sipName_QQuickPaintedItem,sipName_paint);

    if (!sipMeth)
        return;

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

    sipVH_QtQuick_13(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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::sipProtectVirt_itemChange(bool sipSelfWasArg,QQuickItem::ItemChange a0,const QQuickItem::ItemChangeData& a1)
{
    (sipSelfWasArg ? QQuickItem::itemChange(a0,a1) : itemChange(a0,a1));
}

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


PyDoc_STRVAR(doc_QQuickPaintedItem_sender, "QQuickPaintedItem.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 29276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickPaintedItem.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 29335 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickPaintedItem.timerEvent(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 || sipIsDerived((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, "QQuickPaintedItem.childEvent(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 || sipIsDerived((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, "QQuickPaintedItem.customEvent(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 || sipIsDerived((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, "QQuickPaintedItem.connectNotify(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 || sipIsDerived((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, "QQuickPaintedItem.disconnectNotify(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 || sipIsDerived((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, "QQuickPaintedItem.senderSignalIndex() -> 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, "QQuickPaintedItem.isSignalConnected(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, "QQuickPaintedItem.event(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 || sipIsDerived((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, "QQuickPaintedItem.isComponentComplete() -> 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_itemChange, "QQuickPaintedItem.itemChange(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 || sipIsDerived((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_updateInputMethod, "QQuickPaintedItem.updateInputMethod(Qt.InputMethodQueries queries=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, "QQuickPaintedItem.widthValid() -> 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, "QQuickPaintedItem.heightValid() -> 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, "QQuickPaintedItem.classBegin()");

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 || sipIsDerived((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, "QQuickPaintedItem.componentComplete()");

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 || sipIsDerived((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, "QQuickPaintedItem.keyPressEvent(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 || sipIsDerived((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, "QQuickPaintedItem.keyReleaseEvent(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 || sipIsDerived((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, "QQuickPaintedItem.inputMethodEvent(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 || sipIsDerived((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, "QQuickPaintedItem.focusInEvent(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 || sipIsDerived((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, "QQuickPaintedItem.focusOutEvent(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 || sipIsDerived((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, "QQuickPaintedItem.mousePressEvent(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 || sipIsDerived((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, "QQuickPaintedItem.mouseMoveEvent(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 || sipIsDerived((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, "QQuickPaintedItem.mouseReleaseEvent(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 || sipIsDerived((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, "QQuickPaintedItem.mouseDoubleClickEvent(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 || sipIsDerived((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, "QQuickPaintedItem.mouseUngrabEvent()");

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 || sipIsDerived((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, "QQuickPaintedItem.touchUngrabEvent()");

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 || sipIsDerived((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, "QQuickPaintedItem.wheelEvent(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 || sipIsDerived((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, "QQuickPaintedItem.touchEvent(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 || sipIsDerived((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, "QQuickPaintedItem.hoverEnterEvent(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 || sipIsDerived((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, "QQuickPaintedItem.hoverMoveEvent(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 || sipIsDerived((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, "QQuickPaintedItem.hoverLeaveEvent(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 || sipIsDerived((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, "QQuickPaintedItem.dragEnterEvent(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 || sipIsDerived((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, "QQuickPaintedItem.dragMoveEvent(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 || sipIsDerived((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, "QQuickPaintedItem.dragLeaveEvent(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 || sipIsDerived((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, "QQuickPaintedItem.dropEvent(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 || sipIsDerived((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, "QQuickPaintedItem.childMouseEventFilter(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 || sipIsDerived((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, "QQuickPaintedItem.geometryChanged(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 || sipIsDerived((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, "QQuickPaintedItem.updatePolish()");

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 || sipIsDerived((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, "QQuickPaintedItem.update(QRect rect=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, "QQuickPaintedItem.opaquePainting() -> 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, "QQuickPaintedItem.setOpaquePainting(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, "QQuickPaintedItem.antialiasing() -> 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, "QQuickPaintedItem.setAntialiasing(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, "QQuickPaintedItem.mipmap() -> 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, "QQuickPaintedItem.setMipmap(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, "QQuickPaintedItem.performanceHints() -> 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, "QQuickPaintedItem.setPerformanceHint(QQuickPaintedItem.PerformanceHint, bool enabled=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, "QQuickPaintedItem.setPerformanceHints(QQuickPaintedItem.PerformanceHints)");

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, "QQuickPaintedItem.contentsBoundingRect() -> 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, "QQuickPaintedItem.contentsSize() -> 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, "QQuickPaintedItem.setContentsSize(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, "QQuickPaintedItem.resetContentsSize()");

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, "QQuickPaintedItem.contentsScale() -> 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, "QQuickPaintedItem.setContentsScale(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, "QQuickPaintedItem.fillColor() -> 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, "QQuickPaintedItem.setFillColor(QColor)");

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, "QQuickPaintedItem.renderTarget() -> 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, "QQuickPaintedItem.setRenderTarget(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, "QQuickPaintedItem.paint(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, "QQuickPaintedItem.updatePaintNode(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 || sipIsDerived((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, "QQuickPaintedItem.isTextureProvider() -> 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 || sipIsDerived((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, "QQuickPaintedItem.textureProvider() -> 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 || sipIsDerived((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, "QQuickPaintedItem.releaseResources()");

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


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

    if (targetType == sipType_QQuickPaintedItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QQuickItem)->ctd_cast((QQuickItem *)(QQuickPaintedItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickPaintedItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{4, 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, NULL},
    {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_textureProvider), meth_QQuickPaintedItem_textureProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QQuickPaintedItem_textureProvider)},
    {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), 13},
    {sipName_FramebufferObject, static_cast<int>(QQuickPaintedItem::FramebufferObject), 15},
    {sipName_Image, static_cast<int>(QQuickPaintedItem::Image), 15},
    {sipName_InvertedYFramebufferObject, static_cast<int>(QQuickPaintedItem::InvertedYFramebufferObject), 15},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickPaintedItem[] = {
    {"renderTargetChanged()", "\1QQuickPaintedItem.renderTargetChanged", 0, 0},
    {"contentsScaleChanged()", "\1QQuickPaintedItem.contentsScaleChanged", 0, 0},
    {"contentsSizeChanged()", "\1QQuickPaintedItem.contentsSizeChanged", 0, 0},
    {"fillColorChanged()", "\1QQuickPaintedItem.fillColorChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QQuickPaintedItem, "\1QQuickPaintedItem(QQuickItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickPaintedItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickPaintedItem,
        {0}
    },
    {
        sipNameNr_QQuickPaintedItem,
        {0, 0, 1},
        65, 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
},
    &QQuickPaintedItem::staticMetaObject,
    0,
    signals_QQuickPaintedItem,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 31340 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 31344 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31347 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 31350 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 31353 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 31356 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 31359 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31362 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31365 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 31383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31389 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 31392 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31395 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


PyDoc_STRVAR(doc_QQuickItemGrabResult_image, "QQuickItemGrabResult.image() -> 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, "QQuickItemGrabResult.url() -> 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, "QQuickItemGrabResult.saveToFile(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;
        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 superclass hierarchy. */
extern "C" {static void *cast_QQuickItemGrabResult(void *, const sipTypeDef *);}
static void *cast_QQuickItemGrabResult(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QQuickItemGrabResult)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QQuickItemGrabResult *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QQuickItemGrabResult(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuickItemGrabResult[] = {{162, 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()", "\1QQuickItemGrabResult.ready", 0, 0},
    {0, 0, 0, 0}
};


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickItemGrabResult = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickItemGrabResult,
        {0}
    },
    {
        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
},
    &QQuickItemGrabResult::staticMetaObject,
    0,
    signals_QQuickItemGrabResult,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 31597 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 323 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 31601 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_QQuickItem_UpdatePaintNodeData(sipGetAddress(sipSelf),0);
    }
}


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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickItem_UpdatePaintNodeData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem__UpdatePaintNodeData,
        {0}
    },
    {
        sipNameNr_UpdatePaintNodeData,
        {4, 255, 0},
        0, 0,
        0, 0,
        1, variables_QQuickItem_UpdatePaintNodeData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QQuickItem_UpdatePaintNodeData,
    0,
    0,
    0,
    release_QQuickItem_UpdatePaintNodeData,
    cast_QQuickItem_UpdatePaintNodeData,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 63 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 31726 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 31730 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 31733 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickItem_ItemChangeData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem__ItemChangeData,
        {0}
    },
    {
        sipNameNr_ItemChangeData,
        {4, 255, 0},
        0, 0,
        0, 0,
        4, variables_QQuickItem_ItemChangeData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickItem_ItemChangeData,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QQuickItem_ItemChangeData,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 32019 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 32023 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickItem::Flags::Int() != 0);
#line 32041 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickItem::Flags::Int() != a0->operator QQuickItem::Flags::Int());
#line 32071 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QQuickItem::Flags::Int() == a0->operator QQuickItem::Flags::Int());
#line 32107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QQuickItem::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickItem_Flags, &a0, &a0State, &a1))
        {
            QQuickItem::Flags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QQuickItem::Flags(*a0 ^ a1);
#line 32210 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QQuickItem_Flags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QQuickItem::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QQuickItem_Flags, &a0, &a0State, &a1))
        {
            QQuickItem::Flags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QQuickItem::Flags(*a0 | a1);
#line 32260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
            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___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;
}


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;

    {
        QQuickItem::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickItem_Flags, &a0, &a0State))
        {
            sipCpp->QQuickItem::Flags::operator^=(*a0);
            sipReleaseType(a0,sipType_QQuickItem_Flags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;

    {
        QQuickItem::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QQuickItem_Flags, &a0, &a0State))
        {
            sipCpp->QQuickItem::Flags::operator|=(*a0);
            sipReleaseType(a0,sipType_QQuickItem_Flags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_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;
}


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 32537 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QQuickItem_Flags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QQuickItem_Flags___and__, and_slot},
    {(void *)slot_QQuickItem_Flags___xor__, xor_slot},
    {(void *)slot_QQuickItem_Flags___or__, or_slot},
    {(void *)slot_QQuickItem_Flags___int__, int_slot},
    {(void *)slot_QQuickItem_Flags___ixor__, ixor_slot},
    {(void *)slot_QQuickItem_Flags___ior__, ior_slot},
    {(void *)slot_QQuickItem_Flags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QQuickItem_Flags, "\1QQuickItem.Flags(QQuickItem.Flags)\n"
    "QQuickItem.Flags(int)\n"
    "QQuickItem.Flags()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickItem_Flags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem__Flags,
        {0}
    },
    {
        sipNameNr_Flags,
        {4, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickItem_Flags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QQuickItem_Flags,
    convertTo_QQuickItem_Flags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 41 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 32619 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 32623 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtQml/qqmlengine.sip"
#include <qqmlengine.h>
#line 32626 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 32629 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 32632 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 32635 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 32638 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 32641 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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::Flags flags() const;
    QQmlImageProviderBase::ImageType imageType() 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()
{
    sipCommonDtor(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_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QSize*,const QSize&);

    return sipVH_QtQuick_25(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QSize*,const QSize&);

    return sipVH_QtQuick_26(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QSize*,const QSize&);

    return sipVH_QtQuick_27(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QQmlImageProviderBase::Flags sipQQuickImageProvider::flags() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickImageProvider::flags();

    typedef QQmlImageProviderBase::Flags (*sipVH_QtQml_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtQml_7)(sipModuleAPI_QtQuick_QtQml->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QQmlImageProviderBase::ImageType sipQQuickImageProvider::imageType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickImageProvider::imageType();

    typedef QQmlImageProviderBase::ImageType (*sipVH_QtQml_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtQml_8)(sipModuleAPI_QtQuick_QtQml->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QQuickImageProvider_imageType, "QQuickImageProvider.imageType() -> 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 || sipIsDerived((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, "QQuickImageProvider.flags() -> 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 || sipIsDerived((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, "QQuickImageProvider.requestImage(str, QSize) -> (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 || sipIsDerived((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, "QQuickImageProvider.requestPixmap(str, QSize) -> (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 || sipIsDerived((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, "QQuickImageProvider.requestTexture(str, QSize) -> (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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QQuickImageProvider(void *, const sipTypeDef *);}
static void *cast_QQuickImageProvider(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QQuickImageProvider)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QQmlImageProviderBase)->ctd_cast((QQmlImageProviderBase *)(QQuickImageProvider *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickImageProvider(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{20, 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, QQmlImageProviderBase.Flags flags=0)\n"
    "QQuickImageProvider(QQuickImageProvider)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickImageProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickImageProvider,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickimageprovider.sip"
#include <qquickimageprovider.h>
#line 33081 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 33085 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 33088 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtexture.sip"
#include <qsgtexture.h>
#line 33091 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 33094 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 33097 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33100 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33103 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33106 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33109 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33112 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33115 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33118 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33121 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33127 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33136 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 33139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QImage image() const;
    int textureByteCount() const;
    QSize textureSize() const;
    QSGTexture* createTexture(QQuickWindow*) const;

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

const QMetaObject *sipQQuickTextureFactory::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickTextureFactory);
}

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

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QImage sipQQuickTextureFactory::image() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickTextureFactory::image();

    extern QImage sipVH_QtQuick_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_28(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQQuickTextureFactory::textureByteCount() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return QSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSGTexture* sipQQuickTextureFactory::createTexture(QQuickWindow*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),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, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QQuickTextureFactory.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 33494 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickTextureFactory.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 33553 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickTextureFactory.timerEvent(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 || sipIsDerived((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, "QQuickTextureFactory.childEvent(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 || sipIsDerived((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, "QQuickTextureFactory.customEvent(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 || sipIsDerived((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, "QQuickTextureFactory.connectNotify(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 || sipIsDerived((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, "QQuickTextureFactory.disconnectNotify(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 || sipIsDerived((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, "QQuickTextureFactory.senderSignalIndex() -> 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, "QQuickTextureFactory.isSignalConnected(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, "QQuickTextureFactory.createTexture(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, "QQuickTextureFactory.textureSize() -> 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, "QQuickTextureFactory.textureByteCount() -> 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, "QQuickTextureFactory.image() -> 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 || sipIsDerived((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;
}


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

    if (targetType == sipType_QQuickTextureFactory)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QQuickTextureFactory *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickTextureFactory(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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_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()");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickTextureFactory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickTextureFactory,
        {0}
    },
    {
        sipNameNr_QQuickTextureFactory,
        {0, 0, 1},
        13, 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
},
    &QQuickTextureFactory::staticMetaObject,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 35 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 34044 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 28 "sip/QtGui/qopenglframebufferobject.sip"
#include <qopenglframebufferobject.h>
#line 34048 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 34051 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 34054 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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()
{
    sipCommonDtor(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_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QQuickFramebufferObject*);

    sipVH_QtQuick_31(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QSize&);

    return sipVH_QtQuick_32(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QQuickFramebufferObject.Renderer.render()");

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, "QQuickFramebufferObject.Renderer.createFramebufferObject(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 || sipIsDerived((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, "QQuickFramebufferObject.Renderer.synchronize(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 || sipIsDerived((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, "QQuickFramebufferObject.Renderer.framebufferObject() -> 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, "QQuickFramebufferObject.Renderer.update()");

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, "QQuickFramebufferObject.Renderer.invalidateFramebufferObject()");

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


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQQuickFramebufferObject_Renderer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickFramebufferObject_Renderer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickFramebufferObject_Renderer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickFramebufferObject__Renderer,
        {0}
    },
    {
        sipNameNr_Renderer,
        {1, 255, 0},
        6, methods_QQuickFramebufferObject_Renderer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QQuickFramebufferObject_Renderer,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    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,
    cast_QQuickFramebufferObject_Renderer,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 34493 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34497 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 34500 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 34503 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34508 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 34511 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 35 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickframebufferobject.sip"
#include <qquickframebufferobject.h>
#line 34516 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 34519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 34522 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 34525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34528 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34531 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34534 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34537 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34540 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 232 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34543 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 686 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34549 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34552 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34555 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34558 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 34561 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34564 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 63 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34569 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34572 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34578 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 34581 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34584 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34587 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 34590 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34593 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34596 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 34599 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34605 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 34608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34611 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34614 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34617 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 34620 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34623 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34626 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 34629 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34632 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"


class sipQQuickFramebufferObject : public QQuickFramebufferObject
{
public:
    sipQQuickFramebufferObject(QQuickItem*);
    virtual ~sipQQuickFramebufferObject();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtect_isComponentComplete() const;
    void sipProtectVirt_itemChange(bool,QQuickItem::ItemChange,const QQuickItem::ItemChangeData&);
    void sipProtect_updateInputMethod(Qt::InputMethodQueries);
    bool sipProtect_widthValid() const;
    bool sipProtect_heightValid() const;
    void sipProtectVirt_classBegin(bool);
    void sipProtectVirt_componentComplete(bool);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseUngrabEvent(bool);
    void sipProtectVirt_touchUngrabEvent(bool);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_touchEvent(bool,QTouchEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QHoverEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    bool sipProtectVirt_childMouseEventFilter(bool,QQuickItem*,QEvent*);
    void sipProtectVirt_updatePolish(bool);
    void sipProtectVirt_geometryChanged(bool,const QRectF&,const QRectF&);
    QSGNode* sipProtectVirt_updatePaintNode(bool,QSGNode*,QQuickItem::UpdatePaintNodeData*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updatePolish();
    bool childMouseEventFilter(QQuickItem*,QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void hoverLeaveEvent(QHoverEvent*);
    void hoverMoveEvent(QHoverEvent*);
    void hoverEnterEvent(QHoverEvent*);
    void touchEvent(QTouchEvent*);
    void wheelEvent(QWheelEvent*);
    void touchUngrabEvent();
    void mouseUngrabEvent();
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void inputMethodEvent(QInputMethodEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void componentComplete();
    void classBegin();
    void itemChange(QQuickItem::ItemChange,const QQuickItem::ItemChangeData&);
    bool event(QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool contains(const QPointF&) const;
    void releaseResources();
    QSGTextureProvider* textureProvider() const;
    bool isTextureProvider() const;
    QSGNode* updatePaintNode(QSGNode*,QQuickItem::UpdatePaintNodeData*);
    void geometryChanged(const QRectF&,const QRectF&);
    QQuickFramebufferObject::Renderer* createRenderer() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[40];
};

sipQQuickFramebufferObject::sipQQuickFramebufferObject(QQuickItem*a0): QQuickFramebufferObject(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickFramebufferObject::~sipQQuickFramebufferObject()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQQuickFramebufferObject::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickFramebufferObject);
}

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

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQQuickFramebufferObject::updatePolish()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::updatePolish();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQQuickFramebufferObject::childMouseEventFilter(QQuickItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickFramebufferObject::childMouseEventFilter(a0,a1);

    extern bool sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QQuickItem*,QEvent*);

    return sipVH_QtQuick_15(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_QtQuick_16(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_17(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_18(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],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, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::hoverLeaveEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::hoverMoveEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::hoverEnterEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::touchEvent(QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::touchEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTouchEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::touchUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::touchUngrabEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::mouseUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::mouseUngrabEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_21(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::componentComplete();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::classBegin();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickFramebufferObject::itemChange(QQuickItem::ItemChange a0,const QQuickItem::ItemChangeData& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::itemChange(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QQuickItem::ItemChange,const QQuickItem::ItemChangeData&);

    sipVH_QtQuick_22(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtQuick_23(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQQuickFramebufferObject::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickFramebufferObject::contains(a0);

    extern bool sipVH_QtQuick_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtQuick_24(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickFramebufferObject::releaseResources()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::releaseResources();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSGTextureProvider* sipQQuickFramebufferObject::textureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickFramebufferObject::textureProvider();

    extern QSGTextureProvider* sipVH_QtQuick_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_11(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQQuickFramebufferObject::isTextureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickFramebufferObject::isTextureProvider();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSGNode*,QQuickItem::UpdatePaintNodeData*);

    return sipVH_QtQuick_12(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQQuickFramebufferObject::geometryChanged(const QRectF& a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickFramebufferObject::geometryChanged(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&,const QRectF&);

    sipVH_QtQuick_14(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QQuickFramebufferObject::Renderer* sipQQuickFramebufferObject::createRenderer() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,sipName_QQuickFramebufferObject,sipName_createRenderer);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtQuick_30(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QQuickFramebufferObject.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 35718 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickFramebufferObject.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 35777 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickFramebufferObject.timerEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.childEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.customEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.connectNotify(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 || sipIsDerived((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, "QQuickFramebufferObject.disconnectNotify(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 || sipIsDerived((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, "QQuickFramebufferObject.senderSignalIndex() -> 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, "QQuickFramebufferObject.isSignalConnected(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, "QQuickFramebufferObject.event(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 || sipIsDerived((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, "QQuickFramebufferObject.isComponentComplete() -> 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, "QQuickFramebufferObject.itemChange(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 || sipIsDerived((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, "QQuickFramebufferObject.updateInputMethod(Qt.InputMethodQueries queries=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, "QQuickFramebufferObject.widthValid() -> 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, "QQuickFramebufferObject.heightValid() -> 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, "QQuickFramebufferObject.classBegin()");

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 || sipIsDerived((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, "QQuickFramebufferObject.componentComplete()");

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 || sipIsDerived((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, "QQuickFramebufferObject.keyPressEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.keyReleaseEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.inputMethodEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.focusInEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.focusOutEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.mousePressEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.mouseMoveEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.mouseReleaseEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.mouseDoubleClickEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.mouseUngrabEvent()");

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 || sipIsDerived((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, "QQuickFramebufferObject.touchUngrabEvent()");

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 || sipIsDerived((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, "QQuickFramebufferObject.wheelEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.touchEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.hoverEnterEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.hoverMoveEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.hoverLeaveEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.dragEnterEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.dragMoveEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.dragLeaveEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.dropEvent(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 || sipIsDerived((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, "QQuickFramebufferObject.childMouseEventFilter(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 || sipIsDerived((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, "QQuickFramebufferObject.updatePolish()");

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 || sipIsDerived((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, "QQuickFramebufferObject.textureFollowsItemSize() -> 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, "QQuickFramebufferObject.setTextureFollowsItemSize(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, "QQuickFramebufferObject.createRenderer() -> 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, "QQuickFramebufferObject.geometryChanged(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 || sipIsDerived((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, "QQuickFramebufferObject.updatePaintNode(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 || sipIsDerived((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, "QQuickFramebufferObject.isTextureProvider() -> 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 || sipIsDerived((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, "QQuickFramebufferObject.textureProvider() -> 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 || sipIsDerived((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, "QQuickFramebufferObject.releaseResources()");

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


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

    if (targetType == sipType_QQuickFramebufferObject)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QQuickItem)->ctd_cast((QQuickItem *)(QQuickFramebufferObject *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickFramebufferObject(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{4, 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_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_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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickFramebufferObject[] = {
    {"textureFollowsItemSizeChanged(bool)", "\1QQuickFramebufferObject.textureFollowsItemSizeChanged[bool]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QQuickFramebufferObject, "\1QQuickFramebufferObject(QQuickItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickFramebufferObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickFramebufferObject,
        {0}
    },
    {
        sipNameNr_QQuickFramebufferObject,
        {0, 0, 1},
        47, 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
},
    &QQuickFramebufferObject::staticMetaObject,
    0,
    signals_QQuickFramebufferObject,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 37254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitemgrabresult.sip"
#include <qquickitemgrabresult.h>
#line 37258 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 37261 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickwindow.sip"
#include <qquickwindow.h>
#line 37264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgnode.sip"
#include <qsgnode.h>
#line 37267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 37272 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 37275 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37278 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37281 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37290 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 232 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 686 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37305 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 37311 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 63 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 37319 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qsgtextureprovider.sip"
#include <qsgtextureprovider.h>
#line 37322 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 37325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37328 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 37331 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 37334 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 37337 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37340 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/sip/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 37343 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 37346 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 37349 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 37352 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37355 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37358 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 37361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 37364 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 37367 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 37370 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 37373 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37376 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 37379 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 37382 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 37385 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/QtQuick/sipQtQuickpart0.cpp"

sipQQuickItem::sipQQuickItem(QQuickItem*a0): QQuickItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuickItem::~sipQQuickItem()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQQuickItem::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick_qt_metaobject(sipPySelf,sipType_QQuickItem);
}

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::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQQuickItem::updatePolish()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::updatePolish();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickItem::releaseResources()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::releaseResources();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSGNode* sipQQuickItem::updatePaintNode(QSGNode*a0,QQuickItem::UpdatePaintNodeData*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickItem::updatePaintNode(a0,a1);

    extern QSGNode* sipVH_QtQuick_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSGNode*,QQuickItem::UpdatePaintNodeData*);

    return sipVH_QtQuick_12(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQQuickItem::geometryChanged(const QRectF& a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::geometryChanged(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&,const QRectF&);

    sipVH_QtQuick_14(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQQuickItem::childMouseEventFilter(QQuickItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QQuickItem::childMouseEventFilter(a0,a1);

    extern bool sipVH_QtQuick_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QQuickItem*,QEvent*);

    return sipVH_QtQuick_15(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_QtQuick_16(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_17(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_18(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],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, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::hoverLeaveEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::hoverMoveEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::hoverEnterEvent(QHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtQuick_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHoverEvent*);

    sipVH_QtQuick_20(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::touchEvent(QTouchEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::touchEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTouchEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::touchUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::touchUngrabEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickItem::mouseUngrabEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QQuickItem::mouseUngrabEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtQuick_21(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QQuickItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QQuickItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtQuick_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQQuickItem::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_componentComplete);

    if (!sipMeth)
    {
        QQuickItem::componentComplete();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickItem::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_classBegin);

    if (!sipMeth)
    {
        QQuickItem::classBegin();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQQuickItem::itemChange(QQuickItem::ItemChange a0,const QQuickItem::ItemChangeData& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
    {
        QQuickItem::itemChange(a0,a1);
        return;
    }

    extern void sipVH_QtQuick_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QQuickItem::ItemChange,const QQuickItem::ItemChangeData&);

    sipVH_QtQuick_22(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQQuickItem::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QQuickItem::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSGTextureProvider* sipQQuickItem::textureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_textureProvider);

    if (!sipMeth)
        return QQuickItem::textureProvider();

    extern QSGTextureProvider* sipVH_QtQuick_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtQuick_11(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQQuickItem::isTextureProvider() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_isTextureProvider);

    if (!sipMeth)
        return QQuickItem::isTextureProvider();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtQuick_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQQuickItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QQuickItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtQuick_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtQuick_23(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQQuickItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QQuickItem::contains(a0);

    extern bool sipVH_QtQuick_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtQuick_24(sipGILState, sipModuleAPI_QtQuick_QtCore->em_virterrorhandlers[0], 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, "QQuickItem.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 38348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickItem.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 38407 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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, "QQuickItem.timerEvent(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 || sipIsDerived((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, "QQuickItem.childEvent(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 || sipIsDerived((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, "QQuickItem.customEvent(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 || sipIsDerived((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, "QQuickItem.connectNotify(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 || sipIsDerived((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, "QQuickItem.disconnectNotify(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 || sipIsDerived((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, "QQuickItem.senderSignalIndex() -> 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, "QQuickItem.isSignalConnected(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, "QQuickItem.window() -> 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, "QQuickItem.parentItem() -> 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, "QQuickItem.setParentItem(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, "QQuickItem.stackBefore(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, "QQuickItem.stackAfter(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, "QQuickItem.childrenRect() -> 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, "QQuickItem.childItems() -> list-of-QQuickItem");

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, "QQuickItem.clip() -> 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, "QQuickItem.setClip(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, "QQuickItem.state() -> 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, "QQuickItem.setState(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, "QQuickItem.baselineOffset() -> 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, "QQuickItem.setBaselineOffset(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, "QQuickItem.x() -> 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, "QQuickItem.y() -> 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, "QQuickItem.setX(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, "QQuickItem.setY(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, "QQuickItem.width() -> 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, "QQuickItem.setWidth(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, "QQuickItem.resetWidth()");

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, "QQuickItem.setImplicitWidth(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, "QQuickItem.implicitWidth() -> 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, "QQuickItem.height() -> 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, "QQuickItem.setHeight(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, "QQuickItem.resetHeight()");

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, "QQuickItem.setImplicitHeight(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, "QQuickItem.implicitHeight() -> 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, "QQuickItem.transformOrigin() -> 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, "QQuickItem.setTransformOrigin(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, "QQuickItem.z() -> 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, "QQuickItem.setZ(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, "QQuickItem.rotation() -> 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, "QQuickItem.setRotation(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, "QQuickItem.scale() -> 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, "QQuickItem.setScale(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, "QQuickItem.opacity() -> 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, "QQuickItem.setOpacity(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, "QQuickItem.isVisible() -> 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, "QQuickItem.setVisible(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, "QQuickItem.isEnabled() -> 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, "QQuickItem.setEnabled(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, "QQuickItem.smooth() -> 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, "QQuickItem.setSmooth(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, "QQuickItem.antialiasing() -> 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, "QQuickItem.setAntialiasing(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, "QQuickItem.flags() -> 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, "QQuickItem.setFlag(QQuickItem.Flag, bool enabled=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, "QQuickItem.setFlags(QQuickItem.Flags)");

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, "QQuickItem.hasActiveFocus() -> 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, "QQuickItem.hasFocus() -> 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, "QQuickItem.setFocus(bool)\n"
    "QQuickItem.setFocus(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, "QQuickItem.isFocusScope() -> 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, "QQuickItem.scopedFocusItem() -> 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, "QQuickItem.acceptedMouseButtons() -> 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, "QQuickItem.setAcceptedMouseButtons(Qt.MouseButtons)");

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, "QQuickItem.acceptHoverEvents() -> 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, "QQuickItem.setAcceptHoverEvents(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, "QQuickItem.cursor() -> 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, "QQuickItem.setCursor(QCursor)");

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, "QQuickItem.unsetCursor()");

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, "QQuickItem.grabMouse()");

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, "QQuickItem.ungrabMouse()");

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, "QQuickItem.keepMouseGrab() -> 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, "QQuickItem.setKeepMouseGrab(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, "QQuickItem.filtersChildMouseEvents() -> 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, "QQuickItem.setFiltersChildMouseEvents(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, "QQuickItem.grabTouchPoints(list-of-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, "QQuickItem.ungrabTouchPoints()");

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, "QQuickItem.keepTouchGrab() -> 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, "QQuickItem.setKeepTouchGrab(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, "QQuickItem.contains(QPointF) -> 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 || sipIsDerived((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, "QQuickItem.mapToItem(QQuickItem, QPointF) -> 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, "QQuickItem.mapToScene(QPointF) -> 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, "QQuickItem.mapRectToItem(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, "QQuickItem.mapRectToScene(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, "QQuickItem.mapFromItem(QQuickItem, QPointF) -> 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, "QQuickItem.mapFromScene(QPointF) -> 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, "QQuickItem.mapRectFromItem(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, "QQuickItem.mapRectFromScene(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, "QQuickItem.polish()");

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, "QQuickItem.forceActiveFocus()\n"
    "QQuickItem.forceActiveFocus(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, "QQuickItem.childAt(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, "QQuickItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QQuickItem_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QQuickItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QQuickItem.isTextureProvider() -> 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 || sipIsDerived((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, "QQuickItem.textureProvider() -> 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 || sipIsDerived((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, "QQuickItem.update()");

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, "QQuickItem.event(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 || sipIsDerived((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, "QQuickItem.isComponentComplete() -> 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, "QQuickItem.itemChange(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 || sipIsDerived((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, "QQuickItem.updateInputMethod(Qt.InputMethodQueries queries=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, "QQuickItem.widthValid() -> 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, "QQuickItem.heightValid() -> 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, "QQuickItem.classBegin()");

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 || sipIsDerived((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, "QQuickItem.componentComplete()");

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 || sipIsDerived((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, "QQuickItem.keyPressEvent(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 || sipIsDerived((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, "QQuickItem.keyReleaseEvent(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 || sipIsDerived((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, "QQuickItem.inputMethodEvent(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 || sipIsDerived((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, "QQuickItem.focusInEvent(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 || sipIsDerived((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, "QQuickItem.focusOutEvent(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 || sipIsDerived((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, "QQuickItem.mousePressEvent(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 || sipIsDerived((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, "QQuickItem.mouseMoveEvent(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 || sipIsDerived((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, "QQuickItem.mouseReleaseEvent(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 || sipIsDerived((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, "QQuickItem.mouseDoubleClickEvent(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 || sipIsDerived((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, "QQuickItem.mouseUngrabEvent()");

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 || sipIsDerived((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, "QQuickItem.touchUngrabEvent()");

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 || sipIsDerived((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, "QQuickItem.wheelEvent(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 || sipIsDerived((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, "QQuickItem.touchEvent(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 || sipIsDerived((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, "QQuickItem.hoverEnterEvent(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 || sipIsDerived((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, "QQuickItem.hoverMoveEvent(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 || sipIsDerived((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, "QQuickItem.hoverLeaveEvent(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 || sipIsDerived((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, "QQuickItem.dragEnterEvent(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 || sipIsDerived((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, "QQuickItem.dragMoveEvent(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 || sipIsDerived((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, "QQuickItem.dragLeaveEvent(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 || sipIsDerived((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, "QQuickItem.dropEvent(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 || sipIsDerived((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, "QQuickItem.childMouseEventFilter(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 || sipIsDerived((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, "QQuickItem.geometryChanged(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 || sipIsDerived((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, "QQuickItem.updatePaintNode(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 || sipIsDerived((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, "QQuickItem.releaseResources()");

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 || sipIsDerived((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, "QQuickItem.updatePolish()");

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 || sipIsDerived((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, "QQuickItem.activeFocusOnTab() -> 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, "QQuickItem.setActiveFocusOnTab(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, "QQuickItem.nextItemInFocusChain(bool forward=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, "QQuickItem.resetAntialiasing()");

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, "QQuickItem.grabToImage(QSize targetSize=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 257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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 42082 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.x86_64/build/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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QQuickItem(void *, const sipTypeDef *);}
static void *cast_QQuickItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QQuickItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QQuickItem *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QQmlParserStatus)->ctd_cast((QQmlParserStatus *)(QQuickItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQQuickItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QQuickItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 0, 0}, {31, 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_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_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_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), 9},
    {sipName_BottomLeft, static_cast<int>(QQuickItem::BottomLeft), 9},
    {sipName_BottomRight, static_cast<int>(QQuickItem::BottomRight), 9},
    {sipName_Center, static_cast<int>(QQuickItem::Center), 9},
    {sipName_ItemAcceptsDrops, static_cast<int>(QQuickItem::ItemAcceptsDrops), 5},
    {sipName_ItemAcceptsInputMethod, static_cast<int>(QQuickItem::ItemAcceptsInputMethod), 5},
    {sipName_ItemActiveFocusHasChanged, static_cast<int>(QQuickItem::ItemActiveFocusHasChanged), 7},
    {sipName_ItemAntialiasingHasChanged, static_cast<int>(QQuickItem::ItemAntialiasingHasChanged), 7},
    {sipName_ItemChildAddedChange, static_cast<int>(QQuickItem::ItemChildAddedChange), 7},
    {sipName_ItemChildRemovedChange, static_cast<int>(QQuickItem::ItemChildRemovedChange), 7},
    {sipName_ItemClipsChildrenToShape, static_cast<int>(QQuickItem::ItemClipsChildrenToShape), 5},
    {sipName_ItemHasContents, static_cast<int>(QQuickItem::ItemHasContents), 5},
    {sipName_ItemIsFocusScope, static_cast<int>(QQuickItem::ItemIsFocusScope), 5},
    {sipName_ItemOpacityHasChanged, static_cast<int>(QQuickItem::ItemOpacityHasChanged), 7},
    {sipName_ItemParentHasChanged, static_cast<int>(QQuickItem::ItemParentHasChanged), 7},
    {sipName_ItemRotationHasChanged, static_cast<int>(QQuickItem::ItemRotationHasChanged), 7},
    {sipName_ItemSceneChange, static_cast<int>(QQuickItem::ItemSceneChange), 7},
    {sipName_ItemVisibleHasChanged, static_cast<int>(QQuickItem::ItemVisibleHasChanged), 7},
    {sipName_Left, static_cast<int>(QQuickItem::Left), 9},
    {sipName_Right, static_cast<int>(QQuickItem::Right), 9},
    {sipName_Top, static_cast<int>(QQuickItem::Top), 9},
    {sipName_TopLeft, static_cast<int>(QQuickItem::TopLeft), 9},
    {sipName_TopRight, static_cast<int>(QQuickItem::TopRight), 9},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuickItem[] = {
    {"windowChanged(QQuickWindow*)", "\1QQuickItem.windowChanged[QQuickWindow]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QQuickItem, "\1QQuickItem(QQuickItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtQuick_QQuickItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQuickItem,
        {0}
    },
    {
        sipNameNr_QQuickItem,
        {0, 0, 1},
        133, methods_QQuickItem,
        23, 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
},
    &QQuickItem::staticMetaObject,
    0,
    signals_QQuickItem,
    0
};
